pub struct AlgoResult<N, K> {
pub scores: HashMap<N, K>,
pub goal_node: Option<N>,
}
Expand description
Return value of with_dynamic_goal
.
Fields§
§scores: HashMap<N, K>
A hashbrown::HashMap
that maps NodeId
to path cost.
goal_node: Option<N>
The goal node that terminated the search, if any was found.
Auto Trait Implementations§
impl<N, K> Freeze for AlgoResult<N, K>where
N: Freeze,
impl<N, K> RefUnwindSafe for AlgoResult<N, K>where
N: RefUnwindSafe,
K: RefUnwindSafe,
impl<N, K> Send for AlgoResult<N, K>
impl<N, K> Sync for AlgoResult<N, K>
impl<N, K> Unpin for AlgoResult<N, K>
impl<N, K> UnwindSafe for AlgoResult<N, K>where
N: UnwindSafe,
K: 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