pub trait ModularityOptimizer {
// Required methods
fn is_converged(&mut self, previous: f32, current: f32) -> bool;
fn get_parallel_threshold(&self) -> usize;
}pub trait ModularityOptimizer {
// Required methods
fn is_converged(&mut self, previous: f32, current: f32) -> bool;
fn get_parallel_threshold(&self) -> usize;
}