Skip to main content

label_propagation

Function label_propagation 

Source
pub fn label_propagation<N, E>(graph: &Graph<N, E>) -> CommunityResult
Expand description

Label propagation community detection. Each node adopts the label most common among its neighbors.