예제 #1
0
 public static object GetComponentSize(this IConnGraph graph, ConnVertex vertex)
 {
     return(graph.GetComponentInfo(vertex).size);
 }
예제 #2
0
 public static object GetComponentAugmentation(this IConnGraph graph, ConnVertex vertex)
 {
     return(graph.GetComponentInfo(vertex).augmentation);
 }
 public void Add(EulerTourVertex eulerVertex, ConnVertex vertex)
 {
     Add(eulerVertex.arbitraryVisit.Root(), vertex);
 }
 public virtual void Add(EulerTourNode root, ConnVertex vertex)
 {
     _dict.Add(root, vertex);
 }
 public void Add(EulerTourVertex eulerVertex, ConnVertex vertex) => _count++;
 public void Add(EulerTourNode root, ConnVertex vertex) => _count++;