You are here: Start » AVL.NET » AVL.FindConnectedComponents Method

AVL.FindConnectedComponents Method

Finds connected components in a graph given as set of bidirectional connections.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FindConnectedComponents(
	int[][] inConnections,
	out int[][] outComponents,
	out int[] outElementLabels
)

Parameters

Name Type Range Default Description
inConnectionsintList of connections for each element.
outComponentsintList of input element indices for each connected component.
outElementLabelsintIndex of a component for each input element.

See also