Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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.
 
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.
 
double currentLength
 The length which may be driven on this lane.
 
MSLanelane = nullptr
 The described lane.
 
double length
 The overall length which may be driven when using this lane without a lane change.
 
double nextOccupation
 As occupation, but without the first lane.
 
double occupation
 The overall vehicle sum on consecutive lanes which can be passed without a lane change.
 

Detailed Description

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

Definition at line 853 of file MSVehicle.h.

Field Documentation

◆ allowsContinuation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 867 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 865 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 859 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 863 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 861 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: