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

        public bool Equals(WeightedEdge <object> other)
        {
            return(other.ToString() == this.ToString());
        }