コード例 #1
0
ファイル: UEdge2i.cs プロジェクト: konsfik/Monte-Carlo-Elites
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + origin.GetHashCode() + exit.GetHashCode();
            return(hash);
        }
コード例 #2
0
ファイル: Rect2i.cs プロジェクト: konsfik/Monte-Carlo-Elites
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 31 + min_coords.GetHashCode();
            hash = hash * 31 + max_coords.GetHashCode();
            return(hash);
        }