pub struct TraversalConfig {
pub max_depth: usize,
pub max_nodes: usize,
pub max_distance: f32,
pub cost_function: CostFunction,
}Expand description
Graph traversal configuration
Fields§
§max_depth: usizeMaximum traversal depth
max_nodes: usizeMaximum number of nodes to visit
max_distance: f32Maximum distance for shortest path algorithms
cost_function: CostFunctionCost function for edge traversal
Trait Implementations§
Source§impl Clone for TraversalConfig
impl Clone for TraversalConfig
Source§fn clone(&self) -> TraversalConfig
fn clone(&self) -> TraversalConfig
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 TraversalConfig
impl Debug for TraversalConfig
Auto Trait Implementations§
impl Freeze for TraversalConfig
impl RefUnwindSafe for TraversalConfig
impl Send for TraversalConfig
impl Sync for TraversalConfig
impl Unpin for TraversalConfig
impl UnwindSafe for TraversalConfig
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