示例#1
0
 public override int GetHashCode() => StartVertex.GetHashCode() ^ EndVertex.GetHashCode() ^ Weight;
示例#2
0
 /// <summary>
 /// Override of GetHashCode Method
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(StartVertex.GetHashCode() ^ EndVertex.GetHashCode());
 }
示例#3
0
 public override int GetHashCode()
 {
     return(31 + (IsPrimaryEdge ? 17 : -29)
            + 11 * EndVertex.GetHashCode());
 }