pub struct Spinglass {
pub membership: Vec<i64>,
pub csize: Vec<i64>,
pub modularity: f64,
pub temperature: f64,
}Expand description
Result of the spinglass method, see Graph::community_spinglass.
Fields§
§membership: Vec<i64>Community id of each vertex.
csize: Vec<i64>Size of each community, indexed by community id.
modularity: f64Generalized modularity (with resolution gamma) of the result.
temperature: f64Temperature at the end of the simulated annealing.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Spinglass
Auto Trait Implementations§
impl Freeze for Spinglass
impl RefUnwindSafe for Spinglass
impl Send for Spinglass
impl Sync for Spinglass
impl Unpin for Spinglass
impl UnsafeUnpin for Spinglass
impl UnwindSafe for Spinglass
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