SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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.
std::vector< MSLane * > bestContinuations
 Consecutive lane that can be followed without a lane change (contribute to length and occupation)
int bestLaneOffset
 The (signed) number of lanes to be crossed to get to the lane which allows to continue the drive.
MSLane * lane
 The described lane.
SUMOReal length
 The overall length which may be driven when using this lane without a lane change.
SUMOReal nextOccupation
 As occupation, but without the first lane.
SUMOReal 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 route.

Definition at line 460 of file MSVehicle.h.


Field Documentation

bool MSVehicle::LaneQ::allowsContinuation

Whether this lane allows to continue the drive.

Definition at line 472 of file MSVehicle.h.

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

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

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

Definition at line 474 of file MSVehicle.h.

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

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

Referenced by MSVehicle::getBestLanes(), TraCIServerAPI_Vehicle::processGet(), MSLCM_DK2004::wantsChangeToLeft(), and MSLCM_DK2004::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 464 of file MSVehicle.h.

Referenced by MSVehicle::getBestLanes(), TraCIServerAPI_Vehicle::processGet(), MSLCM_DK2004::wantsChangeToLeft(), and MSLCM_DK2004::wantsChangeToRight().

SUMOReal MSVehicle::LaneQ::nextOccupation

As occupation, but without the first lane.

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

Referenced by MSLCM_DK2004::wantsChangeToLeft(), and MSLCM_DK2004::wantsChangeToRight().


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