pub struct PprConfig {
pub alpha: f64,
pub epsilon: f64,
pub max_iterations: usize,
}Expand description
Configuration for Personalized PageRank (F-057).
PPR computes node importance relative to seed (personalization) nodes using
iterative power method. Proven superior for multi-hop QA by HippoRAG
(arXiv:2405.14831) and Graphiti/Zep (arXiv:2501.13956).
Fields§
§alpha: f64Teleport (restart) probability α. Higher values bias toward seed nodes. Typical range: 0.10–0.25. Default: 0.15.
epsilon: f64Convergence tolerance. Iteration stops when max delta < epsilon. Default: 1e-6.
max_iterations: usizeMaximum iterations. Default: 100.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PprConfig
impl RefUnwindSafe for PprConfig
impl Send for PprConfig
impl Sync for PprConfig
impl Unpin for PprConfig
impl UnsafeUnpin for PprConfig
impl UnwindSafe for PprConfig
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