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