pub struct PLM { /* private fields */ }Implementations§
Source§impl PLM
impl PLM
pub const BALANCED: &str = "balanced"
pub const NONE: &str = "none"
pub const NONE_RANDOMIZED: &str = "none randomized"
pub const SIMPLE: &str = "simple"
pub fn new( g: &Graph, refine: Option<bool>, gamma: Option<f64>, par: Option<&str>, max_iter: Option<u64>, turbo: Option<bool>, recurse: Option<bool>, ) -> Result<Self>
pub fn coarsen(g: &Graph, zeta: &Partition) -> (Graph, Vec<u64>)
pub fn prolong( g: &Graph, zeta_coarse: &Partition, g_fine: &Graph, node_to_meta_node: &[u64], ) -> Partition
Trait Implementations§
Source§impl CommunityDetector for PLM
impl CommunityDetector for PLM
fn get_partition(&mut self) -> Partition
Auto Trait Implementations§
impl Freeze for PLM
impl RefUnwindSafe for PLM
impl !Send for PLM
impl !Sync for PLM
impl Unpin for PLM
impl UnwindSafe for PLM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more