Skip to main content

count_connected_components

Function count_connected_components 

Source
pub fn count_connected_components<N, E>(g: &Graph<N, E>) -> usize
where N: Clone,
Expand description

Count the number of connected components in an undirected graph.