Exemplo n.º 1
0
 public override int GetHashCode()
 {
     return(CommonFunc.pairingFunction(this.source.GetHashCode(), this.target.GetHashCode()));
 }
Exemplo n.º 2
0
 public override string ToString()
 {
     return(CommonFunc.edgeToString(source.GetHashCode(), target.GetHashCode(), weight));
 }