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

Field Documentation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 555 of file MSVehicle.h.

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

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

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

Definition at line 557 of file MSVehicle.h.

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

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

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

SUMOReal MSVehicle::LaneQ::currentLength

The length which may be driven on this lane.

Definition at line 547 of file MSVehicle.h.

Referenced by MSVehicle::updateBestLanes().

MSLane* MSVehicle::LaneQ::lane
SUMOReal MSVehicle::LaneQ::length

The overall length which may be driven when using this lane without a lane change.

Definition at line 545 of file MSVehicle.h.

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

SUMOReal MSVehicle::LaneQ::nextOccupation

As occupation, but without the first lane.

Definition at line 551 of file MSVehicle.h.

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

SUMOReal MSVehicle::LaneQ::occupation

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

Definition at line 549 of file MSVehicle.h.

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


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