pub struct PageRankConfig {
pub damping: f64,
pub max_iterations: usize,
pub tolerance: f64,
}Expand description
PageRank configuration
Fields§
§damping: f64Damping factor (typically 0.85)
max_iterations: usizeMaximum iterations
tolerance: f64Convergence threshold
Trait Implementations§
Source§impl Clone for PageRankConfig
impl Clone for PageRankConfig
Source§fn clone(&self) -> PageRankConfig
fn clone(&self) -> PageRankConfig
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 PageRankConfig
impl Debug for PageRankConfig
Auto Trait Implementations§
impl Freeze for PageRankConfig
impl RefUnwindSafe for PageRankConfig
impl Send for PageRankConfig
impl Sync for PageRankConfig
impl Unpin for PageRankConfig
impl UnsafeUnpin for PageRankConfig
impl UnwindSafe for PageRankConfig
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