pub struct EigenvectorScores {
pub vector: Vec<f64>,
pub eigenvalue: f64,
}Expand description
Output of eigenvector_centrality_full: the normalised
centrality vector and the dominant eigenvalue of the (possibly
shifted-back) adjacency matrix.
Fields§
§vector: Vec<f64>Centrality per vertex, length vcount(). Max-absolute element
is exactly 1.0 (matching python-igraph), unless all entries
are zero (empty / DAG / all-zero-weight sentinels).
eigenvalue: f64Largest-real-part eigenvalue of the adjacency / weighted
adjacency matrix. 0.0 for the empty-edge, all-zero-weight,
and DAG sentinel cases.
Trait Implementations§
Source§impl Clone for EigenvectorScores
impl Clone for EigenvectorScores
Source§fn clone(&self) -> EigenvectorScores
fn clone(&self) -> EigenvectorScores
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 EigenvectorScores
impl Debug for EigenvectorScores
Source§impl PartialEq for EigenvectorScores
impl PartialEq for EigenvectorScores
impl StructuralPartialEq for EigenvectorScores
Auto Trait Implementations§
impl Freeze for EigenvectorScores
impl RefUnwindSafe for EigenvectorScores
impl Send for EigenvectorScores
impl Sync for EigenvectorScores
impl Unpin for EigenvectorScores
impl UnsafeUnpin for EigenvectorScores
impl UnwindSafe for EigenvectorScores
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