Beispiel #1
0
 public bool HasTwoWayConnectionWith(GraphVertex <T> other)
 {
     return(IsConnectedTo(other) && other.IsConnectedTo(this));
 }
Beispiel #2
0
 public bool HasEdge(GraphVertex <T> v1, GraphVertex <T> v2)
 {
     return(v1.IsConnectedTo(v2));
 }