pub struct PreparedSubgoalGraph { /* private fields */ }Expand description
Prepared subgoal graph implementing PreparedGridSearch.
Sparse corner-subgoal abstract search with online A* fallback; correctness-first, not a performance claim for huge maps. Uniform hop cost only.
Implementations§
Source§impl PreparedSubgoalGraph
impl PreparedSubgoalGraph
Sourcepub fn builder() -> SubgoalGraphBuilder
pub fn builder() -> SubgoalGraphBuilder
Returns a SubgoalGraphBuilder for preprocess entry.
Sourcepub fn subgoal_count(&self) -> usize
pub fn subgoal_count(&self) -> usize
Number of corner subgoals retained after preprocess.
Trait Implementations§
Source§impl Clone for PreparedSubgoalGraph
impl Clone for PreparedSubgoalGraph
Source§fn clone(&self) -> PreparedSubgoalGraph
fn clone(&self) -> PreparedSubgoalGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedSubgoalGraph
impl Debug for PreparedSubgoalGraph
impl Eq for PreparedSubgoalGraph
Source§impl PartialEq for PreparedSubgoalGraph
impl PartialEq for PreparedSubgoalGraph
Source§impl PreparedGridSearch for PreparedSubgoalGraph
impl PreparedGridSearch for PreparedSubgoalGraph
Source§fn metadata(&self) -> &PreprocessedGridMetadata
fn metadata(&self) -> &PreprocessedGridMetadata
Build-time summary of shape, walkability counts, and cost model labels.
Source§fn search(
&self,
request: SearchRequest,
) -> Result<SearchOutcome<Path, SearchStats>, GridSearchError>
fn search( &self, request: SearchRequest, ) -> Result<SearchOutcome<Path, SearchStats>, GridSearchError>
Point-to-point search on the prepared snapshot.
impl StructuralPartialEq for PreparedSubgoalGraph
Auto Trait Implementations§
impl Freeze for PreparedSubgoalGraph
impl RefUnwindSafe for PreparedSubgoalGraph
impl Send for PreparedSubgoalGraph
impl Sync for PreparedSubgoalGraph
impl Unpin for PreparedSubgoalGraph
impl UnsafeUnpin for PreparedSubgoalGraph
impl UnwindSafe for PreparedSubgoalGraph
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more