Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSAbstractLaneChangeModel::StateAndDist Struct Reference

#include <MSAbstractLaneChangeModel.h>

Public Member Functions

bool sameDirection (const StateAndDist &other) const
 StateAndDist (int _state, double _latDist, double _targetDist, int _dir)

Data Fields

int dir
double latDist
double maneuverDist
int state

Detailed Description

Definition at line 112 of file MSAbstractLaneChangeModel.h.

Constructor & Destructor Documentation

◆ StateAndDist()

MSAbstractLaneChangeModel::StateAndDist::StateAndDist ( int _state,
double _latDist,
double _targetDist,
int _dir )
inline

Definition at line 122 of file MSAbstractLaneChangeModel.h.

References dir, latDist, maneuverDist, and state.

Referenced by sameDirection().

Here is the caller graph for this function:

Member Function Documentation

◆ sameDirection()

bool MSAbstractLaneChangeModel::StateAndDist::sameDirection ( const StateAndDist & other) const
inline

Definition at line 128 of file MSAbstractLaneChangeModel.h.

References latDist, and StateAndDist().

Referenced by MSLCM_SL2015::decideDirection().

Here is the caller graph for this function:

Field Documentation

◆ dir

int MSAbstractLaneChangeModel::StateAndDist::dir

◆ latDist

double MSAbstractLaneChangeModel::StateAndDist::latDist

◆ maneuverDist

double MSAbstractLaneChangeModel::StateAndDist::maneuverDist

◆ state

int MSAbstractLaneChangeModel::StateAndDist::state

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