Enum map_model::pathfind::pathfinder::PathfinderCaching [−][src]
pub enum PathfinderCaching {
NoCache,
CacheDijkstra,
CacheCH,
}
Expand description
When pathfinding with different RoutingParams
is done, a temporary pathfinder must be
created. This specifies what type of pathfinder and whether to cache it.
Variants
NoCache
Create a fast-to-build but slow-to-use Dijkstra-based pathfinder and don’t cache it
CacheDijkstra
Create a fast-to-build but slow-to-use Dijkstra-based pathfinder and cache it
CacheCH
Create a slow-to-build but fast-to-use contraction hierarchy-based pathfinder and cache it
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PathfinderCaching
impl Send for PathfinderCaching
impl Sync for PathfinderCaching
impl Unpin for PathfinderCaching
impl UnwindSafe for PathfinderCaching
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self