Beispiel #1
0
 /// <summary>
 /// Override of GetHashCode Method
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(StartVertex.GetHashCode() ^ EndVertex.GetHashCode());
 }
Beispiel #2
0
 public override int GetHashCode() => StartVertex.GetHashCode() ^ EndVertex.GetHashCode() ^ Weight;