You are here: Start » AVL.NET » AVL.FindConnectedComponents
AVL.FindConnectedComponents
Finds connected components in a graph given as set of bidirectional connections.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FindConnectedComponents ( int[][] inConnections, out int[][] outComponents, out int[] outElementLabels, out bool outFound )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inConnections | int[][] | List of connections for each element. | ||
![]() | outComponents | int[][] | List of input element indices for each connected component. | ||
![]() | outElementLabels | int[] | Index of a component for each input element. | ||
![]() | outFound | bool |