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... | |
Controls the behaviour of the different possible path algorithms in RoutingGraph.
Consider the following graph (- or \ connects followers, | is a lane change):
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.
Optional<uint32_t> lanelet::routing::PossiblePathsParams::elementLimit |
element limit for every path. Effect depends on includeShorterPaths
Definition at line 52 of file RoutingGraph.h.
bool lanelet::routing::PossiblePathsParams::includeLaneChanges {false} |
if true, returned paths will include lane changes
Definition at line 54 of file RoutingGraph.h.
bool lanelet::routing::PossiblePathsParams::includeShorterPaths {false} |
also return paths that do not reach the limits
Definition at line 55 of file RoutingGraph.h.
RoutingCostId lanelet::routing::PossiblePathsParams::routingCostId {} |
the routing cost module to be used for the costs
Definition at line 53 of file RoutingGraph.h.
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.