A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
GraphLibrary
Component Class
Component Methods
ConnectedComponents Method
IsConnected Method
IsWeaklyConnected Method
NodeConnectedComponent Method
NumberConectedComponents Method
NumberWeaklyConectedComponents Method
StronglyConnectedComponents Method
WeaklyConnectedComponents Method
Component
NodeConnectedComponent Method
Returns the set of nodes in the component of graph containing node n.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
Copy
public
HashSet
<
int
>
NodeConnectedComponent
(
BaseGraph
graph
,
int
n
)
Parameters
graph
Type:
GraphLibrary.Graphs
BaseGraph
BaseGraph graph.
n
Type:
System
Int32
Return Value
Type:
HashSet
Int32
A set of nodes in the component of G containing node n.
See Also
Reference
Component Class
GraphLibrary Namespace