pub struct CentralizationResult {
pub scores: Vec<f64>,
pub centralization: f64,
pub theoretical_max: f64,
}Expand description
Result of a centralization convenience wrapper.
Fields§
§scores: Vec<f64>Per-vertex centrality scores.
centralization: f64Graph-level centralization value.
theoretical_max: f64Theoretical maximum for the most centralized graph of this size.
Trait Implementations§
Source§impl Clone for CentralizationResult
impl Clone for CentralizationResult
Source§fn clone(&self) -> CentralizationResult
fn clone(&self) -> CentralizationResult
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 CentralizationResult
impl Debug for CentralizationResult
Source§impl PartialEq for CentralizationResult
impl PartialEq for CentralizationResult
impl StructuralPartialEq for CentralizationResult
Auto Trait Implementations§
impl Freeze for CentralizationResult
impl RefUnwindSafe for CentralizationResult
impl Send for CentralizationResult
impl Sync for CentralizationResult
impl Unpin for CentralizationResult
impl UnsafeUnpin for CentralizationResult
impl UnwindSafe for CentralizationResult
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