pub struct HitsScores {
pub hub: Vec<f64>,
pub authority: Vec<f64>,
pub eigenvalue: f64,
}Expand description
Output of hub_and_authority_scores: scaled hub and authority
vectors and the dominant eigenvalue of A·Aᵀ.
Both vectors are normalised so that their max-absolute element is
exactly 1.0, matching python-igraph’s reporting convention.
Fields§
§hub: Vec<f64>Hub score per vertex, length vcount(). Max-absolute element is 1.0.
Authority score per vertex, length vcount(). Max-absolute element is 1.0.
eigenvalue: f64Dominant eigenvalue of A·Aᵀ (= square of dominant A-eigenvalue
for the undirected delegation path). Returned as 0.0 for the
empty-edge case.
Trait Implementations§
Source§impl Clone for HitsScores
impl Clone for HitsScores
Source§fn clone(&self) -> HitsScores
fn clone(&self) -> HitsScores
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 HitsScores
impl Debug for HitsScores
Source§impl PartialEq for HitsScores
impl PartialEq for HitsScores
impl StructuralPartialEq for HitsScores
Auto Trait Implementations§
impl Freeze for HitsScores
impl RefUnwindSafe for HitsScores
impl Send for HitsScores
impl Sync for HitsScores
impl Unpin for HitsScores
impl UnsafeUnpin for HitsScores
impl UnwindSafe for HitsScores
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