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