![]() |
Eclipse 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. | |
| bool | haveNeighbors |
| Information whether this lane belongs to a multi-lane edge. | |
| MSLane * | lane |
| The described lane. | |
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 223 of file MSEdgeControl.h.
| bool MSEdgeControl::LaneUsage::amActive |
Information whether this lane is active.
Definition at line 227 of file MSEdgeControl.h.
Referenced by MSEdgeControl::changeLanes(), MSEdgeControl::executeMovements(), and MSEdgeControl::patchActiveLanes().
| bool MSEdgeControl::LaneUsage::haveNeighbors |
Information whether this lane belongs to a multi-lane edge.
Definition at line 229 of file MSEdgeControl.h.
Referenced by MSEdgeControl::executeMovements(), and MSEdgeControl::patchActiveLanes().
| MSLane* MSEdgeControl::LaneUsage::lane |
The described lane.
Definition at line 225 of file MSEdgeControl.h.