Public Attributes | List of all members
lanelet::routing::PossiblePathsParams Struct Reference

Controls the behaviour of the different possible path algorithms in RoutingGraph. More...

#include <RoutingGraph.h>

Public Attributes

Optional< uint32_t > elementLimit
 element limit for every path. Effect depends on includeShorterPaths More...
 
bool includeLaneChanges {false}
 if true, returned paths will include lane changes More...
 
bool includeShorterPaths {false}
 also return paths that do not reach the limits More...
 
RoutingCostId routingCostId {}
 the routing cost module to be used for the costs More...
 
Optional< double > routingCostLimit
 cost limit for every path. Either that or maxElements must be valid. More...
 

Detailed Description

Controls the behaviour of the different possible path algorithms in RoutingGraph.

Consider the following graph (- or \ connects followers, | is a lane change):

1-2-3-4-5
\ /
6-7
| |
8-9

Assuming we are using lanelet 1 as start of the search you can get the following results:

Definition at line 50 of file RoutingGraph.h.

Member Data Documentation

◆ elementLimit

Optional<uint32_t> lanelet::routing::PossiblePathsParams::elementLimit

element limit for every path. Effect depends on includeShorterPaths

Definition at line 52 of file RoutingGraph.h.

◆ includeLaneChanges

bool lanelet::routing::PossiblePathsParams::includeLaneChanges {false}

if true, returned paths will include lane changes

Definition at line 54 of file RoutingGraph.h.

◆ includeShorterPaths

bool lanelet::routing::PossiblePathsParams::includeShorterPaths {false}

also return paths that do not reach the limits

Definition at line 55 of file RoutingGraph.h.

◆ routingCostId

RoutingCostId lanelet::routing::PossiblePathsParams::routingCostId {}

the routing cost module to be used for the costs

Definition at line 53 of file RoutingGraph.h.

◆ routingCostLimit

Optional<double> lanelet::routing::PossiblePathsParams::routingCostLimit

cost limit for every path. Either that or maxElements must be valid.

Definition at line 51 of file RoutingGraph.h.


The documentation for this struct was generated from the following file:


lanelet2_routing
Author(s): Matthias Mayr
autogenerated on Sun Oct 27 2024 02:27:49