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) -> SearchResult
fn search(&self, request: SearchRequest) -> SearchResult
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