pub enum LpaVariant {
Fast,
Dominance,
Retention,
}Expand description
Which variant of label propagation to run. Mirrors
igraph_lpa_variant_t.
Variants§
Fast
Queue-based fast variant (Traag-Šubelj 2023). Default — matches the python-igraph default.
Dominance
Alternating update / control iterations over the full vertex set.
Retention
Sweep all vertices; only relabel when the current label is not dominant.
Trait Implementations§
Source§impl Clone for LpaVariant
impl Clone for LpaVariant
Source§fn clone(&self) -> LpaVariant
fn clone(&self) -> LpaVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LpaVariant
impl Debug for LpaVariant
Source§impl PartialEq for LpaVariant
impl PartialEq for LpaVariant
impl Copy for LpaVariant
impl Eq for LpaVariant
impl StructuralPartialEq for LpaVariant
Auto Trait Implementations§
impl Freeze for LpaVariant
impl RefUnwindSafe for LpaVariant
impl Send for LpaVariant
impl Sync for LpaVariant
impl Unpin for LpaVariant
impl UnsafeUnpin for LpaVariant
impl UnwindSafe for LpaVariant
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