pub struct CommunityResult {
pub communities: Vec<Community>,
pub assignments: HashMap<String, usize>,
pub total_nodes: usize,
pub num_communities: usize,
}Expand description
Result of community detection.
Fields§
§communities: Vec<Community>§assignments: HashMap<String, usize>Node label → community ID mapping.
total_nodes: usize§num_communities: usizeTrait Implementations§
Source§impl Clone for CommunityResult
impl Clone for CommunityResult
Source§fn clone(&self) -> CommunityResult
fn clone(&self) -> CommunityResult
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 moreSource§impl Debug for CommunityResult
impl Debug for CommunityResult
Auto Trait Implementations§
impl Freeze for CommunityResult
impl RefUnwindSafe for CommunityResult
impl Send for CommunityResult
impl Sync for CommunityResult
impl Unpin for CommunityResult
impl UnwindSafe for CommunityResult
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