Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSDevice_ToC Class Reference

The ToC Device controls transition of control between automated and manual driving. More...

#include <MSDevice_ToC.h>

Inheritance diagram for MSDevice_ToC:
[legend]
Collaboration diagram for MSDevice_ToC:
[legend]

Data Structures

struct  OpenGapParams

Public Types

enum  Notification {
  NOTIFICATION_DEPARTED , NOTIFICATION_JUNCTION , NOTIFICATION_SEGMENT , NOTIFICATION_LANE_CHANGE ,
  NOTIFICATION_LOAD_STATE , NOTIFICATION_TELEPORT , NOTIFICATION_TELEPORT_CONTINUATION , NOTIFICATION_PARKING ,
  NOTIFICATION_REROUTE , NOTIFICATION_PARKING_REROUTE , NOTIFICATION_ARRIVED , NOTIFICATION_TELEPORT_ARRIVED ,
  NOTIFICATION_VAPORIZED_CALIBRATOR , NOTIFICATION_VAPORIZED_COLLISION , NOTIFICATION_VAPORIZED_TRACI , NOTIFICATION_VAPORIZED_GUI ,
  NOTIFICATION_VAPORIZED_VAPORIZER , NOTIFICATION_VAPORIZED_BREAKDOWN , NOTIFICATION_NONE
}
 Definition of a vehicle state. More...

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
SUMOTime awarenessRecoveryStep (SUMOTime t)
 Continue the awareness recovery for one time step.
const std::string deviceName () const override
 return the name for this type of device
virtual void generateOutput (OutputDevice *) const
 Called on vehicle deletion to extend tripinfo and other outputs.
bool generatesOutput ()
 Whether this device requested to write output.
const std::string & getDescription () const
SUMOVehiclegetHolder () const
 Returns the vehicle that holds this device.
const std::string & getID () const
 Returns the id.
const MSLanegetLane () const
 Returns the lane the reminder works on.
SUMOVehicle::NumericalID getNumericalID () const
std::string getParameter (const std::string &key) const override
 try to retrieve the given parameter from this device. Throw exception for unsupported key
virtual bool isParkingRerouter () const
void loadReminderState (long long int numID, SUMOTime time, double pos)
virtual void loadState (const SUMOSAXAttributes &attrs)
 Loads the state of the device from the given description.
SUMOTime MRMExecutionStep (SUMOTime t)
 Continue the MRM for one time step.
bool notifyMove (SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed) override
 Return value indicates whether the device still wants to be notified about the vehicle movement.
virtual void notifyMoveInternal (const SUMOTrafficObject &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane)
 Internal notification about the vehicle moves.
void saveReminderState (OutputDevice &out, const SUMOTrafficObject &veh)
 Saves the current state into the given stream.
virtual void saveState (OutputDevice &out) const
 Saves the state of the device.
void setDescription (const std::string &description)
virtual void setID (const std::string &newID)
 resets the id
void setParameter (const std::string &key, const std::string &value) override
 try to set the given parameter for this device. Throw exception for unsupported key
SUMOTime ToCPreparationStep (SUMOTime t)
 Continue the ToC preparation for one time step.
SUMOTime triggerDownwardToC (SUMOTime t)
 Trigger execution of a ToC X-->MANUAL ("downwards").
SUMOTime triggerMRM (SUMOTime t)
 Trigger execution of an MRM.
SUMOTime triggerUpwardToC (SUMOTime t)
 Trigger execution of a ToC X-->AUTOMATED ("upwards").
void writeOutput ()
 Write output to file given by option device.toc.file.
 ~MSDevice_ToC ()
 Destructor.
Interface methods, to be derived by subclasses
virtual bool notifyEnter (SUMOTrafficObject &veh, Notification reason, const MSLane *enteredLane)
 Checks whether the reminder is activated by a vehicle entering the lane.
virtual bool notifyIdle (SUMOTrafficObject &veh)
 Computes idling emission values and adds them to the emission sums.
virtual void notifyParking ()
 called to update state for parking vehicles
virtual void notifyStopEnded ()
 called to update state for stopped vehicles
virtual bool notifyLeave (SUMOTrafficObject &veh, double lastPos, Notification reason, const MSLane *enteredLane=nullptr)
 Called if the vehicle leaves the reminder's lane.
virtual bool notifyLeaveBack (SUMOTrafficObject &veh, Notification reason, const MSLane *leftLane)
 Called if the vehicle's back leaves the reminder's lane.
virtual bool notifyReroute (SUMOTrafficObject &veh)
 Called if the vehicle change it's route.
void updateDetector (SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)

Static Public Member Functions

static void buildTransportableDevices (MSTransportable &p, std::vector< MSTransportableDevice * > &into)
 Build devices for the given person, if needed.
static void buildVehicleDevices (SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
 Build devices for the given vehicle, if needed.
static bool checkOptions (OptionsCont &oc)
 check device-specific options
static void cleanup ()
 Closes root tags of output files.
static void cleanupAll ()
 perform cleanup for all devices
static std::string getDeviceName (const std::string &id)
 extracts the deviceName from the id (which includes holder id) and is subject to special cases
static SumoRNGgetEquipmentRNG ()
template<class T>
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null
static const std::set< MSDevice_ToC *, ComparatorNumericalIdLess > & getInstances ()
 returns all currently existing ToC devices
static SumoRNGgetResponseTimeRNG ()
static void insertOptions (OptionsCont &oc)
 Inserts MSDevice_ToC-options.

Static Public Attributes

static const std::string LOADSTATE_DEVICENAMES
static StringBijection< NotificationNotifications

Protected Member Functions

void removeFromVehicleUpdateValues (SUMOTrafficObject &veh)

Static Protected Member Functions

Helper methods for device assignment
static void insertDefaultAssignmentOptions (const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc, const bool isPerson=false)
 Adds common command options that allow to assign devices to vehicles.
template<class DEVICEHOLDER>
static bool equippedByDefaultAssignmentOptions (const OptionsCont &oc, const std::string &deviceName, DEVICEHOLDER &v, bool outputOptionSet, const bool isPerson=false)
 Determines whether a vehicle should get a certain device.

Protected Attributes

std::string myDescription
 a description of this moveReminder
SUMOVehiclemyHolder
 The vehicle that stores the device.
std::string myID
 The name of the object.
MSLanemyLane
 Lane on which the reminder works.

Private Types

enum  ToCState {
  UNDEFINED = 0 , MANUAL = 1 , AUTOMATED = 2 , PREPARING_TOC = 3 ,
  MRM = 4 , RECOVERING = 5
}
 Enum describing the different regimes for the device,. More...

Private Member Functions

bool checkDynamicToC ()
 Check if the vehicle should induce a ToC due to internal reasons. That is, if the route cannot be followed for more time than a given threshold,.
void deactivateDeliberateLCs ()
 Resets the holder's LC mode to the operational LC-mode of the ToC Device (.
void descheduleMRM ()
 Break MRM Process or remove MRM-Trigger command from the event-queue.
void descheduleRecovery ()
 Remove ongoing awareness recovery process from the event-queue.
void descheduleToC ()
 Remove scheduled ToC-Trigger command from the event-queue.
void descheduleToCPreparation ()
 Remove ongoing ToC-Preparation process from the event-queue.
void initColorScheme ()
 Initialize vehicle colors for different states.
bool isAutomated ()
 Whether the current operation mode is automated.
bool isManuallyDriven ()
 Whether the current operation mode is manual.
 MSDevice_ToC (const MSDevice_ToC &)
 Invalidated copy constructor.
 MSDevice_ToC (SUMOVehicle &holder, const std::string &id, const std::string &outputFilename, const std::string &manualType, const std::string &automatedType, SUMOTime responseTime, double recoveryRate, double lcAbstinence, double initialAwareness, double mrmDecel, double dynamicToCThreshold, double dynamicMRMProbability, double maxPreparationAccel, bool mrmKeepRight, const std::string &mrmSafeSpot, SUMOTime mrmSafeSpotDuration, bool useColorScheme, OpenGapParams ogp)
 Constructor.
MSDevice_ToCoperator= (const MSDevice_ToC &)
 Invalidated assignment operator.
void requestMRM ()
 Request an MRM to be initiated immediately. No downward ToC will be scheduled.
void requestToC (SUMOTime timeTillMRM, SUMOTime responseTime=-1000)
 Request a ToC. If the device is in AUTOMATED or MRM state, a driver response time is sampled and the ToC is scheduled. If the response is larger than timeTillMRM, an MRM is scheduled as well. If the device is in MANUAL or UNDEFINED state, it switches to AUTOMATED. The request is ignored if the state is already PREPARING_TOC.
void resetDeliberateLCs ()
 Resets the holder's LC mode to the last differing to LCModeMRM.
double sampleResponseTime (double leadTime) const
 Samples a random driver response time from a truncated Gaussian with parameters according to the lookup tables.
void setAwareness (double value)
 Set the awareness to the given value.
void setState (ToCState state)
 Set the ToC device's state.
void setVehicleColor ()
void switchHolderType (const std::string &targetTypeID)
 Switch the device holder's vehicle type.

Static Private Member Functions

static double interpolateVariance (double leadTime, double pMRM)
 Two-dimensional interpolation of variance from lookup table assumes pMRM >= 0, leadTime >= 0.
static double responseTimeMean (double leadTime)
 Mean of the response time distribution. (Only depends on given lead time).
Helpers for parameter parsing
static double getDynamicMRMProbability (const SUMOVehicle &v)
static OpenGapParams getOpenGapParams (const SUMOVehicle &v)
static ToCState _2ToCState (const std::string &)
static std::string _2string (ToCState state)

Private Attributes

bool myDynamicToCActive
 Switch for considering dynamic ToCs,.
int myDynamicToCLane
 Lane, on which the ongoing dynamic ToC was issued. It can only be aborted if the lane was changed.
double myDynamicToCThreshold
 Duration in s. for which the vehicle needs to be able to follow its route without a lane change to continue in automated mode (only has effect if dynamic ToCs are activated,.
std::queue< std::pair< std::string, double > > myEventLanes
 Storage for events to be written to the output.
std::queue< std::pair< SUMOTime, std::string > > myEvents
 Storage for events to be written to the output.
std::queue< std::pair< double, double > > myEventXY
 Storage for events to be written to the output.
MSVehiclemyHolderMS
 The holder vehicle casted to MSVehicle*.
bool myIssuedDynamicToC
 Flag to indicate that a dynamically triggered ToC is in preparation.
std::map< long long int, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
double myMaxPreparationAccel
 Maximal acceleration that may be applied during the ToC preparation phase TODO: Make effective.
bool myMRMKeepRight
 Whether vehicle tries to change to the right during an MRM.
double myMRMProbability
 Probability of an MRM to occur after a dynamically triggered ToC.
std::string myMRMSafeSpot
 stop vehicle tries to reach during MRM
SUMOTime myMRMSafeSpotDuration
 duration at stop vehicle tries to reach during MRM
OpenGapParams myOpenGapParams
 Parameters for the openGap mechanism applied during ToC preparation phase.
double myOriginalMaxAccel
 Storage for original maximal acceleration of vehicle.
OutputDevicemyOutputFile
 The file the devices output goes to.
int myPreviousLCMode
 LC mode overridden during MRM, stored for restoration.
private state members of the ToC device
std::string myManualTypeID
 vehicle type ID for manual driving
std::string myAutomatedTypeID
 vehicle type ID for automated driving
SUMOTime myResponseTime
 Average response time needed by the driver to take back control.
double myRecoveryRate
 Recovery rate for the driver's awareness after a ToC.
double myLCAbstinence
 Level of the awareness below which no lane-changes are performed.
double myInitialAwareness
 Average awareness the driver has initially after a ToC.
double myMRMDecel
 Deceleration rate applied during MRM.
double myCurrentAwareness
 Current awareness-level of the driver in [0,1].
std::map< ToCState, RGBColormyColorScheme
 Coloring scheme,.
bool myUseColorScheme
 Whether a coloring scheme shall by applied to indicate the different toc stages,.
ToCState myState
 Current state of the device.
Commands sent to the EventControl (used for cleanup)
Note
Must be removed in destructor.
WrappingCommand< MSDevice_ToC > * myTriggerMRMCommand
WrappingCommand< MSDevice_ToC > * myTriggerToCCommand
WrappingCommand< MSDevice_ToC > * myRecoverAwarenessCommand
WrappingCommand< MSDevice_ToC > * myExecuteMRMCommand
WrappingCommand< MSDevice_ToC > * myPrepareToCCommand

Static Private Attributes

static std::set< std::string > createdOutputFiles
static int LCModeMRM = 768
 LC mode operational during an MRM.
static std::vector< double > lookupResponseTimeLeadTimes = {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.2, 1.3, 1.4, 1.5, 1.5999999999999999, 1.7, 1.8, 1.9, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.5, 3.75, 4.0, 4.25, 4.5, 4.75, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 11.5, 12.0, 12.5, 13.0, 13.5, 14.0, 14.5, 15.0, 15.5, 16.0, 16.5, 17.0, 17.5, 18.0, 18.5, 19.0, 19.5, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 38.0, 39.0, 40.0, 41.0, 42.0, 43.0, 44.0, 45.0, 46.0, 47.0, 48.0, 49.0, 50.0}
static std::vector< double > lookupResponseTimeMRMProbs = {0.0, 0.05, 0.1, 0.15000000000000002, 0.2, 0.25, 0.30000000000000004, 0.35000000000000003, 0.4, 0.45, 0.5}
 Grid of the response time distribution.
static std::vector< std::vector< double > > lookupResponseTimeVariances
 Variances of the response time distribution. Given the lead time and the MRM probability the variances in this table ensure that for the mean returned by responseTimeMean(leadTime) an MRM will occur with probability pMRM.
static SumoRNG myEquipmentRNG
 A random number generator used to choose from vtype/route distributions and computing the speed factors.
static std::map< std::string, std::set< std::string > > myExplicitIDs
 vehicles which explicitly carry a device, sorted by device, first
static std::set< MSDevice_ToC *, ComparatorNumericalIdLessmyInstances = std::set<MSDevice_ToC*, ComparatorNumericalIdLess>()
static SumoRNG myResponseTimeRNG
 Random generator for ToC devices.
static StringBijection< Notification >::Entry NotificationValues []

Detailed Description

The ToC Device controls transition of control between automated and manual driving.

See also
MSDevice

Definition at line 52 of file MSDevice_ToC.h.

Member Enumeration Documentation

◆ Notification

Definition of a vehicle state.

Enumerator
NOTIFICATION_DEPARTED 

The vehicle has departed (was inserted into the network).

NOTIFICATION_JUNCTION 

The vehicle arrived at a junction.

NOTIFICATION_SEGMENT 

The vehicle changes the segment (meso only).

NOTIFICATION_LANE_CHANGE 

The vehicle changes lanes (micro only).

NOTIFICATION_LOAD_STATE 

The vehicle has been loaded from a state file.

NOTIFICATION_TELEPORT 

The vehicle is being teleported.

NOTIFICATION_TELEPORT_CONTINUATION 

The vehicle continues being teleported past an edge.

NOTIFICATION_PARKING 

The vehicle starts or ends parking.

NOTIFICATION_REROUTE 

The vehicle changed it's route.

NOTIFICATION_PARKING_REROUTE 

The vehicle needs another parking area.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted).

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

NOTIFICATION_VAPORIZED_CALIBRATOR 

The vehicle got removed by a calibrator.

NOTIFICATION_VAPORIZED_COLLISION 

The vehicle got removed by a collision.

NOTIFICATION_VAPORIZED_TRACI 

The vehicle got removed via TraCI.

NOTIFICATION_VAPORIZED_GUI 

The vehicle got removed via the GUI.

NOTIFICATION_VAPORIZED_VAPORIZER 

The vehicle got vaporized with a vaporizer.

NOTIFICATION_VAPORIZED_BREAKDOWN 

The vehicle got removed via stationfinder device.

NOTIFICATION_NONE 

must be the last one

Definition at line 91 of file MSMoveReminder.h.

◆ ToCState

enum MSDevice_ToC::ToCState
private

Enum describing the different regimes for the device,.

See also
myState Possible transitions: AUTOMATED -> PREPARING_TOC PREPARING_TOC -> PERFORMING_MRM PREPARING_TOC -> MANUAL PERFORMING_MRM -> MANUAL MANUAL -> AUTOMATED
Enumerator
UNDEFINED 
MANUAL 
AUTOMATED 
PREPARING_TOC 
MRM 
RECOVERING 

Definition at line 108 of file MSDevice_ToC.h.

Constructor & Destructor Documentation

◆ ~MSDevice_ToC()

MSDevice_ToC::~MSDevice_ToC ( )

◆ MSDevice_ToC() [1/2]

MSDevice_ToC::MSDevice_ToC ( SUMOVehicle & holder,
const std::string & id,
const std::string & outputFilename,
const std::string & manualType,
const std::string & automatedType,
SUMOTime responseTime,
double recoveryRate,
double lcAbstinence,
double initialAwareness,
double mrmDecel,
double dynamicToCThreshold,
double dynamicMRMProbability,
double maxPreparationAccel,
bool mrmKeepRight,
const std::string & mrmSafeSpot,
SUMOTime mrmSafeSpotDuration,
bool useColorScheme,
OpenGapParams ogp )
private

Constructor.

Parameters
[in]holderThe vehicle that holds this device
[in]idThe ID of the device
[in]fileThe file to write the device's output to
[in]manualTypevType that models manual driving
[in]automatedTypevType that models automated driving
[in]responseTimetime lapse until vType switch after request was received
[in]recoveryRaterate at which the awareness increases after the takeover
[in]lcAbstinenceawareness level below which no lane changes are taken out
[in]initialAwarenessvalue to which the awareness is set after takeover
[in]mrmDecelconstant deceleration rate assumed to be applied during an MRM
[in]mrmKeepRightwhether the vehicle tries to change to the right during an MRM
[in]mrmSafeSpotstopping place to reach during an MRM
[in]useColorSchemewhether the color of the vehicle should be changed according to its current ToC-state
[in]ogpparameters for the openGap mechanism applied during ToC preparation phase

Definition at line 245 of file MSDevice_ToC.cpp.

References _2string(), AUTOMATED, createdOutputFiles, OutputDevice::getDevice(), MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSRouteHandler::getParsingRNG(), MSNet::getVehicleControl(), SUMOTrafficObject::getVehicleType(), MSVehicleControl::getVType(), MSVehicleControl::getVTypeDistributionMembership(), MSVehicleControl::hasVType(), MSVehicleControl::hasVTypeDistribution(), initColorScheme(), MANUAL, MSVehicleDevice::MSVehicleDevice(), myAutomatedTypeID, myCurrentAwareness, myDynamicToCActive, myDynamicToCLane, myDynamicToCThreshold, myEventLanes, myEvents, myEventXY, myExecuteMRMCommand, myHolderMS, myInitialAwareness, myInstances, myIssuedDynamicToC, myLCAbstinence, myManualTypeID, myMaxPreparationAccel, myMRMDecel, myMRMKeepRight, myMRMProbability, myMRMSafeSpot, myMRMSafeSpotDuration, myOpenGapParams, myOriginalMaxAccel, myOutputFile, myPrepareToCCommand, myPreviousLCMode, myRecoverAwarenessCommand, myRecoveryRate, myResponseTime, myState, myTriggerMRMCommand, myTriggerToCCommand, and myUseColorScheme.

Referenced by buildVehicleDevices(), MSDevice_ToC(), and operator=().

Here is the caller graph for this function:

◆ MSDevice_ToC() [2/2]

MSDevice_ToC::MSDevice_ToC ( const MSDevice_ToC & )
private

Invalidated copy constructor.

References MSDevice_ToC().

Member Function Documentation

◆ _2string()

std::string MSDevice_ToC::_2string ( ToCState state)
staticprivate

Definition at line 998 of file MSDevice_ToC.cpp.

References AUTOMATED, MANUAL, MRM, PREPARING_TOC, RECOVERING, TL, toString(), UNDEFINED, and WRITE_WARNINGF.

Referenced by getParameter(), and MSDevice_ToC().

Here is the caller graph for this function:

◆ _2ToCState()

MSDevice_ToC::ToCState MSDevice_ToC::_2ToCState ( const std::string & str)
staticprivate

Definition at line 977 of file MSDevice_ToC.cpp.

References AUTOMATED, MANUAL, MRM, PREPARING_TOC, RECOVERING, TL, UNDEFINED, and WRITE_WARNINGF.

◆ addTo()

void Named::addTo ( const StoringVisitor & cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ awarenessRecoveryStep()

SUMOTime MSDevice_ToC::awarenessRecoveryStep ( SUMOTime t)

Continue the awareness recovery for one time step.

Definition at line 767 of file MSDevice_ToC.cpp.

References DELTA_T, MANUAL, MIN2(), myCurrentAwareness, MSVehicleDevice::myHolder, myRecoverAwarenessCommand, myRecoveryRate, setAwareness(), setState(), SIMTIME, and TS.

Referenced by triggerDownwardToC().

Here is the caller graph for this function:

◆ buildTransportableDevices()

void MSDevice::buildTransportableDevices ( MSTransportable & p,
std::vector< MSTransportableDevice * > & into )
staticinherited

Build devices for the given person, if needed.

Parameters
[in]pThe person for which a device may be built
[filled]into The vector to store the built device in

Definition at line 139 of file MSDevice.cpp.

References MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), and MSTransportableDevice_Routing::buildDevices().

Referenced by MSTransportable::MSTransportable().

Here is the caller graph for this function:

◆ buildVehicleDevices()

void MSDevice_ToC::buildVehicleDevices ( SUMOVehicle & v,
std::vector< MSVehicleDevice * > & into )
static

Build devices for the given vehicle, if needed.

The options are read and evaluated whether a ToC-device shall be built for the given vehicle.

The built device is stored in the given vector.

Parameters
[in]vThe vehicle for which a device may be built
[filled]into The vector to store the built device in

Definition at line 154 of file MSDevice_ToC.cpp.

References MSDevice::equippedByDefaultAssignmentOptions(), SUMOTrafficObject::getBoolParam(), getDynamicMRMProbability(), SUMOTrafficObject::getFloatParam(), Named::getID(), getOpenGapParams(), OptionsCont::getOptions(), SUMOTrafficObject::getStringParam(), MSGlobals::gUseMesoSim, MSDevice_ToC(), TIME2STEPS, TL, and WRITE_WARNING.

Referenced by MSDevice::buildVehicleDevices().

Here is the caller graph for this function:

◆ checkDynamicToC()

bool MSDevice_ToC::checkDynamicToC ( )
private

Check if the vehicle should induce a ToC due to internal reasons. That is, if the route cannot be followed for more time than a given threshold,.

See also
myDynamicToCThreshold

Definition at line 1096 of file MSDevice_ToC.cpp.

References DYNAMIC_TOC_ABORT_RESISTANCE_FACTOR, MSLane::getNumericalID(), MSLane::isInternal(), MAX2(), myDynamicToCActive, myDynamicToCLane, myDynamicToCThreshold, MSVehicleDevice::myHolder, myHolderMS, myIssuedDynamicToC, myMRMDecel, and SIMTIME.

Referenced by notifyMove().

Here is the caller graph for this function:

◆ checkOptions()

bool MSDevice::checkOptions ( OptionsCont & oc)
staticinherited

check device-specific options

Parameters
[filled]oc The options container with the user-defined options

Definition at line 106 of file MSDevice.cpp.

References MSDevice_Routing::checkOptions().

Referenced by MSFrame::checkOptions().

Here is the caller graph for this function:

◆ cleanup()

void MSDevice_ToC::cleanup ( )
static

Closes root tags of output files.

Definition at line 1050 of file MSDevice_ToC.cpp.

References OutputDevice::closeTag(), createdOutputFiles, fn, and OutputDevice::getDevice().

Referenced by MSNet::clearAll().

Here is the caller graph for this function:

◆ cleanupAll()

void MSDevice::cleanupAll ( )
staticinherited

perform cleanup for all devices

Definition at line 149 of file MSDevice.cpp.

References MSDevice_FCD::cleanup(), MSDevice_Taxi::cleanup(), MSDevice_Tripinfo::cleanup(), and MSRoutingEngine::cleanup().

Referenced by MSNet::clearAll().

Here is the caller graph for this function:

◆ deactivateDeliberateLCs()

void MSDevice_ToC::deactivateDeliberateLCs ( )
private

Resets the holder's LC mode to the operational LC-mode of the ToC Device (.

See also
LCModeMRM)

Definition at line 1073 of file MSDevice_ToC.cpp.

References LCModeMRM, MSVehicleDevice::myHolder, myHolderMS, myPreviousLCMode, and SIMTIME.

Referenced by MRMExecutionStep(), setAwareness(), and setState().

Here is the caller graph for this function:

◆ descheduleMRM()

void MSDevice_ToC::descheduleMRM ( )
private

Break MRM Process or remove MRM-Trigger command from the event-queue.

Definition at line 652 of file MSDevice_ToC.cpp.

References myExecuteMRMCommand, myTriggerMRMCommand, and resetDeliberateLCs().

Referenced by triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ descheduleRecovery()

void MSDevice_ToC::descheduleRecovery ( )
private

Remove ongoing awareness recovery process from the event-queue.

Definition at line 688 of file MSDevice_ToC.cpp.

References myRecoverAwarenessCommand.

Referenced by requestMRM(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ descheduleToC()

void MSDevice_ToC::descheduleToC ( )
private

Remove scheduled ToC-Trigger command from the event-queue.

Definition at line 668 of file MSDevice_ToC.cpp.

References myTriggerToCCommand.

Referenced by requestMRM(), triggerDownwardToC(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ descheduleToCPreparation()

void MSDevice_ToC::descheduleToCPreparation ( )
private

Remove ongoing ToC-Preparation process from the event-queue.

Definition at line 676 of file MSDevice_ToC.cpp.

References MRM, myPrepareToCCommand, myState, and resetDeliberateLCs().

Referenced by requestMRM(), ToCPreparationStep(), triggerDownwardToC(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ deviceName()

const std::string MSDevice_ToC::deviceName ( ) const
inlineoverridevirtual

return the name for this type of device

Implements MSDevice.

Definition at line 132 of file MSDevice_ToC.h.

Referenced by getParameter(), and setParameter().

Here is the caller graph for this function:

◆ equippedByDefaultAssignmentOptions()

template<class DEVICEHOLDER>
bool MSDevice::equippedByDefaultAssignmentOptions ( const OptionsCont & oc,
const std::string & deviceName,
DEVICEHOLDER & v,
bool outputOptionSet,
const bool isPerson = false )
staticprotectedinherited

Determines whether a vehicle should get a certain device.

Parameters
[in]ocThe options container to get the information about assignment from
[in]deviceNameThe name of the device type
[in]vThe vehicle to determine whether it shall be equipped or not

Definition at line 200 of file MSDevice.h.

References deviceName(), OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), MSNet::getInstance(), OptionsCont::getOptions(), MSVehicleControl::getQuota(), OptionsCont::getStringVector(), StringTokenizer::getVector(), MSNet::getVehicleControl(), OptionsCont::isSet(), LOADSTATE_DEVICENAMES, myEquipmentRNG, myExplicitIDs, RandHelper::rand(), StringUtils::toBool(), and StringUtils::toDouble().

Referenced by MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSTransportableDevice_Routing::buildDevices(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_StationFinder::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), and MSVehicleDevice_BTsender::buildVehicleDevices().

Here is the caller graph for this function:

◆ generateOutput()

virtual void MSDevice::generateOutput ( OutputDevice * ) const
inlinevirtualinherited

Called on vehicle deletion to extend tripinfo and other outputs.

The device may write some statistics into the tripinfo output and may choose to finalize its own outputs. It is assumed that the information written to tripinfoOut is a valid xml-snipplet, which will be embedded within the vehicle's tripinfo information.

The device should use the openTag / closeTag methods of the OutputDevice for correct indentation.

Exceptions
IOErrornot yet implemented

Reimplemented in MSDevice_Battery, MSDevice_Bluelight, MSDevice_ElecHybrid, MSDevice_Emissions, MSDevice_Example, MSDevice_GLOSA, MSDevice_SSM, MSDevice_StationFinder, MSDevice_Taxi, MSDevice_Tripinfo, and MSDevice_Vehroutes.

Definition at line 129 of file MSDevice.h.

◆ generatesOutput()

bool MSDevice_ToC::generatesOutput ( )
inline

Whether this device requested to write output.

Definition at line 171 of file MSDevice_ToC.h.

References myOutputFile.

Referenced by notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().

Here is the caller graph for this function:

◆ getDescription()

◆ getDeviceName()

std::string MSDevice::getDeviceName ( const std::string & id)
staticinherited

extracts the deviceName from the id (which includes holder id) and is subject to special cases

Definition at line 173 of file MSDevice.cpp.

References StringUtils::startsWith().

Referenced by MSStateHandler::closeVehicle().

Here is the caller graph for this function:

◆ getDynamicMRMProbability()

double MSDevice_ToC::getDynamicMRMProbability ( const SUMOVehicle & v)
staticprivate

Definition at line 189 of file MSDevice_ToC.cpp.

References SUMOTrafficObject::getFloatParam(), MAX2(), MIN2(), TL, toString(), and WRITE_WARNINGF.

Referenced by buildVehicleDevices().

Here is the caller graph for this function:

◆ getEquipmentRNG()

SumoRNG * MSDevice::getEquipmentRNG ( )
inlinestaticinherited

Definition at line 92 of file MSDevice.h.

References myEquipmentRNG.

Referenced by NLBuilder::initRandomness(), MSDevice_Transportable::MSDevice_Transportable(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().

Here is the caller graph for this function:

◆ getHolder()

SUMOVehicle & MSVehicleDevice::getHolder ( ) const
inlineinherited

Returns the vehicle that holds this device.

Returns
The vehicle that holds this device

Definition at line 72 of file MSVehicleDevice.h.

References myHolder.

Referenced by MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSDispatch::computeDetourTime(), MSDispatch::computePickupTime(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSIdling_RandomCircling::idle(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSDispatch::isReachable(), and MSDispatch::remainingCapacity().

Here is the caller graph for this function:

◆ getID()

const std::string & Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References myID.

Referenced by MSDriveWay::_saveState(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSTransportableControl::abortAnyWaitingForVehicle(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), AccessEdge< E, L, N, V >::AccessEdge(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSDetectorControl::add(), MSDetectorControl::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSTractionSubstation::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSDriveWay::addReversalFoes(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSBaseVehicle::addStop(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), NIVisumTL::build(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSTransportableDevice_Routing::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), CarEdge< E, L, N, V >::CarEdge(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSTriggeredRerouter::checkStopSwitch(), MSLCM_SL2015::checkStrategicChange(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), NLHandler::closeEdge(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSVehicle::computeFurtherLanes(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLE2Sensors::countVehicles(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSPrograms::createTLS(), GUINet::createTLWrapper(), NBNodeCont::customTLID(), libsumo::Helper::debugPrint(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), NBNodeCont::discardTrafficLights(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSE3Collector::enter(), MSParkingArea::enter(), NEMAPhase::enter(), MSDriveWay::enterDriveWay(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), Command_SaveTLSSwitches::execute(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSPModel_JuPedSim::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVTypeProbe::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSStopOut::generateOutputForUnfinished(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDriveWay::getClickableTLLinkID(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSMeanData::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), GUIPerson::getLaneID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSDevice_SSM::getOutputFilename(), MSOverheadWire::getOverheadWireSegmentName(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), LIBSUMO_NAMESPACE::TrafficLight::getServedPersonCount(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_RandomCircling::idle(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSActuatedTrafficLightLogic::init(), MSCalibrator::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSMeanData::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSEdge::insertVehicle(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MEVehicle::loadState(), MSActuatedTrafficLightLogic::loadState(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSMeanData::MeanDataValues::MeanDataValues(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Emissions::MSDevice_Emissions(), MSDevice_StationFinder::MSDevice_StationFinder(), MSDevice_ToC::MSDevice_ToC(), MSDevice_Transportable::MSDevice_Transportable(), MSE2Collector::MSE2Collector(), MSE3Collector::MSE3EntryReminder::MSE3EntryReminder(), MSE3Collector::MSE3LeaveReminder::MSE3LeaveReminder(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), NBLoadedTLDef::myCompute(), MSCalibrator::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIE3Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_ElecHybrid::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSDriveWay::notifyEnter(), MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDriveWay::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDriveWay::notifyReroute(), GNETLSEditorFrame::TLSPrograms::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), MSEdge::transportable_by_position_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSBaseVehicle::optimizeSkipped(), MSLaneChangerSublane::outputLCStarted(), MSTriggeredRerouter::overtakingTrain(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), PedestrianEdge< E, L, N, V >::PedestrianEdge(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSDevice_StationFinder::planOpportunisticCharging(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSDevice_Taxi::prepareStop(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), PublicTransportEdge< E, L, N, V >::PublicTransportEdge(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckPostProcessConnections(), NBLoadedSUMOTLDef::reconstructLogic(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::removeUnwishedNodes(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), MSDevice_SSM::requestsTrajectories(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSTransportable::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_StationFinder::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSLane::saveState(), MSSimpleTrafficLightLogic::saveState(), MSTransportable::saveState(), MSTransportableDevice_Routing::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSActuatedTrafficLightLogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSLane::setPartialOccupation(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), NBEdge::shiftPositionAtNode(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSDispatch_TraCI::splitReservation(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNETLSEditorFrame::TLSPrograms::switchProgram(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSTransportable::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSActuatedTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), MSInductLoop::VehicleData::VehicleData(), MSE2Collector::VehicleInfo::VehicleInfo(), MSCalibrator::VehicleRemover::VehicleRemover(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSBatteryExport::write(), MSElecHybridExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), MSEmissionExport::writeEmissions(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), MSTractionSubstation::writeOut(), MSNet::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSFullExport::writePersons(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSAmitranTrajectories::writeVehicle(), MSXMLRawOut::writeVehicle(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSCalibrator::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().

◆ getIDSecure()

template<class T>
std::string Named::getIDSecure ( const T * obj,
const std::string & fallBack = "NULL" )
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), NLEdgeControlBuilder::build(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), AFRouter< E, N, V, M >::compute(), AStarRouter< _IntermodalEdge, _IntermodalTrip, _MapMatcher >::compute(), DijkstraRouter< _IntermodalEdge, _IntermodalTrip >::compute(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBNode::computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V, M >::computeNode2Edge(), Node2EdgeRouter< E, N, V, M >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), NBConnection::operator<<, MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSCriticalFollowerDistanceInfo::toString(), MSLeaderDistanceInfo::toString(), MSLeaderInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getInstances()

const std::set< MSDevice_ToC *, ComparatorNumericalIdLess > & MSDevice_ToC::getInstances ( )
inlinestatic

returns all currently existing ToC devices

Definition at line 91 of file MSDevice_ToC.h.

References myInstances.

Referenced by MSNet::writeOutput().

Here is the caller graph for this function:

◆ getLane()

◆ getNumericalID()

SUMOVehicle::NumericalID MSVehicleDevice::getNumericalID ( ) const
inlineinherited

Definition at line 76 of file MSVehicleDevice.h.

References myHolder.

◆ getOpenGapParams()

MSDevice_ToC::OpenGapParams MSDevice_ToC::getOpenGapParams ( const SUMOVehicle & v)
staticprivate

Definition at line 201 of file MSDevice_ToC.cpp.

References DEFAULT_OPENGAP_CHANGERATE, DEFAULT_OPENGAP_MAXDECEL, DEFAULT_OPENGAP_SPACING, DEFAULT_OPENGAP_TIMEGAP, SUMOTrafficObject::getFloatParam(), TL, and WRITE_ERROR.

Referenced by buildVehicleDevices().

Here is the caller graph for this function:

◆ getParameter()

std::string MSDevice_ToC::getParameter ( const std::string & key) const
overridevirtual

◆ getResponseTimeRNG()

SumoRNG * MSDevice_ToC::getResponseTimeRNG ( )
inlinestatic

Definition at line 175 of file MSDevice_ToC.h.

References myResponseTimeRNG.

Referenced by NLBuilder::initRandomness(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().

Here is the caller graph for this function:

◆ initColorScheme()

void MSDevice_ToC::initColorScheme ( )
private

Initialize vehicle colors for different states.

Note
For MANUAL and AUTOMATED, the color of the given types are used, and for the other states hardcoded colors are given.

Definition at line 363 of file MSDevice_ToC.cpp.

References AUTOMATED, MSVehicleType::getColor(), MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), MANUAL, MRM, myAutomatedTypeID, myColorScheme, myManualTypeID, PREPARING_TOC, RECOVERING, and UNDEFINED.

Referenced by MSDevice_ToC().

Here is the caller graph for this function:

◆ insertDefaultAssignmentOptions()

void MSDevice::insertDefaultAssignmentOptions ( const std::string & deviceName,
const std::string & optionsTopic,
OptionsCont & oc,
const bool isPerson = false )
staticprotectedinherited

Adds common command options that allow to assign devices to vehicles.

Parameters
[in]deviceNameThe name of the device type
[in]optionsTopicThe options topic into which the options shall be added
[filled]oc The options container to add the options to

Definition at line 157 of file MSDevice.cpp.

References OptionsCont::addDescription(), OptionsCont::addSynonyme(), deviceName(), and OptionsCont::doRegister().

Referenced by MSDevice_Battery::insertOptions(), MSDevice_Bluelight::insertOptions(), MSDevice_DriverState::insertOptions(), MSDevice_ElecHybrid::insertOptions(), MSDevice_Emissions::insertOptions(), MSDevice_Example::insertOptions(), MSDevice_FCD::insertOptions(), MSDevice_FCDReplay::insertOptions(), MSDevice_Friction::insertOptions(), MSDevice_GLOSA::insertOptions(), MSDevice_Routing::insertOptions(), MSDevice_SSM::insertOptions(), MSDevice_StationFinder::insertOptions(), MSDevice_Taxi::insertOptions(), MSDevice_ToC::insertOptions(), MSDevice_Tripinfo::insertOptions(), MSDevice_Vehroutes::insertOptions(), MSTransportableDevice_BTreceiver::insertOptions(), MSTransportableDevice_BTsender::insertOptions(), MSTransportableDevice_FCD::insertOptions(), MSTransportableDevice_FCDReplay::insertOptions(), MSTransportableDevice_Routing::insertOptions(), MSVehicleDevice_BTreceiver::insertOptions(), and MSVehicleDevice_BTsender::insertOptions().

Here is the caller graph for this function:

◆ insertOptions()

void MSDevice_ToC::insertOptions ( OptionsCont & oc)
static

Inserts MSDevice_ToC-options.

Parameters
[filled]oc The options container to add the options to

Definition at line 108 of file MSDevice_ToC.cpp.

References OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), DEFAULT_DYNAMIC_TOC_THRESHOLD, DEFAULT_INITIAL_AWARENESS, DEFAULT_LCABSTINENCE, DEFAULT_MRM_DECEL, DEFAULT_MRM_PROBABILITY, DEFAULT_RECOVERY_RATE, DEFAULT_RESPONSE_TIME, OptionsCont::doRegister(), MSDevice::insertDefaultAssignmentOptions(), and TL.

Referenced by MSDevice::insertOptions().

Here is the caller graph for this function:

◆ interpolateVariance()

double MSDevice_ToC::interpolateVariance ( double leadTime,
double pMRM )
staticprivate

Two-dimensional interpolation of variance from lookup table assumes pMRM >= 0, leadTime >= 0.

Definition at line 1207 of file MSDevice_ToC.cpp.

References lookupResponseTimeLeadTimes, lookupResponseTimeMRMProbs, lookupResponseTimeVariances, and MAX_RESPONSETIME_VARIANCE.

Referenced by sampleResponseTime().

Here is the caller graph for this function:

◆ isAutomated()

bool MSDevice_ToC::isAutomated ( )
private

Whether the current operation mode is automated.

Definition at line 1091 of file MSDevice_ToC.cpp.

References AUTOMATED, MRM, myState, and PREPARING_TOC.

◆ isManuallyDriven()

bool MSDevice_ToC::isManuallyDriven ( )
private

Whether the current operation mode is manual.

Definition at line 1086 of file MSDevice_ToC.cpp.

References MANUAL, myState, and RECOVERING.

Referenced by setParameter().

Here is the caller graph for this function:

◆ isParkingRerouter()

virtual bool MSMoveReminder::isParkingRerouter ( ) const
inlinevirtualinherited

Reimplemented in MSTriggeredRerouter.

Definition at line 300 of file MSMoveReminder.h.

◆ loadReminderState()

void MSMoveReminder::loadReminderState ( long long int numID,
SUMOTime time,
double pos )
inherited

Definition at line 125 of file MSMoveReminder.cpp.

References myLastVehicleUpdateValues.

◆ loadState()

void MSDevice::loadState ( const SUMOSAXAttributes & attrs)
virtualinherited

Loads the state of the device from the given description.

The default implementation does nothing.

Parameters
[in]attrsXML attributes describing the current state

Reimplemented in MSDevice_Battery, MSDevice_Routing, MSDevice_StationFinder, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, and MSTransportableDevice_Routing.

Definition at line 193 of file MSDevice.cpp.

◆ MRMExecutionStep()

SUMOTime MSDevice_ToC::MRMExecutionStep ( SUMOTime t)

Continue the MRM for one time step.

Definition at line 729 of file MSDevice_ToC.cpp.

References ACCEL2SPEED, deactivateDeliberateLCs(), DELTA_T, MSNet::getInstance(), MAX2(), MRM, MSVehicleDevice::myHolder, myHolderMS, myMRMDecel, myMRMKeepRight, myState, resetDeliberateLCs(), and SIMTIME.

Referenced by triggerMRM().

Here is the caller graph for this function:

◆ notifyEnter()

virtual bool MSMoveReminder::notifyEnter ( SUMOTrafficObject & veh,
Notification reason,
const MSLane * enteredLane )
inlinevirtualinherited

Checks whether the reminder is activated by a vehicle entering the lane.

Lane change means in this case that the vehicle changes to the lane the reminder is placed at.

Parameters
[in]vehThe entering vehicle.
[in]reasonhow the vehicle enters the lane
Returns
True if vehicle enters the reminder.
See also
Notification

Reimplemented in MSCalibrator::VehicleRemover, MSDevice_Bluelight, MSDevice_ElecHybrid, MSDevice_Example, MSDevice_FCD, MSDevice_GLOSA, MSDevice_Routing, MSDevice_SSM, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, MSDriveWay, MSE2Collector, MSE3Collector::MSE3EntryReminder, MSE3Collector::MSE3LeaveReminder, MSInductLoop, MSMeanData::MeanDataValues, MSMeanData::MeanDataValueTracker, MSMeanData_Amitran::MSLaneMeanDataValues, MSMeanData_Net::MSLaneMeanDataValues, MSRailSignalConstraint_Predecessor::PassedTracker, MSRouteProbe, MSTransportableDevice_BTreceiver, MSTransportableDevice_BTsender, MSTransportableDevice_FCD, MSTriggeredRerouter, MSVehicleDevice_BTreceiver, and MSVehicleDevice_BTsender.

Definition at line 148 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

Referenced by MSBaseVehicle::activateReminders().

Here is the caller graph for this function:

◆ notifyIdle()

virtual bool MSMoveReminder::notifyIdle ( SUMOTrafficObject & veh)
inlinevirtualinherited

Computes idling emission values and adds them to the emission sums.

Idling implied by zero velocity, acceleration and slope

Parameters
[in]vehThe vehicle
See also
MSMoveReminder::notifyMove
PollutantsInterface

Reimplemented in MSDevice_Emissions, MSDevice_StationFinder, MSDevice_Tripinfo, and MSMeanData_Emissions::MSLaneMeanDataValues.

Definition at line 189 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyLeave()

virtual bool MSMoveReminder::notifyLeave ( SUMOTrafficObject & veh,
double lastPos,
Notification reason,
const MSLane * enteredLane = nullptr )
inlinevirtualinherited

Called if the vehicle leaves the reminder's lane.

Informs if vehicle leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.

Parameters
[in]vehThe leaving vehicle.
[in]lastPosPosition on the lane when leaving.
[in]reasonhow the vehicle leaves the lane
See also
Notification
Returns
True if the reminder wants to receive further info.

Reimplemented in MSCalibrator::VehicleRemover, MSDevice_Bluelight, MSDevice_ElecHybrid, MSDevice_Example, MSDevice_SSM, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, MSDriveWay, MSE2Collector, MSE3Collector::MSE3EntryReminder, MSE3Collector::MSE3LeaveReminder, MSInductLoop, MSInstantInductLoop, MSMeanData::MeanDataValues, MSMeanData::MeanDataValueTracker, MSMeanData_Net::MSLaneMeanDataValues, MSTransportableDevice_BTreceiver, MSTransportableDevice_BTsender, MSTriggeredRerouter, MSVehicleDevice_BTreceiver, and MSVehicleDevice_BTsender.

Definition at line 213 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyLeaveBack()

virtual bool MSMoveReminder::notifyLeaveBack ( SUMOTrafficObject & veh,
Notification reason,
const MSLane * leftLane )
inlinevirtualinherited

Called if the vehicle's back leaves the reminder's lane.

Informs if vehicle back leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.

Parameters
[in]vehThe leaving vehicle.
[in]reasonhow the vehicle leaves the lane
[in]leftLaneThe lane that the vehicle's back left
See also
Notification
Returns
True if the reminder wants to receive further info.

Reimplemented in MSDriveWay.

Definition at line 234 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyMove()

bool MSDevice_ToC::notifyMove ( SUMOTrafficObject & veh,
double oldPos,
double newPos,
double newSpeed )
overridevirtual

Return value indicates whether the device still wants to be notified about the vehicle movement.

Reimplemented from MSMoveReminder.

Definition at line 794 of file MSDevice_ToC.cpp.

References AUTOMATED, checkDynamicToC(), DYNAMIC_TOC_LEADTIME_FACTOR, generatesOutput(), myDynamicToCLane, myDynamicToCThreshold, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myHolderMS, myIssuedDynamicToC, myState, PREPARING_TOC, requestToC(), SIMSTEP, and triggerUpwardToC().

◆ notifyMoveInternal()

virtual void MSMoveReminder::notifyMoveInternal ( const SUMOTrafficObject & veh,
const double frontOnLane,
const double timeOnLane,
const double meanSpeedFrontOnLane,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane,
const double meanLengthOnLane )
inlinevirtualinherited

Internal notification about the vehicle moves.

Note
meso uses this though it never calls notifyMove()

Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from its reminder-container.

Parameters
[in]vehVehicle that asks this reminder.
[in]frontOnLanetime the front of the vehicle spent on the lane.
[in]timeOnLanetime some part of the vehicle spent on the lane.
[in]meanSpeedFrontOnLaneAverage speed for the time that the front is on the lane.
[in]meanSpeedVehicleOnLaneAverage speed for the time that the vehicle is on the lane (with front or back).
[in]travelledDistanceFrontOnLanedistance travelled while overlapping with the lane.
[in]travelledDistanceVehicleOnLanedistance travelled while front was on the lane.
[in]meanLengthOnLanethe average length of the vehicle's part on the lane during the last step (==complete length in meso case)

Reimplemented in MSDevice_ElecHybrid, MSDevice_Emissions, MSDevice_StationFinder, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSMeanData::MeanDataValueTracker, MSMeanData_Amitran::MSLaneMeanDataValues, MSMeanData_Emissions::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, and MSMeanData_Net::MSLaneMeanDataValues.

Definition at line 273 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

Referenced by MSMeanData::MeanDataValues::notifyMove(), and updateDetector().

Here is the caller graph for this function:

◆ notifyParking()

virtual void MSMoveReminder::notifyParking ( )
inlinevirtualinherited

called to update state for parking vehicles

Reimplemented in MSDevice_Battery.

Definition at line 195 of file MSMoveReminder.h.

◆ notifyReroute()

virtual bool MSMoveReminder::notifyReroute ( SUMOTrafficObject & veh)
inlinevirtualinherited

Called if the vehicle change it's route.

Parameters
[in]vehThe rerouted vehicle.
Returns
True if the reminder wants to receive further info.

Reimplemented in MSDriveWay.

Definition at line 245 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyStopEnded()

virtual void MSMoveReminder::notifyStopEnded ( )
inlinevirtualinherited

called to update state for stopped vehicles

Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.

Definition at line 198 of file MSMoveReminder.h.

◆ operator=()

MSDevice_ToC & MSDevice_ToC::operator= ( const MSDevice_ToC & )
private

Invalidated assignment operator.

References MSDevice_ToC().

◆ removeFromVehicleUpdateValues()

void MSMoveReminder::removeFromVehicleUpdateValues ( SUMOTrafficObject & veh)
protectedinherited

Definition at line 131 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), and myLastVehicleUpdateValues.

Referenced by MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), and updateDetector().

Here is the caller graph for this function:

◆ requestMRM()

void MSDevice_ToC::requestMRM ( )
private

Request an MRM to be initiated immediately. No downward ToC will be scheduled.

Note
The initiated MRM process will run forever until a new ToC is requested.

Definition at line 471 of file MSDevice_ToC.cpp.

References descheduleRecovery(), descheduleToC(), descheduleToCPreparation(), and triggerMRM().

Referenced by setParameter().

Here is the caller graph for this function:

◆ requestToC()

void MSDevice_ToC::requestToC ( SUMOTime timeTillMRM,
SUMOTime responseTime = -1000 )
private

Request a ToC. If the device is in AUTOMATED or MRM state, a driver response time is sampled and the ToC is scheduled. If the response is larger than timeTillMRM, an MRM is scheduled as well. If the device is in MANUAL or UNDEFINED state, it switches to AUTOMATED. The request is ignored if the state is already PREPARING_TOC.

Parameters
timeTillMRM
responseTimeIf the default is given (== -1), the response time is sampled randomly,
See also
sampleResponseTime()

Definition at line 484 of file MSDevice_ToC.cpp.

References MSEventControl::addEvent(), AUTOMATED, DELTA_T, generatesOutput(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), MRM, myEventLanes, myEvents, myEventXY, myExecuteMRMCommand, MSVehicleDevice::myHolder, myHolderMS, myOpenGapParams, myPrepareToCCommand, myState, myTriggerMRMCommand, myTriggerToCCommand, PREPARING_TOC, sampleResponseTime(), setState(), SIMSTEP, SIMTIME, STEPS2TIME, TIME2STEPS, ToCPreparationStep(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and WRITE_WARNING.

Referenced by notifyMove(), and setParameter().

Here is the caller graph for this function:

◆ resetDeliberateLCs()

void MSDevice_ToC::resetDeliberateLCs ( )
private

Resets the holder's LC mode to the last differing to LCModeMRM.

Definition at line 1061 of file MSDevice_ToC.cpp.

References MSVehicleDevice::myHolder, myHolderMS, myPreviousLCMode, and SIMTIME.

Referenced by descheduleMRM(), descheduleToCPreparation(), MRMExecutionStep(), setAwareness(), setState(), and ~MSDevice_ToC().

Here is the caller graph for this function:

◆ responseTimeMean()

double MSDevice_ToC::responseTimeMean ( double leadTime)
inlinestaticprivate

Mean of the response time distribution. (Only depends on given lead time).

Definition at line 362 of file MSDevice_ToC.h.

References MIN2().

Referenced by sampleResponseTime().

Here is the caller graph for this function:

◆ sampleResponseTime()

double MSDevice_ToC::sampleResponseTime ( double leadTime) const
private

Samples a random driver response time from a truncated Gaussian with parameters according to the lookup tables.

Definition at line 1184 of file MSDevice_ToC.cpp.

References interpolateVariance(), MAX_RESPONSETIME_SAMPLE_TRIES, myMRMProbability, myResponseTimeRNG, RandHelper::randNorm(), and responseTimeMean().

Referenced by requestToC().

Here is the caller graph for this function:

◆ saveReminderState()

void MSMoveReminder::saveReminderState ( OutputDevice & out,
const SUMOTrafficObject & veh )
inherited

◆ saveState()

void MSDevice::saveState ( OutputDevice & out) const
virtualinherited

Saves the state of the device.

The default implementation writes a warning and does nothing.

Parameters
[in]outThe OutputDevice to write the information into

Reimplemented in MSDevice_Battery, MSDevice_FCD, MSDevice_Routing, MSDevice_StationFinder, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, MSTransportableDevice_FCD, and MSTransportableDevice_Routing.

Definition at line 187 of file MSDevice.cpp.

References Named::getID(), TL, and WRITE_WARNINGF.

◆ setAwareness()

void MSDevice_ToC::setAwareness ( double value)
private

Set the awareness to the given value.

Definition at line 397 of file MSDevice_ToC.cpp.

References deactivateDeliberateLCs(), invalid_return< std::string >::value, MAX2(), MIN2(), myCurrentAwareness, myHolderMS, myLCAbstinence, resetDeliberateLCs(), and WRITE_WARNING.

Referenced by awarenessRecoveryStep(), setParameter(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ setDescription()

void MSMoveReminder::setDescription ( const std::string & description)
inlineinherited

Definition at line 291 of file MSMoveReminder.h.

References myDescription.

Referenced by MSMeanData::init(), and MSCalibrator::MSCalibrator().

Here is the caller graph for this function:

◆ setID()

virtual void Named::setID ( const std::string & newID)
inlinevirtualinherited

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.

Definition at line 82 of file Named.h.

References myID.

Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().

Here is the caller graph for this function:

◆ setParameter()

◆ setState()

void MSDevice_ToC::setState ( ToCState state)
private

Set the ToC device's state.

Definition at line 417 of file MSDevice_ToC.cpp.

References deactivateDeliberateLCs(), MIN2(), MRM, myHolderMS, myIssuedDynamicToC, myMaxPreparationAccel, myOpenGapParams, myOriginalMaxAccel, myState, myUseColorScheme, PREPARING_TOC, resetDeliberateLCs(), setVehicleColor(), and SIMTIME.

Referenced by awarenessRecoveryStep(), requestToC(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ setVehicleColor()

void MSDevice_ToC::setVehicleColor ( )
private

Definition at line 464 of file MSDevice_ToC.cpp.

References SUMOVehicleParameter::color, myColorScheme, MSVehicleDevice::myHolder, myState, SUMOVehicleParameter::parametersSet, and VEHPARS_COLOR_SET.

Referenced by setState().

Here is the caller graph for this function:

◆ switchHolderType()

void MSDevice_ToC::switchHolderType ( const std::string & targetTypeID)
private

Switch the device holder's vehicle type.

Definition at line 698 of file MSDevice_ToC.cpp.

References MSVehicleType::getID(), MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), MSVehicleDevice::myHolder, myHolderMS, SIMTIME, TL, and WRITE_ERRORF.

Referenced by setParameter(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().

Here is the caller graph for this function:

◆ ToCPreparationStep()

SUMOTime MSDevice_ToC::ToCPreparationStep ( SUMOTime t)

Continue the ToC preparation for one time step.

Definition at line 712 of file MSDevice_ToC.cpp.

References DELTA_T, descheduleToCPreparation(), MSVehicleDevice::myHolder, myState, PREPARING_TOC, and SIMTIME.

Referenced by requestToC().

Here is the caller graph for this function:

◆ triggerDownwardToC()

SUMOTime MSDevice_ToC::triggerDownwardToC ( SUMOTime t)

Trigger execution of a ToC X-->MANUAL ("downwards").

Definition at line 617 of file MSDevice_ToC.cpp.

References MSEventControl::addEvent(), awarenessRecoveryStep(), DELTA_T, descheduleMRM(), descheduleToC(), descheduleToCPreparation(), generatesOutput(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), myCurrentAwareness, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myInitialAwareness, myManualTypeID, myRecoverAwarenessCommand, RECOVERING, setAwareness(), setState(), SIMSTEP, SIMTIME, and switchHolderType().

Referenced by requestToC().

Here is the caller graph for this function:

◆ triggerMRM()

◆ triggerUpwardToC()

SUMOTime MSDevice_ToC::triggerUpwardToC ( SUMOTime t)

Trigger execution of a ToC X-->AUTOMATED ("upwards").

Definition at line 587 of file MSDevice_ToC.cpp.

References AUTOMATED, descheduleMRM(), descheduleRecovery(), descheduleToC(), descheduleToCPreparation(), generatesOutput(), MANUAL, myAutomatedTypeID, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myState, RECOVERING, setAwareness(), setState(), SIMSTEP, SIMTIME, and switchHolderType().

Referenced by notifyMove(), and requestToC().

Here is the caller graph for this function:

◆ updateDetector()

void MSMoveReminder::updateDetector ( SUMOTrafficObject & veh,
double entryPos,
double leavePos,
SUMOTime entryTime,
SUMOTime currentTime,
SUMOTime leaveTime,
bool cleanUp )
inherited

Definition at line 71 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), myLastVehicleUpdateValues, notifyMoveInternal(), removeFromVehicleUpdateValues(), and STEPS2TIME.

Referenced by MEVehicle::updateDetectorForWriting().

Here is the caller graph for this function:

◆ writeOutput()

void MSDevice_ToC::writeOutput ( )

Write output to file given by option device.toc.file.

Definition at line 1019 of file MSDevice_ToC.cpp.

References generatesOutput(), myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myOutputFile, and STEPS2TIME.

Field Documentation

◆ createdOutputFiles

std::set< std::string > MSDevice_ToC::createdOutputFiles
staticprivate

Definition at line 57 of file MSDevice_ToC.h.

Referenced by cleanup(), and MSDevice_ToC().

◆ LCModeMRM

int MSDevice_ToC::LCModeMRM = 768
staticprivate

LC mode operational during an MRM.

Definition at line 324 of file MSDevice_ToC.h.

Referenced by deactivateDeliberateLCs().

◆ LOADSTATE_DEVICENAMES

const std::string MSDevice::LOADSTATE_DEVICENAMES
staticinherited

Definition at line 102 of file MSDevice.h.

Referenced by MSStateHandler::closeVehicle(), and equippedByDefaultAssignmentOptions().

◆ lookupResponseTimeLeadTimes

std::vector< double > MSDevice_ToC::lookupResponseTimeLeadTimes = {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.2, 1.3, 1.4, 1.5, 1.5999999999999999, 1.7, 1.8, 1.9, 2.0, 2.25, 2.5, 2.75, 3.0, 3.25, 3.5, 3.75, 4.0, 4.25, 4.5, 4.75, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5, 10.0, 10.5, 11.0, 11.5, 12.0, 12.5, 13.0, 13.5, 14.0, 14.5, 15.0, 15.5, 16.0, 16.5, 17.0, 17.5, 18.0, 18.5, 19.0, 19.5, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0, 31.0, 32.0, 33.0, 34.0, 35.0, 36.0, 37.0, 38.0, 39.0, 40.0, 41.0, 42.0, 43.0, 44.0, 45.0, 46.0, 47.0, 48.0, 49.0, 50.0}
staticprivate

Definition at line 1271 of file MSDevice_ToC.h.

Referenced by interpolateVariance().

◆ lookupResponseTimeMRMProbs

std::vector< double > MSDevice_ToC::lookupResponseTimeMRMProbs = {0.0, 0.05, 0.1, 0.15000000000000002, 0.2, 0.25, 0.30000000000000004, 0.35000000000000003, 0.4, 0.45, 0.5}
staticprivate

Grid of the response time distribution.

Definition at line 1269 of file MSDevice_ToC.h.

Referenced by interpolateVariance().

◆ lookupResponseTimeVariances

std::vector< std::vector< double > > MSDevice_ToC::lookupResponseTimeVariances
staticprivate
Initial value:
= {
{0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001, 0.0001},
{0.018238371642696278, 0.03647674328603705, 0.054715114926535656, 0.07295348656987645, 0.09119185821321724, 0.10943022985371582, 0.12766860149705656, 0.14590697314039733, 0.16414534478089599, 0.18238371642423673, 0.2006220880675775, 0.21886045971091828, 0.2370988313514169, 0.25533720299475765, 0.27357557463809845, 0.291813946278597, 0.3100523179219377, 0.32829068956527846, 0.3465290612057772, 0.36476743284911795, 0.4103633619560487, 0.45595929106297967, 0.5015552201670682, 0.5471511492739992, 0.59274707838093, 0.6383430074850186, 0.6839389365919495, 0.7295348656988803, 0.7751307948058112, 0.8207267239098999, 0.8663226530168309, 0.9119185821237615, 1.003110440334781, 1.0943022985486428, 1.1854941567596624, 1.2766860149735242, 1.3678778731845436, 1.4590697313984053, 1.622588042723657, 1.8236013818166044, 2.0271872430355344, 2.2329896377033402, 2.440681612959606, 2.6499766330096066, 2.8606328744048484, 3.0724517481497657, 3.285273075453899, 3.4989689745182173, 3.713437758931686, 3.928598499444084, 4.144386478335934, 4.360749535794346, 4.577645204319768, 4.795038495182951, 5.012900204026633, 5.231205620052272, 5.449933544477286, 5.669065543877604, 5.888585381094657, 6.108478580034079, 6.328732091514834, 6.5493340353396325, 6.991540386888257, 7.4350193801571836, 7.8797023900653835, 8.325528107903486, 8.772441019472117, 9.220390365425358, 9.66932940241786, 10.11921485679467, 10.570006505095746, 11.021666840703753, 11.474160800924851, 11.927455537955435, 12.381520222795276, 12.836325874663427, 13.291845210806684, 13.748052512926236, 14.204923507573522, 14.662435258383752, 15.120566068535554, 15.57929539219183, 16.03860375377652, 16.498472674274336, 16.958884603774735, 17.41982285960362, 17.881271569514066, 18.343215619413176, 18.805640605235663, 19.268532788517863, 19.731879055399546, 20.195666878723525},
{0.023394708584543455, 0.04678941716973141, 0.07018412575207719, 0.09357883433726513, 0.11697354292245306, 0.14036825150764104, 0.16376296009282898, 0.18715766867517475, 0.2105523772603627, 0.23394708584555063, 0.25734179443073857, 0.2807365030130844, 0.3041312115982723, 0.3275259201834602, 0.3509206287686481, 0.37431533735099387, 0.3977100459361818, 0.42110475452136986, 0.4444994631065578, 0.46789417168890357, 0.5263809431504523, 0.5848677146120012, 0.6433544860735498, 0.7018412575350985, 0.7603280289966473, 0.8188148004581961, 0.8773015719197449, 0.9357883433784517, 0.9942751148400004, 1.0527618863015489, 1.111248657763098, 1.169735429224647, 1.2867089721477445, 1.4036825150708419, 1.520656057991097, 1.6376296009141948, 1.7546031438372918, 1.8715766867603902, 2.080324923070349, 2.3356056603653466, 2.592695753086048, 2.851065033244823, 3.110348235805368, 3.37030701064756, 3.630792243424829, 3.8917140872434826, 4.153020535352749, 4.414682984212653, 4.676686852454919, 4.939025633083471, 5.201697195938797, 5.4647015339779985, 5.728039423002128, 5.991711652753062, 6.255718611539178, 6.520060086487768, 6.784735192689795, 7.0497423770254475, 7.315079462951026, 7.580743715621537, 7.846731914823575, 8.113040428416943, 8.646602223970579, 9.181394311584102, 9.717379133745458, 10.25451769188949, 10.792770521511661, 11.332098388641393, 11.872462773672844, 12.41382619675905, 12.956152426938662, 13.499406606935544, 14.04355531739462, 14.588566598200957, 15.134409939740127, 15.681056253544272, 16.228477829207687, 16.776648282531472, 17.32554249848686, 17.875136571609353, 18.425407745596857, 18.976334353419617, 19.527895758814104, 20.080072299738145, 20.632845234156534, 21.18619668838177, 21.740109608063758, 22.294567711842525, 22.849555447666962, 23.405057951674344, 23.96106100953682, 24.517551020220964},
{0.028809965676139145, 0.05761993135292278, 0.08642989702686427, 0.11523986270364789, 0.14404982838043154, 0.172859794054373, 0.20166975973115658, 0.23047972540794023, 0.2592896910818817, 0.2880996567586654, 0.31690962243544896, 0.34571958811223263, 0.37452955378617403, 0.4033395194629576, 0.4321494851397413, 0.4609594508136828, 0.4897694164904665, 0.51857938216725, 0.5473893478411916, 0.5761993135179752, 0.6482242277085132, 0.7202491418990512, 0.7922740560867471, 0.864298970277285, 0.9363238844678232, 1.0083487986555189, 1.0803737128460569, 1.152398627036595, 1.224423541227133, 1.296448455414829, 1.368473369605367, 1.4404982837959048, 1.584548112174139, 1.7285979405552145, 1.8726477689334486, 2.0166975973145242, 2.1607474256927586, 2.3047972540738346, 2.5572219533483644, 2.8623099438447785, 3.167154753839855, 3.4715923078311928, 3.775618300633292, 4.079301412505033, 4.3827364323759, 4.686020985499979, 4.989245061612653, 5.2924871133699085, 5.595813357348367, 5.89927852360174, 6.202927167199209, 6.506795109670751, 6.810910812533207, 7.115296603265157, 7.419969732096102, 7.724943265058281, 8.030226829842663, 8.33582723446787, 8.641748978492437, 8.947994674556652, 9.254565395777925, 9.561460961999748, 10.17622101728854, 10.792256328037844, 11.409539737303032, 12.02803871883203, 12.647717622463388, 13.268539213916304, 13.890465727714453, 14.513459582113466, 15.137483858085837, 15.76250261298258, 16.388481078046894, 17.015385774331957, 17.643184571383188, 18.271846706039163, 18.901342773672106, 19.531644700723955, 20.16272570482796, 20.79456024708863, 21.427123979740387, 22.06039369148417, 22.694347252144688, 23.32896355779389, 23.964222477085105, 24.600104799357926, 25.23659218482918, 25.873667117046345, 26.51131285772261, 27.149513403967962, 27.788253447896256, 28.427518338543063},
{0.03496845765860337, 0.06993691531785123, 0.1049053729770991, 0.13987383063634692, 0.17484228829559478, 0.20981074595200053, 0.24477920361124836, 0.2797476612704962, 0.314716118929744, 0.34968457658899194, 0.38465303424823977, 0.41962149190748765, 0.4545899495638933, 0.48955840722314126, 0.5245268648823892, 0.5594953225416369, 0.5944637802008848, 0.6294322378601326, 0.6644006955193805, 0.6993691531757862, 0.7867902973239058, 0.8742114414720256, 0.961632585617303, 1.0490537297654225, 1.1364748739135424, 1.2238960180588196, 1.3113171622069395, 1.3987383063550594, 1.4861594505003368, 1.5735805946484562, 1.6610017387965759, 1.748422882941853, 1.9232651712352506, 2.0981074595314895, 2.272949747824887, 2.4477920361182846, 2.6226343244145234, 2.7974766127079205, 3.0926745755509586, 3.44395841916428, 3.7929654946149927, 4.140199155580832, 4.48610487276643, 4.8310499148399675, 5.175327720605737, 5.519169410160118, 5.862755881539858, 6.20622837304298, 6.549697059107542, 6.893247832651301, 7.236947584569466, 7.580848293751031, 7.924990195098607, 8.2694042393908, 8.614114010475241, 8.959137226336916, 9.30448692001335, 9.650172373181427, 9.996199857775714, 10.342573227835842, 10.689294393844476, 11.036363704475946, 11.73154213703699, 12.428090426873897, 13.125980076789245, 13.825176212794954, 14.52564028426291, 15.227331883606062, 15.930209972250445, 16.634233702118422, 17.339362959284276, 18.045558715641334, 18.752783247333983, 19.461000260660008, 20.170174953762714, 20.880274034013603, 21.591265705145904, 22.303119634055196, 23.015806904341318, 23.7292999616137, 24.443572554090043, 25.158599671023588, 25.874357480669964, 26.590823269047004, 27.30797538027189, 28.025793159035764, 28.74425689552527, 29.46334777297606, 30.183047817969005, 30.903339853423454, 31.624207454305022, 32.345634905899644},
{0.04208452197242317, 0.08416904394549082, 0.12625356591855852, 0.16833808789162616, 0.21042260986469383, 0.25250713183776147, 0.294591653807987, 0.33667617578105463, 0.3787606977541223, 0.42084521972719, 0.46292974170025764, 0.5050142636733252, 0.5470987856463931, 0.5891833076194606, 0.6312678295925284, 0.6733523515627537, 0.7154368735358214, 0.7575213955088891, 0.7996059174819568, 0.8416904394550245, 0.9469017443876938, 1.0521130493203628, 1.1573243542501899, 1.2625356591828591, 1.3677469641155282, 1.472958269045355, 1.5781695739780248, 1.6833808789106937, 1.7885921838433625, 1.8938034887731896, 1.9990147937058587, 2.104226098638527, 2.314648708501024, 2.5250713183663627, 2.7354939282288586, 2.9459165380941967, 3.1563391479566936, 3.3667617578220317, 3.703839316684887, 4.098607599735211, 4.490071039515135, 4.879192386567447, 5.266673871161598, 5.6530296960510835, 6.038639278868162, 6.423784955842712, 6.808678484059117, 7.1934797498117895, 7.578310096881422, 7.9632619279700085, 8.348405702022065, 8.733795092290785, 9.119470830182808, 9.505463599150936, 9.891796234154242, 10.278485408041451, 10.665542934966393, 11.05297678524097, 11.440791880843797, 11.828990722803214, 12.217573888696098, 12.606540429161571, 13.385614043672865, 14.166184035906006, 14.948213302277296, 15.731659164963906, 16.51647601334669, 17.302617053034968, 18.09003546045466, 18.87868513730469, 19.66852119352658, 20.459500245021562, 21.251580584675224, 22.044722266798285, 22.838887132598156, 23.634038796019215, 24.430142603281702, 25.22716557558935, 26.025076341551085, 26.823845063912813, 27.62344336382784, 28.423844244828874, 29.22502201803638, 30.026952229552563, 30.82961159071451, 31.63297791152784, 32.43703003753926, 33.24174779014256, 34.047111910360435, 34.85310400598881, 35.65970650197814, 36.46690259392711},
{0.05029020480396514, 0.10058040960573261, 0.15087061441034225, 0.2011608192121097, 0.2514510240167194, 0.301741228821329, 0.35203143362309647, 0.40232163842770624, 0.45261184322947356, 0.5029020480340831, 0.5531922528358507, 0.6034824576404602, 0.6537726624450699, 0.7040628672468374, 0.7543530720514469, 0.8046432768532146, 0.8549334816578241, 0.9052236864595916, 0.9555138912642014, 1.0058040960688106, 1.1315296080760717, 1.2572551200833324, 1.382980632093436, 1.5087061441006968, 1.6344316561107992, 1.7601571681180603, 1.8858826801253215, 2.0116081921354243, 2.137333704142684, 2.263059216152788, 2.3887847281600485, 2.514510240170152, 2.765961264184674, 3.017412288202038, 3.2688633122194015, 3.520314336236765, 3.7717653602541295, 4.023216384271493, 4.402923686706604, 4.840923169412718, 5.275628140231794, 5.708106387011112, 6.139096012777341, 6.569117835239806, 6.998545742885471, 7.427651941064436, 7.856636809801444, 8.28564907733453, 8.714799743029685, 9.144171870687785, 9.573827594895418, 10.00381321001211, 10.43416291693517, 10.864901615202994, 11.296047006509264, 11.72761119486633, 12.159601914603718, 12.592023480161025, 13.024877525833228, 13.458163585558754, 13.891879549849177, 14.326022027631314, 15.195568219985953, 16.066758980781113, 16.93954397110994, 17.813869202173244, 18.68967930447209, 19.566918991345418, 20.44553399181503, 21.325471630737475, 22.206681173178218, 23.089114010781095, 23.972723742457497, 24.857466184805716, 25.743299336515662, 26.63018331333154, 27.518080264958197, 28.4069542817556, 29.296771296561822, 30.187498985305254, 31.07910666877645, 31.97156521721369, 32.86484695863455, 33.75892559154721, 34.653776102328635, 35.54937468734068, 36.44569867980954, 37.34272648128694, 38.24043749755077, 39.13881207875172, 40.03783146350794, 40.937477726773984},
{0.05974016468300759, 0.11948032936381749, 0.17922049404462742, 0.23896065872827943, 0.29870082340908927, 0.35844098808989927, 0.4181811527735513, 0.47792131745436117, 0.5376614821380133, 0.5974016468188231, 0.657141811499633, 0.7168819761832851, 0.7766221408640949, 0.8363623055449051, 0.8961024702285572, 0.955842634909367, 1.0155827995930191, 1.0753229642738293, 1.135063128954639, 1.1948032936382913, 1.344153705341737, 1.493504117048025, 1.6428545287514704, 1.7922049404549163, 1.9415553521612046, 2.0909057638646504, 2.2402561755709387, 2.389606587274385, 2.5389569989806726, 2.688307410684118, 2.8376578223904056, 2.987008234093852, 3.2857090575035857, 3.58440988091332, 3.8831107043230535, 4.181811527729945, 4.48051235113968, 4.779213174549414, 5.204876111923692, 5.688848562937568, 6.170159044583231, 6.6497495644421285, 7.128261753669921, 7.606142949678828, 8.083710709627423, 8.561193555361694, 9.038757543068261, 9.516524068724227, 9.99458208377549, 10.47299664830626, 10.951815027051936, 11.431071102373838, 11.910788612986488, 12.39098355983018, 12.871666012589971, 13.352841479046571, 13.834511951858257, 14.316676714667919, 14.799332966945224, 15.282476311040416, 15.766101133711286, 16.250200906162327, 17.219795978620663, 18.1911988298489, 19.164342959599296, 20.139160814458737, 21.115585503946967, 22.093551853025446, 23.07299702417972, 24.053860858945782, 25.036086036434696, 26.019618113131642, 27.004405486541614, 27.990399311257423, 28.977553386435417, 29.965824027565322, 30.95516993094154, 31.94555203660525, 32.93693339332716, 33.92927902800424, 34.92255582087156, 35.91673238727074, 36.91177896637648, 37.907667316880286, 38.90437061956949, 39.90186338652862, 40.90012137664726, 41.899121517093974, 42.89884183037187, 43.8992613666098, 44.90036014068208, 45.90211907383619},
{0.07067515415184052, 0.14135030830148337, 0.2120254624511261, 0.2827006166036112, 0.35337577075325394, 0.4240509249028968, 0.49472607905538185, 0.5654012332050246, 0.6360763873575095, 0.7067515415071527, 0.7774266956567951, 0.8481018498092803, 0.9187770039589231, 0.9894521581085659, 1.060127312261051, 1.1308024664106937, 1.2014776205603366, 1.2721527747128218, 1.3428279288624643, 1.41350308301495, 1.5901909683904774, 1.7668788537660056, 1.943566739144376, 2.120254624519904, 2.2969425098982743, 2.473630395273803, 2.6503182806493313, 2.8270061660277013, 3.0036940514032295, 3.1803819367816004, 3.3570698221571273, 3.5337577075354982, 3.8871334782865548, 4.240509249040453, 4.593885019794351, 4.947260790548251, 5.300636561302148, 5.654012332053204, 6.131630444292413, 6.6672022906208355, 7.200987739963464, 7.733716006955079, 8.265882445019285, 8.797830454475601, 9.32980159851235, 9.861967438834494, 10.394450401173598, 10.927337816806162, 11.460691587201293, 11.994554966496775, 12.528957402009762, 13.06391803975272, 13.599448295828148, 14.135553763816139, 14.672235643520898, 15.209491820318211, 15.747317686564726, 16.285706770680626, 16.82465122144653, 17.364142182462015, 17.904170082649248, 18.444724862108774, 19.52737339128757, 20.612003289072593, 21.69853012990063, 22.786871401229217, 23.87694757433194, 24.968682680039276, 26.062004572321317, 27.156844995848896, 28.253139532174295, 29.350827472729005, 30.449851649907924, 31.55015824661291, 32.651696597281045, 33.75441898881355, 34.85828046658357, 35.96323864863796, 37.06925354984671, 38.176287416815526, 39.2843045737864, 40.39327127936956, 41.50315559373177, 42.613927255723794, 43.72555756930443, 44.838019298684486, 45.951286571522466, 47.065334789581065, 48.18014054623036, 49.29568155028052, 50.41193655559852, 51.52888529603219},
{0.0834623671324666, 0.16692473426273555, 0.2503871013958466, 0.33384946852611547, 0.4173118356592266, 0.5007742027894957, 0.5842365699226064, 0.6676989370528754, 0.7511613041859866, 0.8346236713162553, 0.9180860384493664, 1.0015484055796355, 1.0850107727127467, 1.1684731398430155, 1.2519355069761264, 1.3353978741063957, 1.4188602412395066, 1.5023226083697758, 1.5857849755028866, 1.6692473426331556, 1.8779032604630912, 2.0865591782930264, 2.29521509612012, 2.5038710139500555, 2.7125269317799905, 2.921182849609927, 3.1298387674370196, 3.338494685266956, 3.547150603096892, 3.7558065209268268, 3.96446243875392, 4.173118356583855, 4.590430192243725, 5.007742027900754, 5.425053863557784, 5.842365699217655, 6.259677534874682, 6.676989370534554, 7.215284811865045, 7.810942636066625, 8.405713438558344, 9.000109193262631, 9.594476065866042, 10.189051324756685, 10.783998757795331, 11.379431470741277, 11.975426983124095, 12.572037465005534, 13.169296821117609, 13.767225679430393, 14.365834957075359, 14.965128442509108, 15.565104686191797, 16.165758398192054, 16.767081489665355, 17.369063854126264, 17.971693956723634, 18.574959280506526, 19.178846665295886, 19.78334256540095, 20.38843324553279, 20.994104929469565, 22.20713664504607, 23.42233029997001, 24.63958259994195, 25.858795291719396, 27.079875555554814, 28.302736078822026, 29.527294941445533, 30.75347539415742, 31.981205580215, 33.21041823195959, 34.44105036161415, 35.67304295805245, 36.90634069627536, 38.14089166337484, 39.3766471025938, 40.61356117597085, 41.851590745280404, 43.090695170440334, 44.33083612445286, 45.57197742365028, 46.814084872185866, 48.05712611949615, 49.301070529748834, 50.54588906213925, 51.79155416112571, 53.0380396556748, 54.285320666751495, 55.533373522224736, 56.782175678619716, 58.031705649011975},
{0.09864342769295685, 0.19728685538371601, 0.2959302830773173, 0.39457371076807657, 0.49321713846167803, 0.5918605661524371, 0.6905039938460386, 0.7891474215367978, 0.887790849230399, 0.9864342769211584, 1.0850777046147597, 1.1837211323055188, 1.2823645599991202, 1.38100798768988, 1.4796514153834808, 1.5782948430742403, 1.6769382707678415, 1.7755816984586006, 1.874225126152202, 1.972868553842961, 2.219477123074122, 2.4660856923052834, 2.7126942615364444, 2.9593028307647646, 3.2059113999959257, 3.4525199692270867, 3.6991285384582473, 3.945737107686567, 4.192345676917727, 4.438954246148888, 4.68556281538005, 4.932171384608369, 5.425388523070691, 5.918605661530172, 6.411822799992494, 6.905039938451975, 7.398257076914296, 7.891474215373778, 8.502335361374866, 9.169831074405188, 9.837265003168877, 10.504960425335845, 11.173131332846934, 11.841919360545138, 12.511417180930938, 13.181683762841976, 13.85275456878272, 14.524648510968875, 15.197372779403622, 15.870926242469201, 16.545301871890324, 17.220488489846183, 17.896472038316816, 18.573236507380663, 19.250764617377587, 19.929038321651447, 20.608039177427425, 21.287748619021162, 21.968148158299684, 22.64921953063529, 23.330944799863957, 24.013306432352234, 25.37987095153259, 26.74878238692951, 28.119918223260417, 29.4931641334551, 30.8684136985658, 32.245567980998565, 33.624535031317535, 35.005229375702534, 36.38757151118004, 37.77148742362557, 39.156908136182956, 40.54376929127801, 41.93201076678101, 43.32157632534552, 44.712413295099445, 46.1044722794653, 47.497706893719666, 48.892073525949804, 50.2875311201024, 51.68404097903562, 53.081566585544806, 54.48007343965984, 55.87952891050276, 57.27990210130182, 58.68116372625177, 60.08328599798667, 61.48624252468206, 62.890008215820075, 64.29455919573915, 65.6998727243063},
}

Variances of the response time distribution. Given the lead time and the MRM probability the variances in this table ensure that for the mean returned by responseTimeMean(leadTime) an MRM will occur with probability pMRM.

Definition at line 1274 of file MSDevice_ToC.h.

Referenced by interpolateVariance().

◆ myAutomatedTypeID

std::string MSDevice_ToC::myAutomatedTypeID
private

vehicle type ID for automated driving

Definition at line 266 of file MSDevice_ToC.h.

Referenced by getParameter(), initColorScheme(), MSDevice_ToC(), setParameter(), triggerMRM(), and triggerUpwardToC().

◆ myColorScheme

std::map<ToCState, RGBColor> MSDevice_ToC::myColorScheme
private

Coloring scheme,.

See also
initColorScheme()

Definition at line 285 of file MSDevice_ToC.h.

Referenced by initColorScheme(), setParameter(), and setVehicleColor().

◆ myCurrentAwareness

double MSDevice_ToC::myCurrentAwareness
private

Current awareness-level of the driver in [0,1].

Definition at line 282 of file MSDevice_ToC.h.

Referenced by awarenessRecoveryStep(), getParameter(), MSDevice_ToC(), setAwareness(), setParameter(), and triggerDownwardToC().

◆ myDescription

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 319 of file MSMoveReminder.h.

Referenced by getDescription(), MSMoveReminder(), and setDescription().

◆ myDynamicToCActive

bool MSDevice_ToC::myDynamicToCActive
private

Switch for considering dynamic ToCs,.

See also
myDynamicToCThreshold

Definition at line 336 of file MSDevice_ToC.h.

Referenced by checkDynamicToC(), getParameter(), MSDevice_ToC(), and setParameter().

◆ myDynamicToCLane

int MSDevice_ToC::myDynamicToCLane
private

Lane, on which the ongoing dynamic ToC was issued. It can only be aborted if the lane was changed.

Definition at line 340 of file MSDevice_ToC.h.

Referenced by checkDynamicToC(), MSDevice_ToC(), and notifyMove().

◆ myDynamicToCThreshold

double MSDevice_ToC::myDynamicToCThreshold
private

Duration in s. for which the vehicle needs to be able to follow its route without a lane change to continue in automated mode (only has effect if dynamic ToCs are activated,.

See also
myDynamicToCActive)

Definition at line 331 of file MSDevice_ToC.h.

Referenced by checkDynamicToC(), getParameter(), MSDevice_ToC(), notifyMove(), and setParameter().

◆ myEquipmentRNG

SumoRNG MSDevice::myEquipmentRNG
staticprivateinherited

A random number generator used to choose from vtype/route distributions and computing the speed factors.

Definition at line 186 of file MSDevice.h.

Referenced by equippedByDefaultAssignmentOptions(), and getEquipmentRNG().

◆ myEventLanes

std::queue<std::pair<std::string, double> > MSDevice_ToC::myEventLanes
private

Storage for events to be written to the output.

Definition at line 315 of file MSDevice_ToC.h.

Referenced by MSDevice_ToC(), notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().

◆ myEvents

std::queue<std::pair<SUMOTime, std::string> > MSDevice_ToC::myEvents
private

Storage for events to be written to the output.

Definition at line 312 of file MSDevice_ToC.h.

Referenced by MSDevice_ToC(), notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().

◆ myEventXY

std::queue<std::pair<double, double> > MSDevice_ToC::myEventXY
private

Storage for events to be written to the output.

Definition at line 318 of file MSDevice_ToC.h.

Referenced by MSDevice_ToC(), notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().

◆ myExecuteMRMCommand

WrappingCommand<MSDevice_ToC>* MSDevice_ToC::myExecuteMRMCommand
private

Definition at line 304 of file MSDevice_ToC.h.

Referenced by descheduleMRM(), MSDevice_ToC(), requestToC(), triggerMRM(), and ~MSDevice_ToC().

◆ myExplicitIDs

std::map< std::string, std::set< std::string > > MSDevice::myExplicitIDs
staticprivateinherited

vehicles which explicitly carry a device, sorted by device, first

Definition at line 183 of file MSDevice.h.

Referenced by equippedByDefaultAssignmentOptions().

◆ myHolder

SUMOVehicle& MSVehicleDevice::myHolder
protectedinherited

The vehicle that stores the device.

Definition at line 90 of file MSVehicleDevice.h.

Referenced by MSDevice_ElecHybrid::acceleration(), MSDevice_Vehroutes::addRoute(), MSDevice_Transportable::addTransportable(), MSDevice_StationFinder::alreadyPlannedCharging(), MSDevice_Transportable::anyLeavingAtStop(), MSDevice_ToC::awarenessRecoveryStep(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSDevice_Transportable::changeAttached(), MSDevice_ToC::checkDynamicToC(), MSDevice_Taxi::compatibleLine(), MSDevice_ElecHybrid::computeChargedEnergy(), MSDevice_SSM::computeGlobalMeasures(), MSDevice_ElecHybrid::consumption(), MSDevice_Taxi::customerArrived(), MSDevice_ToC::deactivateDeliberateLCs(), MSDevice_Taxi::dispatchShared(), MSDevice_StationFinder::estimateConsumption(), MSDevice_StationFinder::evaluateCustomComponents(), MSDevice_StationFinder::findChargingStation(), MSDevice_SSM::findFoeConflictLane(), MSDevice_StationFinder::freeSpaceAtChargingStation(), MSDevice_Tripinfo::generateOutput(), MSDevice_Tripinfo::generateOutputForUnfinished(), getHolder(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), getNumericalID(), MSDevice_Battery::getParameter(), MSDevice_ElecHybrid::getParameter(), MSDevice_Routing::getParameter(), MSDevice_Taxi::getParameter(), MSDevice_ToC::getParameter(), MSDevice_Taxi::getStopLane(), MSDevice_StationFinder::getStoppingPlaceCapacity(), MSDevice_StationFinder::getStoppingPlaceOccupancy(), MSDevice_Taxi::hasFuturePickup(), MSDevice_Routing::loadState(), MSDevice_Vehroutes::loadState(), MSDevice_FCDReplay::move(), MSDevice_ToC::MRMExecutionStep(), MSDevice_Taxi::MSDevice_Taxi(), MSVehicleDevice(), MSDevice_Routing::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Emissions::notifyIdle(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Emissions::notifyMove(), MSDevice_Friction::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_ToC::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSDevice_Battery::notifyParking(), MSDevice_Vehroutes::notifyStopEnded(), MSDevice_StationFinder::planOpportunisticCharging(), MSDevice_Routing::preInsertionReroute(), MSDevice_Taxi::prepareStop(), MSDevice_Routing::rebuildRerouteCommand(), MSDevice_Transportable::removeTransportable(), MSDevice_ToC::requestToC(), MSDevice_Routing::reroute(), MSDevice_StationFinder::rerouteToChargingStation(), MSDevice_ToC::resetDeliberateLCs(), MSDevice_Bluelight::resetVehicle(), MSDevice_Tripinfo::saveState(), MSDevice_Taxi::setParameter(), MSDevice_ToC::setVehicleColor(), MSDevice_ToC::switchHolderType(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::ToCPreparationStep(), MSDevice_Transportable::transferAtSplitOrJoin(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSDevice_SSM::updateAndWriteOutput(), MSDevice_StationFinder::updateChargeLimit(), MSDevice_Taxi::updateMove(), MSDevice_Routing::wrappedRerouteCommandExecute(), MSDevice_ToC::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writeXMLRoute(), MSDevice_Transportable::~MSDevice_Transportable(), and MSDevice_Vehroutes::~MSDevice_Vehroutes().

◆ myHolderMS

MSVehicle* MSDevice_ToC::myHolderMS
private

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), GNEPoly::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), NBEdge::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), Named(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBNode::reinit(), NBEdge::reinitNodes(), RORoute::RORoute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().

◆ myInitialAwareness

double MSDevice_ToC::myInitialAwareness
private

Average awareness the driver has initially after a ToC.

Definition at line 276 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), setParameter(), and triggerDownwardToC().

◆ myInstances

std::set< MSDevice_ToC *, ComparatorNumericalIdLess > MSDevice_ToC::myInstances = std::set<MSDevice_ToC*, ComparatorNumericalIdLess>()
staticprivate

Definition at line 55 of file MSDevice_ToC.h.

Referenced by getInstances(), MSDevice_ToC(), and ~MSDevice_ToC().

◆ myIssuedDynamicToC

bool MSDevice_ToC::myIssuedDynamicToC
private

Flag to indicate that a dynamically triggered ToC is in preparation.

Definition at line 338 of file MSDevice_ToC.h.

Referenced by checkDynamicToC(), MSDevice_ToC(), notifyMove(), and setState().

◆ myLane

◆ myLastVehicleUpdateValues

std::map<long long int, std::pair<SUMOTime, double> > MSMoveReminder::myLastVehicleUpdateValues
privateinherited

◆ myLCAbstinence

double MSDevice_ToC::myLCAbstinence
private

Level of the awareness below which no lane-changes are performed.

Definition at line 274 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), setAwareness(), and setParameter().

◆ myManualTypeID

std::string MSDevice_ToC::myManualTypeID
private

vehicle type ID for manual driving

Definition at line 264 of file MSDevice_ToC.h.

Referenced by getParameter(), initColorScheme(), MSDevice_ToC(), setParameter(), and triggerDownwardToC().

◆ myMaxPreparationAccel

double MSDevice_ToC::myMaxPreparationAccel
private

Maximal acceleration that may be applied during the ToC preparation phase TODO: Make effective.

Definition at line 353 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), setParameter(), and setState().

◆ myMRMDecel

double MSDevice_ToC::myMRMDecel
private

Deceleration rate applied during MRM.

Definition at line 279 of file MSDevice_ToC.h.

Referenced by checkDynamicToC(), getParameter(), MRMExecutionStep(), MSDevice_ToC(), setParameter(), and triggerMRM().

◆ myMRMKeepRight

bool MSDevice_ToC::myMRMKeepRight
private

Whether vehicle tries to change to the right during an MRM.

Definition at line 343 of file MSDevice_ToC.h.

Referenced by getParameter(), MRMExecutionStep(), MSDevice_ToC(), and setParameter().

◆ myMRMProbability

double MSDevice_ToC::myMRMProbability
private

Probability of an MRM to occur after a dynamically triggered ToC.

Definition at line 334 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), sampleResponseTime(), and setParameter().

◆ myMRMSafeSpot

std::string MSDevice_ToC::myMRMSafeSpot
private

stop vehicle tries to reach during MRM

Definition at line 346 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), setParameter(), and triggerMRM().

◆ myMRMSafeSpotDuration

SUMOTime MSDevice_ToC::myMRMSafeSpotDuration
private

duration at stop vehicle tries to reach during MRM

Definition at line 349 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), setParameter(), and triggerMRM().

◆ myOpenGapParams

OpenGapParams MSDevice_ToC::myOpenGapParams
private

Parameters for the openGap mechanism applied during ToC preparation phase.

Definition at line 327 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), requestToC(), setParameter(), and setState().

◆ myOriginalMaxAccel

double MSDevice_ToC::myOriginalMaxAccel
private

Storage for original maximal acceleration of vehicle.

Definition at line 356 of file MSDevice_ToC.h.

Referenced by MSDevice_ToC(), and setState().

◆ myOutputFile

OutputDevice* MSDevice_ToC::myOutputFile
private

The file the devices output goes to.

Definition at line 309 of file MSDevice_ToC.h.

Referenced by generatesOutput(), MSDevice_ToC(), and writeOutput().

◆ myPrepareToCCommand

WrappingCommand<MSDevice_ToC>* MSDevice_ToC::myPrepareToCCommand
private

Definition at line 305 of file MSDevice_ToC.h.

Referenced by descheduleToCPreparation(), MSDevice_ToC(), requestToC(), and ~MSDevice_ToC().

◆ myPreviousLCMode

int MSDevice_ToC::myPreviousLCMode
private

LC mode overridden during MRM, stored for restoration.

Definition at line 321 of file MSDevice_ToC.h.

Referenced by deactivateDeliberateLCs(), MSDevice_ToC(), and resetDeliberateLCs().

◆ myRecoverAwarenessCommand

WrappingCommand<MSDevice_ToC>* MSDevice_ToC::myRecoverAwarenessCommand
private

◆ myRecoveryRate

double MSDevice_ToC::myRecoveryRate
private

Recovery rate for the driver's awareness after a ToC.

Definition at line 272 of file MSDevice_ToC.h.

Referenced by awarenessRecoveryStep(), getParameter(), MSDevice_ToC(), and setParameter().

◆ myResponseTime

SUMOTime MSDevice_ToC::myResponseTime
private

Average response time needed by the driver to take back control.

Definition at line 270 of file MSDevice_ToC.h.

Referenced by getParameter(), MSDevice_ToC(), and setParameter().

◆ myResponseTimeRNG

SumoRNG MSDevice_ToC::myResponseTimeRNG
staticprivate

Random generator for ToC devices.

Definition at line 371 of file MSDevice_ToC.h.

Referenced by getResponseTimeRNG(), and sampleResponseTime().

◆ myState

◆ myTriggerMRMCommand

WrappingCommand<MSDevice_ToC>* MSDevice_ToC::myTriggerMRMCommand
private

Definition at line 301 of file MSDevice_ToC.h.

Referenced by descheduleMRM(), MSDevice_ToC(), requestToC(), and ~MSDevice_ToC().

◆ myTriggerToCCommand

WrappingCommand<MSDevice_ToC>* MSDevice_ToC::myTriggerToCCommand
private

Definition at line 302 of file MSDevice_ToC.h.

Referenced by descheduleToC(), MSDevice_ToC(), requestToC(), and ~MSDevice_ToC().

◆ myUseColorScheme

bool MSDevice_ToC::myUseColorScheme
private

Whether a coloring scheme shall by applied to indicate the different toc stages,.

See also
initColorScheme()

Definition at line 288 of file MSDevice_ToC.h.

Referenced by MSDevice_ToC(), and setState().

◆ Notifications

StringBijection< MSMoveReminder::Notification > MSMoveReminder::Notifications
staticinherited

Definition at line 309 of file MSMoveReminder.h.

Referenced by MSDriveWay::writeBlockVehicles().

◆ NotificationValues

StringBijection< MSMoveReminder::Notification >::Entry MSMoveReminder::NotificationValues
staticprivateinherited
Initial value:
= {
{"departed", NOTIFICATION_DEPARTED},
{"junction", NOTIFICATION_JUNCTION},
{"segment", NOTIFICATION_SEGMENT},
{"laneChange", NOTIFICATION_LANE_CHANGE},
{"loadState", NOTIFICATION_LOAD_STATE},
{"teleport", NOTIFICATION_TELEPORT},
{"teleportContinuation", NOTIFICATION_TELEPORT_CONTINUATION},
{"parking", NOTIFICATION_PARKING},
{"reroute", NOTIFICATION_REROUTE},
{"parkingReroute", NOTIFICATION_PARKING_REROUTE},
{"arrived", NOTIFICATION_ARRIVED},
{"teleportArrived", NOTIFICATION_TELEPORT_ARRIVED},
{"vaporizedCalibrator", NOTIFICATION_VAPORIZED_CALIBRATOR},
{"vaporizedCollision", NOTIFICATION_VAPORIZED_COLLISION},
{"vaporizedTraCI", NOTIFICATION_VAPORIZED_TRACI},
{"vaporizedGUI", NOTIFICATION_VAPORIZED_GUI},
{"vaporizedBreakdown", NOTIFICATION_VAPORIZED_BREAKDOWN},
}
@ NOTIFICATION_VAPORIZED_TRACI
The vehicle got removed via TraCI.
@ NOTIFICATION_ARRIVED
The vehicle arrived at its destination (is deleted).
@ NOTIFICATION_TELEPORT_ARRIVED
The vehicle was teleported out of the net.
@ NOTIFICATION_PARKING_REROUTE
The vehicle needs another parking area.
@ NOTIFICATION_VAPORIZED_CALIBRATOR
The vehicle got removed by a calibrator.
@ NOTIFICATION_VAPORIZED_GUI
The vehicle got removed via the GUI.
@ NOTIFICATION_DEPARTED
The vehicle has departed (was inserted into the network).
@ NOTIFICATION_REROUTE
The vehicle changed it's route.
@ NOTIFICATION_SEGMENT
The vehicle changes the segment (meso only).
@ NOTIFICATION_LANE_CHANGE
The vehicle changes lanes (micro only).
@ NOTIFICATION_VAPORIZED_VAPORIZER
The vehicle got vaporized with a vaporizer.
@ NOTIFICATION_JUNCTION
The vehicle arrived at a junction.
@ NOTIFICATION_VAPORIZED_BREAKDOWN
The vehicle got removed via stationfinder device.
@ NOTIFICATION_PARKING
The vehicle starts or ends parking.
@ NOTIFICATION_VAPORIZED_COLLISION
The vehicle got removed by a collision.
@ NOTIFICATION_LOAD_STATE
The vehicle has been loaded from a state file.
@ NOTIFICATION_TELEPORT
The vehicle is being teleported.
@ NOTIFICATION_NONE
must be the last one
@ NOTIFICATION_TELEPORT_CONTINUATION
The vehicle continues being teleported past an edge.

Definition at line 28 of file MSMoveReminder.h.


The documentation for this class was generated from the following files: