pub struct GradientCartographer<N> {
pub directions: u64,
pub goal_node: N,
pub init_step_size: f64,
pub is_space_available_fn: IsSpaceAvailableFunction<N>,
pub make_node_fn: MakeNodeFunction<N>,
pub start_node: N,
}Expand description
Gradient cartographer for continuous space. The adjacent nodes are spaced farther apart as you move away from the starting point.
Fields§
§directions: u64§goal_node: N§init_step_size: f64§is_space_available_fn: IsSpaceAvailableFunction<N>§make_node_fn: MakeNodeFunction<N>§start_node: NTrait Implementations§
Source§impl<N: PointXY> Cartographer<N> for GradientCartographer<N>
impl<N: PointXY> Cartographer<N> for GradientCartographer<N>
Auto Trait Implementations§
impl<N> Freeze for GradientCartographer<N>where
N: Freeze,
impl<N> RefUnwindSafe for GradientCartographer<N>where
N: RefUnwindSafe,
impl<N> Send for GradientCartographer<N>where
N: Send,
impl<N> Sync for GradientCartographer<N>where
N: Sync,
impl<N> Unpin for GradientCartographer<N>where
N: Unpin,
impl<N> UnwindSafe for GradientCartographer<N>where
N: UnwindSafe,
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