SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MSAbstractLaneChangeModel.h File Reference
#include <config.h>
#include <microsim/MSVehicle.h>

Go to the source code of this file.

Data Structures

class  MSAbstractLaneChangeModel
 Interface for lane-change models. More...
 
class  MSAbstractLaneChangeModel::MSLCMessager
 A class responsible for exchanging messages between cars involved in lane-change interaction. More...
 

Enumerations

enum  LaneChangeAction {
  LCA_NONE = 0, LCA_STAY = 1 << 0, LCA_LEFT = 1 << 1, LCA_RIGHT = 1 << 2,
  LCA_STRATEGIC = 1 << 3, LCA_COOPERATIVE = 1 << 4, LCA_SPEEDGAIN = 1 << 5, LCA_KEEPRIGHT = 1 << 6,
  LCA_TRACI = 1 << 7, LCA_URGENT = 1 << 8, LCA_WANTS_LANECHANGE = LCA_LEFT | LCA_RIGHT, LCA_WANTS_LANECHANGE_OR_STAY = LCA_WANTS_LANECHANGE | LCA_STAY,
  LCA_BLOCKED_BY_LEFT_LEADER = 1 << 9, LCA_BLOCKED_BY_LEFT_FOLLOWER = 1 << 10, LCA_BLOCKED_BY_RIGHT_LEADER = 1 << 11, LCA_BLOCKED_BY_RIGHT_FOLLOWER = 1 << 12,
  LCA_OVERLAPPING = 1 << 13, LCA_BLOCKED_LEFT = LCA_BLOCKED_BY_LEFT_LEADER | LCA_BLOCKED_BY_LEFT_FOLLOWER, LCA_BLOCKED_RIGHT = LCA_BLOCKED_BY_RIGHT_LEADER | LCA_BLOCKED_BY_RIGHT_FOLLOWER, LCA_BLOCKED_BY_LEADER = LCA_BLOCKED_BY_LEFT_LEADER | LCA_BLOCKED_BY_RIGHT_LEADER,
  LCA_BLOCKED_BY_FOLLOWER = LCA_BLOCKED_BY_LEFT_FOLLOWER | LCA_BLOCKED_BY_RIGHT_FOLLOWER, LCA_BLOCKED = LCA_BLOCKED_LEFT | LCA_BLOCKED_RIGHT
}
 A try to store the state of a vehicle's lane-change wish in an int. More...
 

Detailed Description

Author
Daniel Krajzewicz
Friedemann Wesner
Sascha Krieg
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005
Version
Id
MSAbstractLaneChangeModel.cpp 18095 2015-03-17 09:39:00Z behrisch
Author
Daniel Krajzewicz
Friedemann Wesner
Sascha Krieg
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005
Version
Id
MSAbstractLaneChangeModel.h 18095 2015-03-17 09:39:00Z behrisch

Definition in file MSAbstractLaneChangeModel.h.

Enumeration Type Documentation

A try to store the state of a vehicle's lane-change wish in an int.

Enumerator
LCA_NONE 

No action desired.

LCA_STAY 

Needs to stay on the current lane.

LCA_LEFT 

Wants go to the left.

LCA_RIGHT 

Wants go to the right.

LCA_STRATEGIC 

The action is needed to follow the route (navigational lc)

LCA_COOPERATIVE 

The action is done to help someone else.

LCA_SPEEDGAIN 

The action is due to the wish to be faster (tactical lc)

LCA_KEEPRIGHT 

The action is due to the default of keeping right "Rechtsfahrgebot".

LCA_TRACI 

The action is due to a TraCI request.

LCA_URGENT 

The action is urgent (to be defined by lc-model)

LCA_WANTS_LANECHANGE 
LCA_WANTS_LANECHANGE_OR_STAY 
LCA_BLOCKED_BY_LEFT_LEADER 

The vehicle is blocked by left leader.

LCA_BLOCKED_BY_LEFT_FOLLOWER 

The vehicle is blocked by left follower.

LCA_BLOCKED_BY_RIGHT_LEADER 

The vehicle is blocked by right leader.

LCA_BLOCKED_BY_RIGHT_FOLLOWER 

The vehicle is blocked by right follower.

LCA_OVERLAPPING 
LCA_BLOCKED_LEFT 
LCA_BLOCKED_RIGHT 
LCA_BLOCKED_BY_LEADER 
LCA_BLOCKED_BY_FOLLOWER 
LCA_BLOCKED 

Definition at line 46 of file MSAbstractLaneChangeModel.h.