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