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