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
 
MSVehiclefirstBlocked
 the first vehicle on this edge that wants to change to this lane More...
 
MSVehiclehoppedVeh
 last vehicle that changed into this lane More...
 
MSLanelane
 the lane the vehicle is on More...
 
MSVehiclelastBlocked
 the vehicle that really wants to change to this lane More...
 
MSVehiclelead
 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

MSLaneChanger::ChangeElem::ChangeElem ( MSLane _lane)

Definition at line 69 of file MSLaneChanger.cpp.

Member Function Documentation

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

Field Documentation

MSLeaderInfo MSLaneChanger::ChangeElem::ahead

Definition at line 91 of file MSLaneChanger.h.

SUMOReal MSLaneChanger::ChangeElem::dens

Definition at line 86 of file MSLaneChanger.h.

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.

MSVehicle* MSLaneChanger::ChangeElem::hoppedVeh

last vehicle that changed into this lane

Definition at line 80 of file MSLaneChanger.h.

MSLane* MSLaneChanger::ChangeElem::lane

the lane the vehicle is on

Definition at line 78 of file MSLaneChanger.h.

MSVehicle* MSLaneChanger::ChangeElem::lastBlocked

the vehicle that really wants to change to this lane

Definition at line 82 of file MSLaneChanger.h.

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: