pub struct PreparedJpsPlus { /* private fields */ }Expand description
Prepared map implementing PreparedGridSearch for JPS+.
Immutable after preprocess. Path costs match online
JumpPointSearch on 4-way weighted packs.
Implementations§
Source§impl PreparedJpsPlus
impl PreparedJpsPlus
Sourcepub fn builder() -> JpsPlusBuilder
pub fn builder() -> JpsPlusBuilder
Returns a JpsPlusBuilder for preprocess entry.
Trait Implementations§
Source§impl Clone for PreparedJpsPlus
impl Clone for PreparedJpsPlus
Source§fn clone(&self) -> PreparedJpsPlus
fn clone(&self) -> PreparedJpsPlus
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 PreparedJpsPlus
impl Debug for PreparedJpsPlus
Source§impl PreparedGridSearch for PreparedJpsPlus
impl PreparedGridSearch for PreparedJpsPlus
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.
Auto Trait Implementations§
impl Freeze for PreparedJpsPlus
impl RefUnwindSafe for PreparedJpsPlus
impl Send for PreparedJpsPlus
impl Sync for PreparedJpsPlus
impl Unpin for PreparedJpsPlus
impl UnsafeUnpin for PreparedJpsPlus
impl UnwindSafe for PreparedJpsPlus
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<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