pub struct PathfindingConfig {
pub min_match: f32,
pub top_related: usize,
pub weighted: bool,
}Expand description
Configuration for pathfinding algorithms
Fields§
§min_match: f32Only use connections with similarity >= threshold (0.0-1.0)
Limit to top N connections per artist
weighted: boolUse weighted pathfinding for best similarity (default: shortest path)
Implementations§
Trait Implementations§
Source§impl Clone for PathfindingConfig
impl Clone for PathfindingConfig
Source§fn clone(&self) -> PathfindingConfig
fn clone(&self) -> PathfindingConfig
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 PathfindingConfig
impl Debug for PathfindingConfig
Auto Trait Implementations§
impl Freeze for PathfindingConfig
impl RefUnwindSafe for PathfindingConfig
impl Send for PathfindingConfig
impl Sync for PathfindingConfig
impl Unpin for PathfindingConfig
impl UnwindSafe for PathfindingConfig
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