Click or drag to resize

ComponentNodeConnectedComponent 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#
public HashSet<int> NodeConnectedComponent(
	BaseGraph graph,
	int n
)

Parameters

graph
Type: GraphLibrary.GraphsBaseGraph
BaseGraph graph.
n
Type: SystemInt32

Return Value

Type: HashSetInt32
A set of nodes in the component of G containing node n.
See Also