AlgorithmExtensions.ConnectedComponents<TVertex, TEdge> Method |
Namespace:
QuickGraph.Algorithms
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntaxpublic static int ConnectedComponents<TVertex, TEdge>(
this IUndirectedGraph<TVertex, TEdge> g,
IDictionary<TVertex, int> components
)
where TEdge : Object, IEdge<TVertex>
Parameters
- g
- Type: QuickGraph.IUndirectedGraph<TVertex, TEdge>
- components
- Type: System.Collections.Generic.IDictionary<TVertex, Int32>
Type Parameters
- TVertex
- TEdge
Return Value
Type:
Int32Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IUndirectedGraph<TVertex,
TEdge>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also