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

A structure representing the best lanes for continuing the route. More...

#include <MSVehicle.h>

Collaboration diagram for MSVehicle::LaneQ:
Collaboration graph

Data Fields

bool allowsContinuation
 Whether this lane allows to continue the drive. More...
 
std::vector< MSLane * > bestContinuations
 Consecutive lane that can be followed without a lane change (contribute to length and occupation) More...
 
int bestLaneOffset
 The (signed) number of lanes to be crossed to get to the lane which allows to continue the drive. More...
 
SUMOReal currentLength
 The length which may be driven on this lane. More...
 
MSLanelane
 The described lane. More...
 
SUMOReal length
 The overall length which may be driven when using this lane without a lane change. More...
 
SUMOReal nextOccupation
 As occupation, but without the first lane. More...
 
SUMOReal 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 route.

Definition at line 669 of file MSVehicle.h.

Field Documentation

§ allowsContinuation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 683 of file MSVehicle.h.

Referenced by TraCIServerAPI_Vehicle::processGet(), and MSVehicle::updateBestLanes().

§ bestContinuations

std::vector<MSLane*> MSVehicle::LaneQ::bestContinuations

Consecutive lane that can be followed without a lane change (contribute to length and occupation)

Definition at line 685 of file MSVehicle.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::checkStrategicChange(), MSLCM_LC2013::getRoundaboutAheadInfo(), TraCIServerAPI_Vehicle::processGet(), and MSVehicle::updateBestLanes().

§ 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 681 of file MSVehicle.h.

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

§ currentLength

SUMOReal MSVehicle::LaneQ::currentLength

The length which may be driven on this lane.

Definition at line 675 of file MSVehicle.h.

Referenced by MSVehicle::updateBestLanes().

§ lane

§ length

§ nextOccupation

SUMOReal MSVehicle::LaneQ::nextOccupation

As occupation, but without the first lane.

Definition at line 679 of file MSVehicle.h.

Referenced by TraCIServerAPI_Vehicle::processGet(), and MSVehicle::updateBestLanes().

§ occupation

SUMOReal MSVehicle::LaneQ::occupation

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

Definition at line 677 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: