pub struct KCoreResult {
pub core_number: Vec<usize>,
pub degeneracy: usize,
}Expand description
Result of a full k-core decomposition.
Fields§
§core_number: Vec<usize>core_number[v] is the core number of vertex v.
degeneracy: usizeThe graph degeneracy: max(core_number) (0 for an empty graph).
Trait Implementations§
Source§impl Clone for KCoreResult
impl Clone for KCoreResult
Source§fn clone(&self) -> KCoreResult
fn clone(&self) -> KCoreResult
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 moreSource§impl Debug for KCoreResult
impl Debug for KCoreResult
impl Eq for KCoreResult
Source§impl PartialEq for KCoreResult
impl PartialEq for KCoreResult
Source§fn eq(&self, other: &KCoreResult) -> bool
fn eq(&self, other: &KCoreResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KCoreResult
Auto Trait Implementations§
impl Freeze for KCoreResult
impl RefUnwindSafe for KCoreResult
impl Send for KCoreResult
impl Sync for KCoreResult
impl Unpin for KCoreResult
impl UnsafeUnpin for KCoreResult
impl UnwindSafe for KCoreResult
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