pub struct Community {
pub assignments: Vec<usize>,
pub modularity: f64,
}Expand description
Community detection result.
Fields§
§assignments: Vec<usize>Community assignment for each node.
modularity: f64Modularity Q of the partition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Community
impl RefUnwindSafe for Community
impl Send for Community
impl Sync for Community
impl Unpin for Community
impl UnsafeUnpin for Community
impl UnwindSafe for Community
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