SUMO - Simulation of Urban MObility
MSLaneChanger::ChangeElem Struct Reference

#include <MSLaneChanger.h>

Collaboration diagram for MSLaneChanger::ChangeElem:
Collaboration graph

Public Member Functions

 ChangeElem (MSLane *_lane)
 

Data Fields

SUMOReal dens
 
MSVehicle * firstBlocked
 the first vehicle on this edge that wants to change to this lane More...
 
MSVehicle * hoppedVeh
 last vehicle that changed into this lane More...
 
MSLane * lane
 the lane the vehicle is on More...
 
MSVehicle * lastBlocked
 the vehicle that really wants to change to this lane More...
 
MSVehicle * lead
 the vehicle in front of the current vehicle More...
 

Members which are used only by MSLaneChangerSublane

MSLeaderInfo ahead
 
void addLink (MSLink *link)
 

Detailed Description

Structure used for lane-change. For every lane you have to know four vehicles, the change-candidate veh and it's follower and leader. Further, information about the last vehicle that changed into this lane is needed

Definition at line 71 of file MSLaneChanger.h.

Constructor & Destructor Documentation

§ ChangeElem()

MSLaneChanger::ChangeElem::ChangeElem ( MSLane *  _lane)

Definition at line 70 of file MSLaneChanger.cpp.

Member Function Documentation

§ addLink()

void MSLaneChanger::ChangeElem::addLink ( MSLink *  link)

Field Documentation

§ ahead

MSLeaderInfo MSLaneChanger::ChangeElem::ahead

Definition at line 91 of file MSLaneChanger.h.

§ dens

SUMOReal MSLaneChanger::ChangeElem::dens

Definition at line 86 of file MSLaneChanger.h.

§ firstBlocked

MSVehicle* MSLaneChanger::ChangeElem::firstBlocked

the first vehicle on this edge that wants to change to this lane

Definition at line 84 of file MSLaneChanger.h.

§ hoppedVeh

MSVehicle* MSLaneChanger::ChangeElem::hoppedVeh

last vehicle that changed into this lane

Definition at line 80 of file MSLaneChanger.h.

§ lane

MSLane* MSLaneChanger::ChangeElem::lane

the lane the vehicle is on

Definition at line 78 of file MSLaneChanger.h.

§ lastBlocked

MSVehicle* MSLaneChanger::ChangeElem::lastBlocked

the vehicle that really wants to change to this lane

Definition at line 82 of file MSLaneChanger.h.

§ lead

MSVehicle* MSLaneChanger::ChangeElem::lead

the vehicle in front of the current vehicle

Definition at line 76 of file MSLaneChanger.h.


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