Struct map_model::pathfind::ch::ContractionHierarchyPathfinder [−][src]
pub struct ContractionHierarchyPathfinder { car_graph: VehiclePathfinder, bike_graph: VehiclePathfinder, bus_graph: VehiclePathfinder, walking_graph: SidewalkPathfinder, walking_with_transit_graph: SidewalkPathfinder, }
Fields
car_graph: VehiclePathfinder
bike_graph: VehiclePathfinder
bus_graph: VehiclePathfinder
walking_graph: SidewalkPathfinder
walking_with_transit_graph: SidewalkPathfinder
Implementations
impl ContractionHierarchyPathfinder
[src]
impl ContractionHierarchyPathfinder
[src]pub fn new(map: &Map, timer: &mut Timer<'_>) -> ContractionHierarchyPathfinder
[src]
pub fn pathfind(&self, req: PathRequest, map: &Map) -> Option<PathV2>
[src]
pub fn should_use_transit(
&self,
map: &Map,
start: Position,
end: Position
) -> Option<(BusStopID, Option<BusStopID>, BusRouteID)>
[src]
&self,
map: &Map,
start: Position,
end: Position
) -> Option<(BusStopID, Option<BusStopID>, BusRouteID)>
pub fn apply_edits(&mut self, map: &Map, timer: &mut Timer<'_>)
[src]
Trait Implementations
impl<'de> Deserialize<'de> for ContractionHierarchyPathfinder
[src]
impl<'de> Deserialize<'de> for ContractionHierarchyPathfinder
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for ContractionHierarchyPathfinder
impl Send for ContractionHierarchyPathfinder
impl Sync for ContractionHierarchyPathfinder
impl Unpin for ContractionHierarchyPathfinder
impl UnwindSafe for ContractionHierarchyPathfinder
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,