Class Components<T>
- Namespace
- AlgorithmsSW.EdgeWeightedGraph
- Assembly
- AlgorithmsSW.dll
public class Components<T>
Type Parameters
T
- Inheritance
-
Components<T>
- Inherited Members
- Extension Methods
Constructors
Components(EdgeWeightedGraphWithAdjacencyLists<T>)
public Components(EdgeWeightedGraphWithAdjacencyLists<T> graph)
Parameters
graph
EdgeWeightedGraphWithAdjacencyLists<T>
Properties
ComponentCount
public int ComponentCount { get; }
Property Value
Methods
AreConnected(int, int)
public bool AreConnected(int vertex0, int vertex1)
Parameters
Returns
GetComponentId(int)
public int GetComponentId(int vertex)
Parameters
vertex
int