scenario_simulator_v2 C++ API
Public Types | Public Member Functions | Public Attributes | List of all members
traffic_simulator::lane_change::Constraint Struct Reference

#include <lane_change.hpp>

Public Types

enum class  Type { NONE = 0 , LATERAL_VELOCITY = 1 , LONGITUDINAL_DISTANCE = 2 , TIME = 3 }
 
enum class  Policy { FORCE = 0 , BEST_EFFORT = 1 }
 

Public Member Functions

constexpr Constraint (const Type type=Type::NONE, const double value=0, const Policy policy=Policy::FORCE)
 

Public Attributes

Type type
 
double value
 
Policy policy
 

Member Enumeration Documentation

◆ Policy

Enumerator
FORCE 
BEST_EFFORT 

◆ Type

Enumerator
NONE 
LATERAL_VELOCITY 
LONGITUDINAL_DISTANCE 
TIME 

Constructor & Destructor Documentation

◆ Constraint()

constexpr traffic_simulator::lane_change::Constraint::Constraint ( const Type  type = Type::NONE,
const double  value = 0,
const Policy  policy = Policy::FORCE 
)
inlineexplicitconstexpr

Member Data Documentation

◆ policy

Policy traffic_simulator::lane_change::Constraint::policy

◆ type

Type traffic_simulator::lane_change::Constraint::type

◆ value

double traffic_simulator::lane_change::Constraint::value

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