MSEdgeControl::LaneUsage Struct Reference

#include <MSEdgeControl.h>


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 193 of file 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.

Field Documentation

Information whether this lane is active.

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

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

Definition at line 203 of file MSEdgeControl.h.

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

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.


The documentation for this struct was generated from the following file:

Generated on Wed May 5 00:06:47 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6