pub fn parallel_label_propagation_result<N, E, Ix>(
graph: &Graph<N, E, Ix>,
max_iterations: Option<usize>,
) -> CommunityResult<N>Expand description
Parallel implementation of label propagation community detection
Uses parallel processing to speed up the label propagation algorithm for large graphs.
§Arguments
graph- The graph to analyzemax_iterations- Maximum number of iterations to run
§Returns
- A
CommunityResultcontaining the detected communities