Function
connected_components
Decomposes an undirected graph into its connected components.
Parameters
In-parameter:An undirected graph. Types: Undirected graph | |
Out-parameter:A property map. Remarks: Each vertex is mapped to a component id. If two vertices share the same id they are in the same component. |
Return Values
The number of components.
SeqAn - Sequence Analysis Library - www.seqan.de