pub struct EigenvectorCentralization {
pub scores: Vec<f64>,
pub value: f64,
pub centralization: f64,
pub theoretical_max: f64,
}Expand description
Eigenvector centralities together with the graph-level centralization
index, see centralization_eigenvector_centrality.
Fields§
§scores: Vec<f64>The eigenvector centrality of all vertices, scaled so that the maximum is 1.
value: f64The leading eigenvalue.
centralization: f64The graph-level centralization index (normalized if requested).
theoretical_max: f64The centralization of the most centralized graph with the same number of vertices (and directedness).
Trait Implementations§
Source§impl Clone for EigenvectorCentralization
impl Clone for EigenvectorCentralization
Source§fn clone(&self) -> EigenvectorCentralization
fn clone(&self) -> EigenvectorCentralization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EigenvectorCentralization
impl Debug for EigenvectorCentralization
Source§impl PartialEq for EigenvectorCentralization
impl PartialEq for EigenvectorCentralization
Source§fn eq(&self, other: &EigenvectorCentralization) -> bool
fn eq(&self, other: &EigenvectorCentralization) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EigenvectorCentralization
Auto Trait Implementations§
impl Freeze for EigenvectorCentralization
impl RefUnwindSafe for EigenvectorCentralization
impl Send for EigenvectorCentralization
impl Sync for EigenvectorCentralization
impl Unpin for EigenvectorCentralization
impl UnsafeUnpin for EigenvectorCentralization
impl UnwindSafe for EigenvectorCentralization
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