ad_map_access
Namespaces | Enumerations | Functions
Planning.hpp File Reference
#include "ad/map/config/PointOfInterest.hpp"
#include "ad/map/match/Object.hpp"
#include "ad/map/route/Route.hpp"
#include "ad/map/route/RouteOperation.hpp"
#include "ad/map/route/Routing.hpp"
#include "ad/map/route/Types.hpp"
Include dependency graph for Planning.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ad
 namespace ad
 
 ad::map
 namespace map
 
 ad::map::route
 namespace route
 
 ad::map::route::planning
 provides route planning capabilities on the road network of the map
 

Enumerations

enum  ad::map::route::planning::FilterDuplicatesMode { ad::map::route::planning::FilterDuplicatesMode::Off, ad::map::route::planning::FilterDuplicatesMode::OnlyEqual, ad::map::route::planning::FilterDuplicatesMode::SubRoutesPreferShorterOnes, ad::map::route::planning::FilterDuplicatesMode::SubRoutesPreferLongerOnes }
 mode for filtering duplicates in prediction More...
 
enum  ad::map::route::planning::CompareRouteResult { ad::map::route::planning::CompareRouteResult::Equal, ad::map::route::planning::CompareRouteResult::Shorter, ad::map::route::planning::CompareRouteResult::Longer, ad::map::route::planning::CompareRouteResult::Differ }
 result for comparing two routes with each other More...
 

Functions

RoutingParaPoint ad::map::route::planning::createRoutingPoint (lane::LaneId const &laneId, physics::ParametricValue const &parametricOffset, RoutingDirection const &routingDirection=RoutingDirection::DONT_CARE)
 create a RoutingParaPoint More...
 
RoutingParaPoint ad::map::route::planning::createRoutingPoint (point::ParaPoint const &paraPoint, RoutingDirection const &routingDirection=RoutingDirection::DONT_CARE)
 create a RoutingParaPoint More...
 
RoutingParaPoint ad::map::route::planning::createRoutingPoint (match::LaneOccupiedRegion const &occupiedRegion, RoutingDirection const &routingDirection=RoutingDirection::DONT_CARE)
 create a RoutingParaPoint More...
 
RoutingParaPoint ad::map::route::planning::createRoutingPoint (point::ParaPoint const &paraPoint, point::ENUHeading const &heading)
 create a RoutingParaPoint More...
 
RoutingParaPoint ad::map::route::planning::createRoutingPoint (match::LaneOccupiedRegion const &occupiedRegion, point::ENUHeading const &heading)
 create a RoutingParaPoint More...
 
route::FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, const RoutingParaPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, const point::ParaPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, point::ENUHeading const &startHeading, const point::ParaPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, point::ENUHeading const &startHeading, const point::ParaPoint &dest, point::ENUHeading const &destHeading, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, const point::GeoPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, const point::ENUPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, const point::GeoPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, point::ENUHeading const &startHeading, const point::GeoPoint &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, const config::PointOfInterest &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points. More...
 
FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, const std::vector< point::GeoPoint > &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points considering supporting points on the way. More...
 
FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, const std::vector< point::ENUPoint > &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points considering supporting points on the way. More...
 
FullRoute ad::map::route::planning::planRoute (const RoutingParaPoint &start, std::vector< RoutingParaPoint > const &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points considering supporting points on the way. More...
 
route::FullRoute ad::map::route::planning::planRoute (const point::ParaPoint &start, point::ENUHeading const &startHeading, const std::vector< point::GeoPoint > &dest, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection)
 Calculates route between two points considering supporting points on the way. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutesOnDuration (const RoutingParaPoint &start, physics::Duration const &predictionDuration, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction duration. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutesOnDistance (const RoutingParaPoint &start, physics::Distance const &predictionDistance, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction distance. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutes (const RoutingParaPoint &start, physics::Distance const &predictionDistance, physics::Duration const &predictionDuration, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction distance and duration. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutesOnDuration (const match::MapMatchedObjectBoundingBox &start, physics::Duration const &predictionDuration, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction duration. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutesOnDistance (const match::MapMatchedObjectBoundingBox &start, physics::Distance const &predictionDistance, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction distance. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutes (const match::MapMatchedObjectBoundingBox &start, physics::Distance const &predictionDistance, physics::Duration const &predictionDuration, RouteCreationMode const routeCreationMode=RouteCreationMode::SameDrivingDirection, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction distance and duration. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
std::vector< route::FullRoute > ad::map::route::planning::predictRoutesDirectionless (const point::ParaPoint &start, physics::Distance const &predictionDistance, physics::Duration const &predictionDuration, RouteCreationMode const routeCreationMode=RouteCreationMode::AllRoutableLanes, FilterDuplicatesMode const filterMode=FilterDuplicatesMode::SubRoutesPreferLongerOnes, ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 perform route based prediction restricted by the prediction distance and duration. Note: Route predictions will not stop in the middle of an intersection. They continue until the intersection is left again. More...
 
FullRouteList ad::map::route::planning::filterDuplicatedRoutes (const FullRouteList fullRoutes, FilterDuplicatesMode const filterMode)
 Filter duplicated routes from a list of routes. More...
 
std::ostream & ad::map::route::planning::operator<< (std::ostream &os, CompareRouteResult const &value)
 
CompareRouteResult ad::map::route::planning::compareRoutesOnIntervalLevel (FullRoute const &left, FullRoute const &right)
 Compare two routes on interval level. More...
 
ConnectingRoute ad::map::route::planning::calculateConnectingRoute (const match::Object &startObject, const match::Object &destObject, physics::Distance const &maxDistance, physics::Duration const &maxDuration, std::vector< route::FullRoute > const &startObjectPredictionHints=std::vector< route::FullRoute >(), std::vector< route::FullRoute > const &destObjectPredictionHints=std::vector< route::FullRoute >(), ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 Calculate the connecting route between the the two objects. More...
 
ConnectingRoute ad::map::route::planning::calculateConnectingRoute (const match::Object &startObject, const match::Object &destObject, physics::Distance const &maxDistance, std::vector< route::FullRoute > const &startObjectPredictionHints=std::vector< route::FullRoute >(), std::vector< route::FullRoute > const &destObjectPredictionHints=std::vector< route::FullRoute >(), ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 Calculate the connecting route between the the two objects. More...
 
ConnectingRoute ad::map::route::planning::calculateConnectingRoute (const match::Object &startObject, const match::Object &destObject, physics::Duration const &maxDuration, std::vector< route::FullRoute > const &startObjectPredictionHints=std::vector< route::FullRoute >(), std::vector< route::FullRoute > const &destObjectPredictionHints=std::vector< route::FullRoute >(), ::ad::map::lane::LaneIdSet const &relevantLanes=::ad::map::lane::LaneIdSet())
 Calculate the connecting route between the the two objects. More...
 
void ad::map::route::planning::updateRoutePlanningCounters (route::FullRoute &route)
 update route planning counters of the route More...
 
FullRoute ad::map::route::planning::createFullRoute (const Route::RawRoute &rawRoute, RouteCreationMode const routeCreationMode, lane::LaneIdSet const &relevantLanes)
 helper function to create a full route More...