pub struct ContinuousShortestPathMap;Expand description
Visibility-graph builder for source-rooted continuous shortest-path maps.
Preprocess: nodes = {source} ∪ obstacle vertices; undirected walkable
edges with Euclidean cost; multi-target Dijkstra from the source.
Query: minimize dist[node] + dist(node, goal) over nodes visible to the goal.
Trait Implementations§
Source§impl Clone for ContinuousShortestPathMap
impl Clone for ContinuousShortestPathMap
Source§fn clone(&self) -> ContinuousShortestPathMap
fn clone(&self) -> ContinuousShortestPathMap
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 moreimpl Copy for ContinuousShortestPathMap
Source§impl Debug for ContinuousShortestPathMap
impl Debug for ContinuousShortestPathMap
Source§impl Default for ContinuousShortestPathMap
impl Default for ContinuousShortestPathMap
Source§fn default() -> ContinuousShortestPathMap
fn default() -> ContinuousShortestPathMap
Returns the “default value” for a type. Read more
Source§impl PolygonShortestPathMapBuilder for ContinuousShortestPathMap
impl PolygonShortestPathMapBuilder for ContinuousShortestPathMap
Source§type Map = PreparedContinuousShortestPathMap
type Map = PreparedContinuousShortestPathMap
Prepared map type produced by this builder.
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable builder identity (usually matches the prepared map name).
Source§fn preprocess(
&self,
scene: &PolygonScene,
source: Point2,
) -> Result<Self::Map, PolygonShortestPathMapBuildError>
fn preprocess( &self, scene: &PolygonScene, source: Point2, ) -> Result<Self::Map, PolygonShortestPathMapBuildError>
Auto Trait Implementations§
impl Freeze for ContinuousShortestPathMap
impl RefUnwindSafe for ContinuousShortestPathMap
impl Send for ContinuousShortestPathMap
impl Sync for ContinuousShortestPathMap
impl Unpin for ContinuousShortestPathMap
impl UnsafeUnpin for ContinuousShortestPathMap
impl UnwindSafe for ContinuousShortestPathMap
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