SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSAbstractLaneChangeModel.h File Reference
#include <config.h>
#include "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_URGENT = 1, LCA_SPEEDGAIN = 2, LCA_LEFT = 4,
  LCA_RIGHT = 8, LCA_WANTS_LANECHANGE = LCA_URGENT | LCA_SPEEDGAIN | LCA_LEFT | LCA_RIGHT, LCA_BLOCKED_BY_LEFT_LEADER = 16, LCA_BLOCKED_BY_LEFT_FOLLOWER = 32,
  LCA_BLOCKED_BY_RIGHT_LEADER = 64, LCA_BLOCKED_BY_RIGHT_FOLLOWER = 128, 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 14494 2013-08-24 21:47:48Z behrisch
Author
Daniel Krajzewicz
Friedemann Wesner
Sascha Krieg
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005
Version
Id:
MSAbstractLaneChangeModel.h 14425 2013-08-16 20:11:47Z 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.

LCA_URGENT 

The action is due to the wish to follow the route (navigational lc)

LCA_SPEEDGAIN 

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

LCA_LEFT 

Wants go to the left.

LCA_RIGHT 

Wants go to the right.

LCA_WANTS_LANECHANGE 
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_BLOCKED_LEFT 
LCA_BLOCKED_RIGHT 
LCA_BLOCKED_BY_LEADER 
LCA_BLOCKED_BY_FOLLOWER 
LCA_BLOCKED 

Definition at line 45 of file MSAbstractLaneChangeModel.h.