pub struct AStar<N: Eq + Hash> {
pub best_node_option: Option<N>,
pub best_total_cost: f64,
pub goal_node_option: Option<N>,
pub list_empty: bool,
pub node_to_node_info_map: HashMap<N, NodeInfo>,
pub node_to_parent_node_map: HashMap<N, N>,
pub open_node_sorted_list: VecDeque<N>,
}
Fields§
§best_node_option: Option<N>
§best_total_cost: f64
§goal_node_option: Option<N>
§list_empty: bool
§node_to_node_info_map: HashMap<N, NodeInfo>
§node_to_parent_node_map: HashMap<N, N>
§open_node_sorted_list: VecDeque<N>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<N> Freeze for AStar<N>where
N: Freeze,
impl<N> RefUnwindSafe for AStar<N>where
N: RefUnwindSafe,
impl<N> Send for AStar<N>where
N: Send,
impl<N> Sync for AStar<N>where
N: Sync,
impl<N> Unpin for AStar<N>where
N: Unpin,
impl<N> UnwindSafe for AStar<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