SUMO - Simulation of Urban MObility
MSEdgeControl::LaneUsage Struct Reference

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.
MSLanelane
 The described lane.
std::vector< MSLane * >
::const_iterator 
lastNeigh
 The end of this lane's edge's lane container.

Detailed Description

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 202 of file MSEdgeControl.h.


Field Documentation

Information whether this lane is active.

Definition at line 210 of file MSEdgeControl.h.

Referenced by MSEdgeControl::changeLanes(), MSEdgeControl::moveFirst(), and MSEdgeControl::patchActiveLanes().

std::vector<MSLane*>::const_iterator MSEdgeControl::LaneUsage::firstNeigh

The lane left to the described lane (==lastNeigh if none)

Definition at line 206 of file MSEdgeControl.h.

Information whether this lane belongs to a multi-lane edge.

Definition at line 212 of file MSEdgeControl.h.

Referenced by MSEdgeControl::changeLanes(), MSEdgeControl::moveFirst(), and MSEdgeControl::patchActiveLanes().

The described lane.

Definition at line 204 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 208 of file MSEdgeControl.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines