pub fn greedy_modularity_optimization_result<N, E, Ix>(
graph: &Graph<N, E, Ix>,
max_iterations: usize,
) -> CommunityResult<N>Expand description
Greedy modularity optimization algorithm (modern API)
Returns a standardized CommunityResult type that provides multiple ways
to access the community structure.
§Arguments
graph- The graph to analyzemax_iterations- Maximum number of iterations
§Returns
- A
CommunityResultwith comprehensive community information