pub struct PathFindingConfig {
pub max_depth: usize,
pub max_paths: usize,
pub min_semantic_score: f32,
pub semantic_weights: HashMap<EdgeType, f32>,
}Expand description
Path finding configuration
Fields§
§max_depth: usizeMaximum path depth
max_paths: usizeMaximum number of paths to find
min_semantic_score: f32Minimum semantic score threshold
semantic_weights: HashMap<EdgeType, f32>Semantic weights for different edge types
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