pub struct InfomapResult {
pub membership: Vec<u32>,
pub codelength: f64,
}Expand description
Result of an Infomap run.
Fields§
§membership: Vec<u32>Community assignment for each vertex (0-indexed, contiguous).
codelength: f64Map equation codelength of the best partition found.
Trait Implementations§
Source§impl Clone for InfomapResult
impl Clone for InfomapResult
Source§fn clone(&self) -> InfomapResult
fn clone(&self) -> InfomapResult
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 moreAuto Trait Implementations§
impl Freeze for InfomapResult
impl RefUnwindSafe for InfomapResult
impl Send for InfomapResult
impl Sync for InfomapResult
impl Unpin for InfomapResult
impl UnsafeUnpin for InfomapResult
impl UnwindSafe for InfomapResult
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