public bool Equals(WeightedEdge <TVertex> other) { return(this.Source.ToString() == other.Source.ToString() && this.Target.ToString() == other.Target.ToString()); }
/// <summary> /// EXTENDED EDGE METHODS /// </summary> /// <param name="other"></param> /// <returns></returns> public bool Equals(WeightedEdge <object> other) { return(other.ToString() == this.ToString()); }