pub struct EigenScores {
pub scores: Vec<f64>,
pub value: f64,
}Expand description
Vertex scores that are an eigenvector, with the corresponding eigenvalue.
Returned by pagerank and its personalized
variants, and by eigenvector_centrality.
Fields§
§scores: Vec<f64>The score of each vertex (for PageRank: of each requested vertex).
value: f64The eigenvalue. For PageRank it is always 1.0 with PRPACK and should
be very close to one with ARPACK. For eigenvector centrality it is the
leading eigenvalue of the adjacency matrix (zero for acyclic graphs,
where the measure is not meaningful).
Trait Implementations§
Source§impl Clone for EigenScores
impl Clone for EigenScores
Source§fn clone(&self) -> EigenScores
fn clone(&self) -> EigenScores
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 EigenScores
impl Debug for EigenScores
Source§impl PartialEq for EigenScores
impl PartialEq for EigenScores
Source§fn eq(&self, other: &EigenScores) -> bool
fn eq(&self, other: &EigenScores) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EigenScores
Auto Trait Implementations§
impl Freeze for EigenScores
impl RefUnwindSafe for EigenScores
impl Send for EigenScores
impl Sync for EigenScores
impl Unpin for EigenScores
impl UnsafeUnpin for EigenScores
impl UnwindSafe for EigenScores
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