Back to Aurora Vision Library website
You are here: Start » Function Reference » Data Classification » Clustering » FindConnectedComponents
FindConnectedComponents
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationPro |
Finds connected components in a graph given as set of bidirectional connections.
Syntax
C++
C#
void avl::FindConnectedComponents ( const atl::Array<atl::Array<int> >& inConnections, atl::Array<atl::Array<int> >& outComponents, atl::Array<int>& outElementLabels, bool& outFound = atl::Dummy<bool>() )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inConnections | const Array<Array<int> >& | List of connections for each element | |
![]() |
outComponents | Array<Array<int> >& | List of input element indices for each connected component | |
![]() |
outElementLabels | Array<int>& | Index of a component for each input element | |
![]() |
outFound | bool& | Dummy<bool>() |


