Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSEdgeControl::LaneUsage Struct Reference

A structure holding some basic information about a simulated lane. More...

#include <MSEdgeControl.h>

Collaboration diagram for MSEdgeControl::LaneUsage:
[legend]

Data Fields

bool amActive
 Information whether this lane is active.
 
bool haveNeighbors
 Information whether this lane belongs to a multi-lane edge.
 
MSLanelane
 The described lane.
 

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

Field Documentation

◆ amActive

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().

◆ haveNeighbors

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().

◆ lane

MSLane* MSEdgeControl::LaneUsage::lane

The described lane.

Definition at line 225 of file MSEdgeControl.h.


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