pub struct SpinglassSingle {
pub community: Vec<VertexId>,
pub cohesion: f64,
pub adhesion: f64,
pub inner_links: f64,
pub outer_links: f64,
}Expand description
Result of Graph::community_spinglass_single.
Fields§
§community: Vec<VertexId>The vertices in the community of the given vertex.
cohesion: f64Cohesion index of the community.
adhesion: f64Adhesion index of the community.
inner_links: f64Number (or total weight) of the edges inside the community.
outer_links: f64Number (or total weight) of the edges leaving the community.
Trait Implementations§
Source§impl Clone for SpinglassSingle
impl Clone for SpinglassSingle
Source§fn clone(&self) -> SpinglassSingle
fn clone(&self) -> SpinglassSingle
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 SpinglassSingle
impl Debug for SpinglassSingle
Source§impl PartialEq for SpinglassSingle
impl PartialEq for SpinglassSingle
Source§fn eq(&self, other: &SpinglassSingle) -> bool
fn eq(&self, other: &SpinglassSingle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpinglassSingle
Auto Trait Implementations§
impl Freeze for SpinglassSingle
impl RefUnwindSafe for SpinglassSingle
impl Send for SpinglassSingle
impl Sync for SpinglassSingle
impl Unpin for SpinglassSingle
impl UnsafeUnpin for SpinglassSingle
impl UnwindSafe for SpinglassSingle
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