maliput
RoutingConstraints Struct Reference

Detailed Description

Holds the constraints that can be applied to the Router when computing a Route.

#include <include/maliput/routing/routing_constraints.h>

Public Attributes

bool allow_lane_switch {true}
 Allows api::Lane switches within a Phase when computing the Route. More...
 
std::optional< doublemax_phase_cost {}
 Defines the maximum cost of a Phase. More...
 
std::optional< doublemax_route_cost {}
 Defines the maximim cost of a Route. More...
 

Member Data Documentation

◆ allow_lane_switch

bool allow_lane_switch {true}

Allows api::Lane switches within a Phase when computing the Route.

◆ max_phase_cost

std::optional<double> max_phase_cost {}

Defines the maximum cost of a Phase.

Cost is a router implementation detail and is thus unitless. When set, it must not be negative. When both max_route_cost and this parameter are set, max_route_cost >= max_phase_cost.

◆ max_route_cost

std::optional<double> max_route_cost {}

Defines the maximim cost of a Route.

Cost is a router implementation detail and is thus unitless. When set, it must not be negative. When both max_phase_cost and this parameter are set, max_route_cost >= max_phase_cost.


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