pub struct PathMetadata {
pub distance_scale: f64,
pub heading_scale: f64,
pub cutoff_distance: f64,
pub heading_cutoff: f64,
pub probability_threshold: f64,
pub resampling_distance: Option<f64>,
pub fallback_mode: bool,
pub candidate_paths_evaluated: usize,
pub bidirectional_path: bool,
pub diagnostic_info: Option<PathDiagnosticInfo>,
}Expand description
Algorithm configuration and diagnostic metadata
Fields§
§distance_scale: f64Distance scale parameter used for probability calculation
heading_scale: f64Heading scale parameter used for probability calculation
cutoff_distance: f64Cutoff distance for candidate selection (meters)
heading_cutoff: f64Heading difference cutoff (degrees)
probability_threshold: f64Probability threshold for path segment inclusion
resampling_distance: Option<f64>Resampling distance applied (meters), None if disabled
fallback_mode: boolWhether fallback mode was used
candidate_paths_evaluated: usizeNumber of candidate paths evaluated
bidirectional_path: boolWhether path existed in both directions (bidirectional validation)
diagnostic_info: Option<PathDiagnosticInfo>Snapshot of segment-level diagnostics (order, intrinsics, probabilities)
Trait Implementations§
Source§impl Clone for PathMetadata
impl Clone for PathMetadata
Source§fn clone(&self) -> PathMetadata
fn clone(&self) -> PathMetadata
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 PathMetadata
impl Debug for PathMetadata
Source§impl<'de> Deserialize<'de> for PathMetadata
impl<'de> Deserialize<'de> for PathMetadata
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 PathMetadata
impl RefUnwindSafe for PathMetadata
impl Send for PathMetadata
impl Sync for PathMetadata
impl Unpin for PathMetadata
impl UnsafeUnpin for PathMetadata
impl UnwindSafe for PathMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more