SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MSVehicle::LaneQ Struct Reference

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

#include <MSVehicle.h>

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

Field Documentation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 468 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 470 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 466 of file MSVehicle.h.

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

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

Referenced by TraCIServerAPI_Vehicle::processGet().

SUMOReal MSVehicle::LaneQ::occupation

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

Definition at line 462 of file MSVehicle.h.

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


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