pub struct PathFindingConfig {
pub max_path_length: usize,
pub max_paths: usize,
pub min_path_score: f32,
pub enable_bidirectional_search: bool,
pub scoring_method: PathScoringMethod,
}Expand description
Path-finding configuration
Fields§
§max_path_length: usizeMaximum path length to consider
max_paths: usizeMaximum number of paths to find
min_path_score: f32Minimum path score threshold
enable_bidirectional_search: boolEnable bidirectional search
scoring_method: PathScoringMethodPath scoring method
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
Source§impl Default for PathFindingConfig
impl Default for PathFindingConfig
Source§impl<'de> Deserialize<'de> for PathFindingConfig
impl<'de> Deserialize<'de> for PathFindingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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