Skip to main content

analyze_communities_with_progress

Function analyze_communities_with_progress 

Source
pub fn analyze_communities_with_progress<F>(
    snapshot_id: impl Into<String>,
    nodes: &[Node],
    edges: &[Edge],
    config: CommunityConfig,
    progress: F,
) -> Result<CommunitySnapshot, CommunityError>
where F: FnMut(u64),
Expand description

Analyzes communities while reporting each completed finite optimization unit.

ยงErrors

Returns CommunityError under the same conditions as analyze_communities.