pub struct CentralityResult {
pub scores: Vec<(u64, f32)>,
pub algorithm: CentralityAlgorithm,
pub iterations: u32,
pub converged: bool,
}Expand description
Result of a centrality computation.
Fields§
§scores: Vec<(u64, f32)>Node ID → centrality score, sorted by score descending.
algorithm: CentralityAlgorithm§iterations: u32§converged: boolAuto Trait Implementations§
impl Freeze for CentralityResult
impl RefUnwindSafe for CentralityResult
impl Send for CentralityResult
impl Sync for CentralityResult
impl Unpin for CentralityResult
impl UnsafeUnpin for CentralityResult
impl UnwindSafe for CentralityResult
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