Interface IConnectedComponentAlgorithm<TVertex, TEdge, TGraph>
Represents an algorithm dealing with graph connected components.
Inherited Members
Namespace: QuikGraph.Algorithms
Assembly: QuikGraph.dll
Syntax
public interface IConnectedComponentAlgorithm<TVertex, TEdge, out TGraph> : IAlgorithm<TGraph>, IComputation where TEdge : IEdge<TVertex> where TGraph : IGraph<TVertex, TEdge>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
TGraph | Graph type. |
Properties
| Improve this Doc View SourceComponentCount
Number of components.
Declaration
int ComponentCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Components
Graph components.
Declaration
IDictionary<TVertex, int> Components { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TVertex, System.Int32> |