pub struct MaxDistance;Expand description
Maximum-coordinate-difference metric (Chebyshev distance).
Cost = max(|dx|, |dy|).
Mirrors Agents.jl MaxDistance.
Trait Implementations§
Source§impl Clone for MaxDistance
impl Clone for MaxDistance
Source§fn clone(&self) -> MaxDistance
fn clone(&self) -> MaxDistance
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 CostMetric for MaxDistance
impl CostMetric for MaxDistance
Source§impl Debug for MaxDistance
impl Debug for MaxDistance
impl Copy for MaxDistance
Auto Trait Implementations§
impl Freeze for MaxDistance
impl RefUnwindSafe for MaxDistance
impl Send for MaxDistance
impl Sync for MaxDistance
impl Unpin for MaxDistance
impl UnsafeUnpin for MaxDistance
impl UnwindSafe for MaxDistance
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