pub struct PprResult {
pub scores: Vec<(u64, f64)>,
pub iterations: u32,
pub converged: bool,
}Expand description
Result of a Personalized PageRank computation.
Fields§
§scores: Vec<(u64, f64)>Scored nodes sorted by score descending: (node_id, score).
iterations: u32Number of iterations actually performed.
converged: boolWhether the computation converged (L1 delta < epsilon).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PprResult
impl RefUnwindSafe for PprResult
impl Send for PprResult
impl Sync for PprResult
impl Unpin for PprResult
impl UnsafeUnpin for PprResult
impl UnwindSafe for PprResult
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