![]() |
SUMO - Simulation of Urban MObility
|
#include <MSLaneChanger.h>
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) |
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.
MSLaneChanger::ChangeElem::ChangeElem | ( | MSLane * | _lane | ) |
Definition at line 70 of file MSLaneChanger.cpp.
void MSLaneChanger::ChangeElem::addLink | ( | MSLink * | link | ) |
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.