pub trait CommunityDetection {
// Required method
fn detect<N, E>(&self, graph: &UnGraph<N, E>) -> Result<Vec<usize>>;
// Provided method
fn resolution(&self) -> f64 { ... }
}Expand description
Trait for community detection algorithms.
Required Methods§
Provided Methods§
Sourcefn resolution(&self) -> f64
fn resolution(&self) -> f64
Get the resolution parameter (if applicable).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".