SUMO - Simulation of Urban MObility
|
A structure holding some basic information about a simulated lane. More...
#include <MSEdgeControl.h>
Data Fields | |
bool | amActive |
Information whether this lane is active. | |
std::vector< MSLane * > ::const_iterator | firstNeigh |
The lane left to the described lane (==lastNeigh if none) | |
bool | haveNeighbors |
Information whether this lane belongs to a multi-lane edge. | |
MSLane * | lane |
The described lane. | |
std::vector< MSLane * > ::const_iterator | lastNeigh |
The end of this lane's edge's lane container. |
A structure holding some basic information about a simulated lane.
To fasten up speed, this structure holds the number of vehicles using a lane and the lane's neighbours. Only lanes that are occupied are forced to compute the vehicles longitunidal movement.
The information about a lane's neighbours speed up the computation of the lane changing.
Definition at line 193 of file MSEdgeControl.h.
bool MSEdgeControl::LaneUsage::amActive |
Information whether this lane is active.
Definition at line 201 of file MSEdgeControl.h.
Referenced by MSEdgeControl::changeLanes(), MSEdgeControl::executeMovements(), and MSEdgeControl::patchActiveLanes().
std::vector<MSLane*>::const_iterator MSEdgeControl::LaneUsage::firstNeigh |
The lane left to the described lane (==lastNeigh if none)
Definition at line 197 of file MSEdgeControl.h.
bool MSEdgeControl::LaneUsage::haveNeighbors |
Information whether this lane belongs to a multi-lane edge.
Definition at line 203 of file MSEdgeControl.h.
Referenced by MSEdgeControl::changeLanes(), MSEdgeControl::executeMovements(), and MSEdgeControl::patchActiveLanes().
MSLane* MSEdgeControl::LaneUsage::lane |
The described lane.
Definition at line 195 of file MSEdgeControl.h.
std::vector<MSLane*>::const_iterator MSEdgeControl::LaneUsage::lastNeigh |
The end of this lane's edge's lane container.
Definition at line 199 of file MSEdgeControl.h.