pub struct PageRankOptions {
pub damping: f64,
pub iterations: Option<u32>,
}Expand description
PageRank semantics. Omitted iterations use the existing convergence rule.
Fields§
§damping: f64Finite teleport damping in the inclusive range [0, 1].
iterations: Option<u32>Exactly this many synchronous rounds, including zero; None converges.
Trait Implementations§
Source§impl Clone for PageRankOptions
impl Clone for PageRankOptions
impl Copy for PageRankOptions
Source§impl Debug for PageRankOptions
impl Debug for PageRankOptions
Source§impl Default for PageRankOptions
impl Default for PageRankOptions
Source§impl PartialEq for PageRankOptions
impl PartialEq for PageRankOptions
impl StructuralPartialEq for PageRankOptions
Auto Trait Implementations§
impl Freeze for PageRankOptions
impl RefUnwindSafe for PageRankOptions
impl Send for PageRankOptions
impl Sync for PageRankOptions
impl Unpin for PageRankOptions
impl UnsafeUnpin for PageRankOptions
impl UnwindSafe for PageRankOptions
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