Eclipse SUMO - Simulation of Urban MObility
MSVehicle::LaneQ Struct Reference

A structure representing the best lanes for continuing the current route starting at 'lane'. More...

#include <MSVehicle.h>

Collaboration diagram for MSVehicle::LaneQ:
[legend]

Data Fields

bool allowsContinuation
 Whether this lane allows to continue the drive. More...
 
std::vector< MSLane * > bestContinuations
 
int bestLaneOffset
 The (signed) number of lanes to be crossed to get to the lane which allows to continue the drive. More...
 
double currentLength
 The length which may be driven on this lane. More...
 
MSLanelane = nullptr
 The described lane. More...
 
double length
 The overall length which may be driven when using this lane without a lane change. More...
 
double nextOccupation
 As occupation, but without the first lane. More...
 
double occupation
 The overall vehicle sum on consecutive lanes which can be passed without a lane change. More...
 

Detailed Description

A structure representing the best lanes for continuing the current route starting at 'lane'.

Definition at line 865 of file MSVehicle.h.

Field Documentation

◆ allowsContinuation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 879 of file MSVehicle.h.

Referenced by MSVehicle::updateBestLanes().

◆ bestContinuations

◆ bestLaneOffset

int MSVehicle::LaneQ::bestLaneOffset

The (signed) number of lanes to be crossed to get to the lane which allows to continue the drive.

Definition at line 877 of file MSVehicle.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSVehicle::betterContinuation(), MSLCM_SL2015::checkStrategicChange(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().

◆ currentLength

double MSVehicle::LaneQ::currentLength

The length which may be driven on this lane.

Definition at line 871 of file MSVehicle.h.

Referenced by MSVehicle::updateBestLanes().

◆ lane

◆ length

double MSVehicle::LaneQ::length

◆ nextOccupation

double MSVehicle::LaneQ::nextOccupation

As occupation, but without the first lane.

Definition at line 875 of file MSVehicle.h.

Referenced by MSVehicle::updateBestLanes().

◆ occupation

double MSVehicle::LaneQ::occupation

The overall vehicle sum on consecutive lanes which can be passed without a lane change.

Definition at line 873 of file MSVehicle.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::checkStrategicChange(), MSVehicle::updateBestLanes(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().


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