pub struct HubAuthority {
pub hubs: Vec<f64>,
pub authorities: Vec<f64>,
pub value: f64,
}Expand description
Kleinberg’s hub and authority scores, see
hub_and_authority_scores.
Fields§
§hubs: Vec<f64>Hub score of each vertex, scaled so that the maximum is 1.
Authority score of each vertex, scaled so that the maximum is 1.
value: f64The leading eigenvalue of A Aᵀ (equivalently, of Aᵀ A).
Trait Implementations§
Source§impl Clone for HubAuthority
impl Clone for HubAuthority
Source§fn clone(&self) -> HubAuthority
fn clone(&self) -> HubAuthority
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 HubAuthority
impl Debug for HubAuthority
Source§impl PartialEq for HubAuthority
impl PartialEq for HubAuthority
Source§fn eq(&self, other: &HubAuthority) -> bool
fn eq(&self, other: &HubAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HubAuthority
Auto Trait Implementations§
impl Freeze for HubAuthority
impl RefUnwindSafe for HubAuthority
impl Send for HubAuthority
impl Sync for HubAuthority
impl Unpin for HubAuthority
impl UnsafeUnpin for HubAuthority
impl UnwindSafe for HubAuthority
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