pub struct MountainPassConfig {
pub a: Vec<f64>,
pub b: Vec<f64>,
pub estimated_pass_level: f64,
pub path_samples: usize,
}Expand description
Configuration for mountain pass detection.
Fields§
§a: Vec<f64>Two base points a, b (distinct).
b: Vec<f64>§estimated_pass_level: f64Estimated mountain pass level c = inf_{γ} max_{t} f(γ(t)).
path_samples: usizeNumber of sample points on path.
Implementations§
Trait Implementations§
Source§impl Clone for MountainPassConfig
impl Clone for MountainPassConfig
Source§fn clone(&self) -> MountainPassConfig
fn clone(&self) -> MountainPassConfig
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 moreAuto Trait Implementations§
impl Freeze for MountainPassConfig
impl RefUnwindSafe for MountainPassConfig
impl Send for MountainPassConfig
impl Sync for MountainPassConfig
impl Unpin for MountainPassConfig
impl UnsafeUnpin for MountainPassConfig
impl UnwindSafe for MountainPassConfig
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