| Function connected_components Decomposes an undirected graph into its connected components. connected_components(g, components) Parameters
g | In-parameter:An undirected graph. Types: Undirected graph
components | 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