pub struct CdlpResult {
pub labels: HashMap<NodeId, NodeId>,
pub iterations: usize,
}Expand description
Result of CDLP algorithm
Fields§
§labels: HashMap<NodeId, NodeId>Mapping from NodeId to community label
iterations: usizeNumber of iterations until convergence
Trait Implementations§
Source§impl Clone for CdlpResult
impl Clone for CdlpResult
Source§fn clone(&self) -> CdlpResult
fn clone(&self) -> CdlpResult
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 CdlpResult
impl RefUnwindSafe for CdlpResult
impl Send for CdlpResult
impl Sync for CdlpResult
impl Unpin for CdlpResult
impl UnsafeUnpin for CdlpResult
impl UnwindSafe for CdlpResult
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