pub enum LeadingEigenvectorEvent {
StartFull,
StartGiven {
communities: i64,
},
Split {
community: i64,
},
Failed {
community: i64,
},
}Expand description
One step of the history of Graph::community_leading_eigenvector
(igraph_leading_eigenvector_community_history_t).
Variants§
StartFull
The algorithm started from the connected components of the graph.
StartGiven
The algorithm started from a given partition with this many communities.
Split
A community was split in two: the first part keeps the id, the second one gets the number of communities before the split as id.
Failed
Splitting the community would not increase modularity.
Trait Implementations§
Source§impl Clone for LeadingEigenvectorEvent
impl Clone for LeadingEigenvectorEvent
Source§fn clone(&self) -> LeadingEigenvectorEvent
fn clone(&self) -> LeadingEigenvectorEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeadingEigenvectorEvent
Source§impl Debug for LeadingEigenvectorEvent
impl Debug for LeadingEigenvectorEvent
impl Eq for LeadingEigenvectorEvent
Source§impl Hash for LeadingEigenvectorEvent
impl Hash for LeadingEigenvectorEvent
Source§impl PartialEq for LeadingEigenvectorEvent
impl PartialEq for LeadingEigenvectorEvent
Source§fn eq(&self, other: &LeadingEigenvectorEvent) -> bool
fn eq(&self, other: &LeadingEigenvectorEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeadingEigenvectorEvent
Auto Trait Implementations§
impl Freeze for LeadingEigenvectorEvent
impl RefUnwindSafe for LeadingEigenvectorEvent
impl Send for LeadingEigenvectorEvent
impl Sync for LeadingEigenvectorEvent
impl Unpin for LeadingEigenvectorEvent
impl UnsafeUnpin for LeadingEigenvectorEvent
impl UnwindSafe for LeadingEigenvectorEvent
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