Go to the documentation of this file.
56 physics::Distance
const &predictionDistance,
57 physics::Duration
const &predictionDuration,
72 physics::Distance
const &predictionDistance,
87 physics::Duration
const &predictionDuration,
113 struct RouteTreeElement
116 RouteTreeElement(RouteTreeElement
const *parent,
RoutingPoint const &iRoutingPoint)
117 : routingPoint(iRoutingPoint)
125 bool operator()(
const std::shared_ptr<RouteTreeElement> &left,
126 const std::shared_ptr<RouteTreeElement> &right)
const
128 return left->routingPoint.first < right->routingPoint.first;
132 typedef std::set<std::shared_ptr<RouteTreeElement>,
RouteTreeElementCompare> RouteTreeElementUniqueRoutePointSet;
137 RouteTreeElementUniqueRoutePointSet children;
139 RouteTreeElement
const *theParent;
145 void reconstructPaths();
148 std::shared_ptr<RouteTreeElement> mRouteTreeRoot;
153 std::map<RoutingParaPoint, RouteTreeElement::RouteTreeElementUniqueRoutePointSet> mProcessedTransitions;
156 std::deque<std::shared_ptr<RouteTreeElement>> mElementsToProcess;
namespace ad
Definition: GeometryStoreItem.hpp:28
Implements routing support functionality on the lane network.
Definition: RouteExpander.hpp:43
std::pair< RoutingParaPoint, RoutingCost > RoutingPoint
definition of the routing point
Definition: RouteExpander.hpp:54
std::pair< RoutingParaPoint, RoutingCost > RoutingPoint
definition of the routing point
Definition: RouteExpander.hpp:54
comparing route tree elements by their actual route-point to ensure children are unique
Definition: RoutePrediction.hpp:123
Type
Routing type.
Definition: Route.hpp:59
Implements route prediction on the lane network.
Definition: RoutePrediction.hpp:37
RoutePrediction(const RoutingParaPoint &start, physics::Distance const &predictionDistance, physics::Duration const &predictionDuration, Type typ=Route::Type::SHORTEST)
Constructor.
@ SHORTEST
Shortest route by distance.
bool calculate() override
Calculates the route predictions using breadth search algorithm.
routing para point
Definition: Routing.hpp:44
std::shared_ptr< Lane const > ConstPtr
Smart pointer on constant Lane.
Definition: Lane.hpp:66
Definition: RoutePrediction.hpp:30
ExpandReason
Definition of the reasons for route expansion.
Definition: RouteExpander.hpp:110