Ejemplo n.º 1
0
 public bool Equals(GraphPath <TVertex, TEdge> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(AreEquals(other));
 }
Ejemplo n.º 2
0
 protected virtual bool AreEquals(GraphPath <TVertex, TEdge> other)
 {
     return(_vertices.SequenceEqual(other._vertices));
 }