pub struct Hits<Node> { /* private fields */ }Expand description
HITS hub and authority scores in canonical node order.
Implementations§
Source§impl<Node> Hits<Node>
impl<Node> Hits<Node>
Returns L2-normalized authority scores.
Sourcepub fn iterations(&self) -> usize
pub fn iterations(&self) -> usize
Returns the number of completed power iterations.
Sourcepub fn into_scores(self) -> (HitsScores<Node>, HitsScores<Node>)
pub fn into_scores(self) -> (HitsScores<Node>, HitsScores<Node>)
Consumes the result into hub and authority vectors.
Trait Implementations§
impl<Node: PartialEq> StructuralPartialEq for Hits<Node>
Auto Trait Implementations§
impl<Node> Freeze for Hits<Node>
impl<Node> RefUnwindSafe for Hits<Node>where
Node: RefUnwindSafe,
impl<Node> Send for Hits<Node>where
Node: Send,
impl<Node> Sync for Hits<Node>where
Node: Sync,
impl<Node> Unpin for Hits<Node>where
Node: Unpin,
impl<Node> UnsafeUnpin for Hits<Node>
impl<Node> UnwindSafe for Hits<Node>where
Node: UnwindSafe,
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