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


