Skip to main content

rust_igraph/algorithms/community/
mod.rs

1//! Community-detection algorithms (ALGO-CO-*). Phase 1: `modularity`
2//! (Newman-Girvan modularity of a partition).
3
4// `pub(crate)` so the inner module name doesn't double-list with the
5// function re-export in rustdoc.
6pub(crate) mod modularity;
7
8pub use modularity::{modularity, modularity_directed, modularity_weighted};