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

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