Eclipse SUMO - Simulation of Urban MObility
|
The ToC Device controls transition of control between automated and manual driving. More...
#include <MSDevice_ToC.h>
Data Structures | |
struct | OpenGapParams |
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 |
SUMOVehicle & | getHolder () const |
Returns the vehicle that holds this device. | |
const std::string & | getID () const |
Returns the id. | |
const MSLane * | getLane () 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 |
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. | |
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. | |
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 SumoRNG * | getEquipmentRNG () |
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 SumoRNG * | getResponseTimeRNG () |
static void | insertOptions (OptionsCont &oc) |
Inserts MSDevice_ToC-options. | |
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 | |
SUMOVehicle & | myHolder |
The vehicle that stores the device. | |
std::string | myID |
The name of the object. | |
MSLane * | myLane |
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_ToC & | operator= (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. | |
MSVehicle * | myHolderMS |
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. | |
OutputDevice * | myOutputFile |
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, RGBColor > | myColorScheme |
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) | |
| |
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 *, ComparatorNumericalIdLess > | myInstances = std::set<MSDevice_ToC*, ComparatorNumericalIdLess>() |
static SumoRNG | myResponseTimeRNG |
Random generator for ToC devices. | |
The ToC Device controls transition of control between automated and manual driving.
Definition at line 52 of file MSDevice_ToC.h.
|
inherited |
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_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. |
Definition at line 89 of file MSMoveReminder.h.
|
private |
Enum describing the different regimes for the device,.
Enumerator | |
---|---|
UNDEFINED | |
MANUAL | |
AUTOMATED | |
PREPARING_TOC | |
MRM | |
RECOVERING |
Definition at line 108 of file MSDevice_ToC.h.
MSDevice_ToC::~MSDevice_ToC | ( | ) |
Destructor.
Definition at line 374 of file MSDevice_ToC.cpp.
References WrappingCommand< T >::deschedule(), myExecuteMRMCommand, myInstances, myPrepareToCCommand, myRecoverAwarenessCommand, myTriggerMRMCommand, myTriggerToCCommand, and resetDeliberateLCs().
|
private |
Constructor.
[in] | holder | The vehicle that holds this device |
[in] | id | The ID of the device |
[in] | file | The file to write the device's output to |
[in] | manualType | vType that models manual driving |
[in] | automatedType | vType that models automated driving |
[in] | responseTime | time lapse until vType switch after request was received |
[in] | recoveryRate | rate at which the awareness increases after the takeover |
[in] | lcAbstinence | awareness level below which no lane changes are taken out |
[in] | initialAwareness | value to which the awareness is set after takeover |
[in] | mrmDecel | constant deceleration rate assumed to be applied during an MRM |
[in] | mrmKeepRight | whether the vehicle tries to change to the right during an MRM |
[in] | mrmSafeSpot | stopping place to reach during an MRM |
[in] | useColorScheme | whether the color of the vehicle should be changed according to its current ToC-state |
[in] | ogp | parameters for the openGap mechanism applied during ToC preparation phase |
Definition at line 245 of file MSDevice_ToC.cpp.
References _2string(), MSDevice_ToC::OpenGapParams::active, AUTOMATED, MSDevice_ToC::OpenGapParams::changeRate, 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, MSDevice_ToC::OpenGapParams::maxDecel, myAutomatedTypeID, myCurrentAwareness, myHolderMS, myInitialAwareness, myInstances, myManualTypeID, myMRMDecel, myOpenGapParams, myOutputFile, myRecoveryRate, myResponseTime, myState, MSDevice_ToC::OpenGapParams::newSpaceHeadway, MSDevice_ToC::OpenGapParams::newTimeHeadway, and OutputDevice::writeXMLHeader().
|
private |
Invalidated copy constructor.
|
staticprivate |
Definition at line 996 of file MSDevice_ToC.cpp.
References AUTOMATED, MANUAL, MRM, PREPARING_TOC, RECOVERING, TL, toString(), UNDEFINED, and WRITE_WARNINGF.
Referenced by getParameter(), and MSDevice_ToC().
|
staticprivate |
Definition at line 975 of file MSDevice_ToC.cpp.
References AUTOMATED, MANUAL, MRM, PREPARING_TOC, RECOVERING, TL, UNDEFINED, and WRITE_WARNINGF.
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
Continue the awareness recovery for one time step.
Definition at line 765 of file MSDevice_ToC.cpp.
References DELTA_T, WrappingCommand< T >::deschedule(), Named::getID(), MANUAL, MIN2(), myCurrentAwareness, MSVehicleDevice::myHolder, myRecoverAwarenessCommand, myRecoveryRate, setAwareness(), setState(), SIMTIME, and TS.
Referenced by triggerDownwardToC().
|
staticinherited |
Build devices for the given person, if needed.
[in] | p | The person for which a device may be built |
[filled] | into The vector to store the built device in |
Definition at line 137 of file MSDevice.cpp.
References MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), and MSTransportableDevice_FCDReplay::buildDevices().
Referenced by MSTransportable::MSTransportable().
|
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.
[in] | v | The 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, TIME2STEPS, TL, and WRITE_WARNING.
Referenced by MSDevice::buildVehicleDevices().
|
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,.
Definition at line 1094 of file MSDevice_ToC.cpp.
References DYNAMIC_TOC_ABORT_RESISTANCE_FACTOR, MSVehicle::getBestLanes(), Named::getID(), MSVehicle::getLane(), MSBaseVehicle::getNextStop(), MSLane::getNumericalID(), MSVehicle::getPositionOnLane(), MSVehicle::getSpeed(), MSBaseVehicle::hasStops(), MSLane::isInternal(), MSStop::lane, MAX2(), myDynamicToCActive, myDynamicToCLane, myDynamicToCThreshold, MSVehicleDevice::myHolder, myHolderMS, myIssuedDynamicToC, myMRMDecel, and SIMTIME.
Referenced by notifyMove().
|
staticinherited |
check device-specific options
[filled] | oc The options container with the user-defined options |
Definition at line 104 of file MSDevice.cpp.
References MSDevice_Routing::checkOptions().
Referenced by MSFrame::checkOptions().
|
static |
Closes root tags of output files.
Definition at line 1048 of file MSDevice_ToC.cpp.
References OutputDevice::closeTag(), createdOutputFiles, fn, and OutputDevice::getDevice().
Referenced by MSNet::clearAll().
|
staticinherited |
perform cleanup for all devices
Definition at line 147 of file MSDevice.cpp.
References MSDevice_FCD::cleanup(), MSDevice_Taxi::cleanup(), MSDevice_Tripinfo::cleanup(), and MSRoutingEngine::cleanup().
Referenced by MSNet::clearAll().
|
private |
Resets the holder's LC mode to the operational LC-mode of the ToC Device (.
Definition at line 1071 of file MSDevice_ToC.cpp.
References Named::getID(), MSVehicle::getInfluencer(), MSVehicle::Influencer::getLaneChangeMode(), LCModeMRM, MSVehicleDevice::myHolder, myHolderMS, myPreviousLCMode, MSVehicle::Influencer::setLaneChangeMode(), and SIMTIME.
Referenced by MRMExecutionStep(), setAwareness(), and setState().
|
private |
Break MRM Process or remove MRM-Trigger command from the event-queue.
Definition at line 652 of file MSDevice_ToC.cpp.
References WrappingCommand< T >::deschedule(), myExecuteMRMCommand, myTriggerMRMCommand, and resetDeliberateLCs().
Referenced by triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().
|
private |
Remove ongoing awareness recovery process from the event-queue.
Definition at line 688 of file MSDevice_ToC.cpp.
References WrappingCommand< T >::deschedule(), and myRecoverAwarenessCommand.
Referenced by requestMRM(), and triggerUpwardToC().
|
private |
Remove scheduled ToC-Trigger command from the event-queue.
Definition at line 668 of file MSDevice_ToC.cpp.
References WrappingCommand< T >::deschedule(), and myTriggerToCCommand.
Referenced by requestMRM(), triggerDownwardToC(), and triggerUpwardToC().
|
private |
Remove ongoing ToC-Preparation process from the event-queue.
Definition at line 676 of file MSDevice_ToC.cpp.
References WrappingCommand< T >::deschedule(), MRM, myPrepareToCCommand, myState, and resetDeliberateLCs().
Referenced by requestMRM(), ToCPreparationStep(), triggerDownwardToC(), and triggerUpwardToC().
|
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().
|
staticprotectedinherited |
Determines whether a vehicle should get a certain device.
[in] | oc | The options container to get the information about assignment from |
[in] | deviceName | The name of the device type |
[in] | v | The vehicle to determine whether it shall be equipped or not |
Definition at line 195 of file MSDevice.h.
References MSDevice::deviceName(), OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), MSNet::getInstance(), OptionsCont::getOptions(), MSVehicleControl::getQuota(), OptionsCont::getStringVector(), MSNet::getVehicleControl(), OptionsCont::isSet(), MSDevice::myEquipmentRNG, MSDevice::myExplicitIDs, RandHelper::rand(), StringUtils::toBool(), and StringUtils::toDouble().
Referenced by MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::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(), buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), and MSDevice_Battery::buildVehicleDevices().
|
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.
IOError | not yet implemented |
Reimplemented in MSDevice_Battery, MSDevice_Bluelight, MSDevice_ElecHybrid, MSDevice_Emissions, MSDevice_Example, MSDevice_GLOSA, MSDevice_SSM, MSDevice_Taxi, MSDevice_Tripinfo, MSDevice_Vehroutes, and MSDevice_StationFinder.
Definition at line 124 of file MSDevice.h.
|
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().
|
inlineinherited |
Definition at line 280 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSDriveWay::notifyEnter(), MSDriveWay::notifyLeave(), and MSDriveWay::notifyLeaveBack().
|
staticprivate |
Definition at line 189 of file MSDevice_ToC.cpp.
References SUMOTrafficObject::getFloatParam(), MAX2(), MIN2(), TL, toString(), and WRITE_WARNINGF.
Referenced by buildVehicleDevices().
|
inlinestaticinherited |
Definition at line 89 of file MSDevice.h.
References MSDevice::myEquipmentRNG.
Referenced by NLBuilder::initRandomness(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().
|
inlineinherited |
Returns the vehicle that holds this device.
Definition at line 72 of file MSVehicleDevice.h.
References MSVehicleDevice::myHolder.
Referenced by MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), MSDispatch::computeDetourTime(), MSDispatch_GreedyClosest::computeDispatch(), MSDispatch::computePickupTime(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), and MSDispatch::remainingCapacity().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), 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(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::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(), awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), 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_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::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(), buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), checkDynamicToC(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSDispatch_GreedyClosest::computeDispatch(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), 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(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSDefinition::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), deactivateDeliberateLCs(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), 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(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSStoppingPlaceRerouter::evaluateDestination(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::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(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::generateOutput(), MSStopOut::generateOutputForUnfinished(), GUITrafficLightLogicWrapper::getActiveTLLogic(), 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::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSDriveWay::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), NBNodeShapeComputer::getDefaultRadius(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSStop::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), 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(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_StationFinder::getParameter(), getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), 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(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), 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(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), 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_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCalibrator::init(), NBEdge::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), MESegment::initialise(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::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(), MSVehicle::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MEVehicle::mayProceed(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), 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(), MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSDefinition::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSLaneChangerSublane::outputLCStarted(), 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(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), 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::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), requestToC(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSRailSignal::retrieveDriveWay(), NIImporter_OpenDrive::retrieveSignalEdges(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), MESegment::saveState(), MSDevice::saveState(), MSDevice_Battery::saveState(), MSDevice_Routing::saveState(), MSDevice_StationFinder::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSSimpleTrafficLightLogic::saveState(), MSStageDriving::saveState(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), NBEdge::setNodeBorder(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), 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(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSStopOut::stopStarted(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), switchHolderType(), GNETLSEditorFrame::TLSDefinition::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), triggerDownwardToC(), triggerMRM(), MSTriggeredRerouter::triggerRouting(), triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), MSDevice_StationFinder::updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSElecHybridExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), and RONet::~RONet().
|
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(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), 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(), 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(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inlinestatic |
returns all currently existing ToC devices
Definition at line 91 of file MSDevice_ToC.h.
References myInstances.
Referenced by MSNet::writeOutput().
|
inlineinherited |
Returns the lane the reminder works on.
Definition at line 83 of file MSMoveReminder.h.
References MSMoveReminder::myLane.
Referenced by LIBSUMO_NAMESPACE::InductionLoop::getTree(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), LIBSUMO_NAMESPACE::InductionLoop::storeShape(), and MSMeanData::writeEdge().
|
inlineinherited |
Definition at line 76 of file MSVehicleDevice.h.
References SUMOTrafficObject::getNumericalID(), and MSVehicleDevice::myHolder.
|
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().
|
overridevirtual |
try to retrieve the given parameter from this device. Throw exception for unsupported key
Reimplemented from MSDevice.
Definition at line 826 of file MSDevice_ToC.cpp.
References _2string(), MSDevice_ToC::OpenGapParams::changeRate, deviceName(), Named::getID(), MSDevice_ToC::OpenGapParams::maxDecel, myAutomatedTypeID, myCurrentAwareness, myDynamicToCActive, myDynamicToCThreshold, MSVehicleDevice::myHolder, myInitialAwareness, myLCAbstinence, myManualTypeID, myMaxPreparationAccel, myMRMDecel, myMRMKeepRight, myMRMProbability, myMRMSafeSpot, myMRMSafeSpotDuration, myOpenGapParams, myRecoveryRate, myResponseTime, myState, MSDevice_ToC::OpenGapParams::newSpaceHeadway, MSDevice_ToC::OpenGapParams::newTimeHeadway, STEPS2TIME, and toString().
|
inlinestatic |
Definition at line 175 of file MSDevice_ToC.h.
References myResponseTimeRNG.
Referenced by NLBuilder::initRandomness(), MSStateHandler::myStartElement(), and MSStateHandler::saveRNGs().
|
private |
Initialize vehicle colors for different states.
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().
|
staticprotectedinherited |
Adds common command options that allow to assign devices to vehicles.
[in] | deviceName | The name of the device type |
[in] | optionsTopic | The options topic into which the options shall be added |
[filled] | oc The options container to add the options to |
Definition at line 155 of file MSDevice.cpp.
References OptionsCont::addDescription(), OptionsCont::addSynonyme(), MSDevice::deviceName(), and OptionsCont::doRegister().
Referenced by MSDevice_Battery::insertOptions(), MSDevice_Bluelight::insertOptions(), MSVehicleDevice_BTreceiver::insertOptions(), MSTransportableDevice_BTreceiver::insertOptions(), MSVehicleDevice_BTsender::insertOptions(), MSTransportableDevice_BTsender::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(), insertOptions(), MSDevice_Tripinfo::insertOptions(), MSDevice_Vehroutes::insertOptions(), MSTransportableDevice_FCD::insertOptions(), MSTransportableDevice_FCDReplay::insertOptions(), and MSTransportableDevice_Routing::insertOptions().
|
static |
Inserts MSDevice_ToC-options.
[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().
|
staticprivate |
Two-dimensional interpolation of variance from lookup table assumes pMRM >= 0, leadTime >= 0.
Definition at line 1205 of file MSDevice_ToC.cpp.
References lookupResponseTimeLeadTimes, lookupResponseTimeMRMProbs, lookupResponseTimeVariances, and MAX_RESPONSETIME_VARIANCE.
Referenced by sampleResponseTime().
|
private |
Whether the current operation mode is automated.
Definition at line 1089 of file MSDevice_ToC.cpp.
References AUTOMATED, MRM, myState, and PREPARING_TOC.
|
private |
Whether the current operation mode is manual.
Definition at line 1084 of file MSDevice_ToC.cpp.
References MANUAL, myState, and RECOVERING.
Referenced by setParameter().
|
inlinevirtualinherited |
Reimplemented in MSTriggeredRerouter.
Definition at line 285 of file MSMoveReminder.h.
|
virtualinherited |
Loads the state of the device from the given description.
The default implementation does nothing.
[in] | attrs | XML 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 177 of file MSDevice.cpp.
Continue the MRM for one time step.
Definition at line 729 of file MSDevice_ToC.cpp.
References ACCEL2SPEED, deactivateDeliberateLCs(), DELTA_T, Named::getID(), MSVehicle::getInfluencer(), MSNet::getInstance(), MSVehicle::getSpeed(), MAX2(), MRM, MSVehicleDevice::myHolder, myHolderMS, myMRMDecel, myMRMKeepRight, myState, resetDeliberateLCs(), MSVehicle::Influencer::setLaneTimeLine(), MSVehicle::Influencer::setSpeedTimeLine(), and SIMTIME.
Referenced by triggerMRM().
|
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.
[in] | veh | The entering vehicle. |
[in] | reason | how the vehicle enters the lane |
Reimplemented in MSDevice_FCD, MSTransportableDevice_FCD, MSDevice_ElecHybrid, MSE2Collector, MSDevice_Bluelight, MSTransportableDevice_BTreceiver, MSTransportableDevice_BTsender, MSDevice_Example, MSDevice_GLOSA, MSDevice_Routing, MSDevice_SSM, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, MSMeanData::MeanDataValues, MSMeanData::MeanDataValueTracker, MSMeanData_Amitran::MSLaneMeanDataValues, MSMeanData_Net::MSLaneMeanDataValues, MSRailSignalConstraint_Predecessor::PassedTracker, MSTriggeredRerouter, MSRouteProbe, MSCalibrator::VehicleRemover, MSE3Collector::MSE3EntryReminder, MSE3Collector::MSE3LeaveReminder, MSDriveWay, MSVehicleDevice_BTreceiver, MSVehicleDevice_BTsender, and MSInductLoop.
Definition at line 142 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
inlinevirtualinherited |
Computes idling emission values and adds them to the emission sums.
Idling implied by zero velocity, acceleration and slope
[in] | veh | The vehicle |
Reimplemented in MSDevice_Emissions, MSDevice_Tripinfo, MSMeanData_Emissions::MSLaneMeanDataValues, and MSDevice_StationFinder.
Definition at line 183 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
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.
[in] | veh | The leaving vehicle. |
[in] | lastPos | Position on the lane when leaving. |
[in] | reason | how the vehicle leaves the lane |
Reimplemented in MSDevice_ElecHybrid, MSDevice_Bluelight, MSTransportableDevice_BTreceiver, MSTransportableDevice_BTsender, MSDevice_Example, MSDevice_SSM, MSDevice_Transportable, MSDevice_Tripinfo, MSE2Collector, MSE3Collector::MSE3EntryReminder, MSE3Collector::MSE3LeaveReminder, MSInductLoop, MSInstantInductLoop, MSMeanData::MeanDataValues, MSMeanData::MeanDataValueTracker, MSMeanData_Net::MSLaneMeanDataValues, MSTriggeredRerouter, MSVehicleDevice_BTreceiver, MSVehicleDevice_BTsender, MSDevice_Vehroutes, MSDriveWay, and MSCalibrator::VehicleRemover.
Definition at line 207 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
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.
[in] | veh | The leaving vehicle. |
[in] | reason | how the vehicle leaves the lane |
[in] | leftLane | The lane that the vehicle's back left |
Reimplemented in MSDriveWay.
Definition at line 228 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
overridevirtual |
Return value indicates whether the device still wants to be notified about the vehicle movement.
Reimplemented from MSMoveReminder.
Definition at line 792 of file MSDevice_ToC.cpp.
References AUTOMATED, checkDynamicToC(), DYNAMIC_TOC_LEADTIME_FACTOR, generatesOutput(), Named::getID(), MSVehicle::getLane(), SUMOTrafficObject::getLane(), MSLane::getNumericalID(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), myDynamicToCLane, myDynamicToCThreshold, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myHolderMS, myIssuedDynamicToC, myState, PREPARING_TOC, requestToC(), SIMSTEP, triggerUpwardToC(), Position::x(), and Position::y().
|
inlinevirtualinherited |
Internal notification about the vehicle moves.
Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from its reminder-container.
[in] | veh | Vehicle that asks this reminder. |
[in] | frontOnLane | time the front of the vehicle spent on the lane. |
[in] | timeOnLane | time some part of the vehicle spent on the lane. |
[in] | meanSpeedFrontOnLane | Average speed for the time that the front is on the lane. |
[in] | meanSpeedVehicleOnLane | Average speed for the time that the vehicle is on the lane (with front or back). |
[in] | travelledDistanceFrontOnLane | distance travelled while overlapping with the lane. |
[in] | travelledDistanceVehicleOnLane | distance travelled while front was on the lane. |
[in] | meanLengthOnLane | the 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_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSMeanData::MeanDataValueTracker, MSDevice_StationFinder, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.
Definition at line 258 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
Referenced by MSMoveReminder::updateDetector().
|
inlinevirtualinherited |
called to update state for parking vehicles
Reimplemented in MSDevice_Battery.
Definition at line 189 of file MSMoveReminder.h.
|
inlinevirtualinherited |
called to update state for stopped vehicles
Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.
Definition at line 192 of file MSMoveReminder.h.
|
private |
Invalidated assignment operator.
|
protectedinherited |
Definition at line 89 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), and MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::updateDetector().
|
private |
Request an MRM to be initiated immediately. No downward ToC will be scheduled.
Definition at line 471 of file MSDevice_ToC.cpp.
References descheduleRecovery(), descheduleToC(), descheduleToCPreparation(), and triggerMRM().
Referenced by setParameter().
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.
timeTillMRM | |
responseTime | If the default is given (== -1), the response time is sampled randomly, |
Definition at line 484 of file MSDevice_ToC.cpp.
References MSVehicle::Influencer::activateGapController(), MSDevice_ToC::OpenGapParams::active, MSEventControl::addEvent(), AUTOMATED, MSDevice_ToC::OpenGapParams::changeRate, DELTA_T, generatesOutput(), MSNet::getBeginOfTimestepEvents(), MSVehicle::getCarFollowModel(), MSCFModel::getHeadwayTime(), Named::getID(), MSVehicle::getInfluencer(), MSNet::getInstance(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), MSDevice_ToC::OpenGapParams::maxDecel, MRM, myEventLanes, myEvents, myEventXY, myExecuteMRMCommand, MSVehicleDevice::myHolder, myHolderMS, myOpenGapParams, myPrepareToCCommand, myState, myTriggerMRMCommand, myTriggerToCCommand, MSDevice_ToC::OpenGapParams::newSpaceHeadway, MSDevice_ToC::OpenGapParams::newTimeHeadway, PREPARING_TOC, sampleResponseTime(), setState(), SIMSTEP, SIMTIME, STEPS2TIME, TIME2STEPS, ToCPreparationStep(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), WRITE_WARNING, Position::x(), and Position::y().
Referenced by notifyMove(), and setParameter().
|
private |
Resets the holder's LC mode to the last differing to LCModeMRM.
Definition at line 1059 of file MSDevice_ToC.cpp.
References Named::getID(), MSVehicle::getInfluencer(), MSVehicleDevice::myHolder, myHolderMS, myPreviousLCMode, MSVehicle::Influencer::setLaneChangeMode(), and SIMTIME.
Referenced by descheduleMRM(), descheduleToCPreparation(), MRMExecutionStep(), setAwareness(), setState(), and ~MSDevice_ToC().
|
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().
|
private |
Samples a random driver response time from a truncated Gaussian with parameters according to the lookup tables.
Definition at line 1182 of file MSDevice_ToC.cpp.
References interpolateVariance(), MAX_RESPONSETIME_SAMPLE_TRIES, myMRMProbability, myResponseTimeRNG, RandHelper::randNorm(), and responseTimeMean().
Referenced by requestToC().
|
virtualinherited |
Saves the state of the device.
The default implementation writes a warning and does nothing.
[in] | out | The OutputDevice to write the information into |
Reimplemented in MSDevice_FCD, MSTransportableDevice_FCD, MSDevice_Battery, MSDevice_Routing, MSDevice_StationFinder, MSDevice_Transportable, MSDevice_Tripinfo, MSDevice_Vehroutes, and MSTransportableDevice_Routing.
Definition at line 171 of file MSDevice.cpp.
References Named::getID(), TL, and WRITE_WARNINGF.
|
private |
Set the awareness to the given value.
Definition at line 397 of file MSDevice_ToC.cpp.
References deactivateDeliberateLCs(), MSVehicle::getDriverState(), MAX2(), MIN2(), myCurrentAwareness, myHolderMS, myLCAbstinence, resetDeliberateLCs(), and WRITE_WARNING.
Referenced by awarenessRecoveryStep(), setParameter(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().
|
inlineinherited |
Definition at line 276 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.
Definition at line 82 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
overridevirtual |
try to set the given parameter for this device. Throw exception for unsupported key
Reimplemented from MSDevice.
Definition at line 875 of file MSDevice_ToC.cpp.
References MSDevice_ToC::OpenGapParams::active, AUTOMATED, MSDevice_ToC::OpenGapParams::changeRate, deviceName(), MSVehicleType::getColor(), Named::getID(), MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), isManuallyDriven(), MANUAL, MSDevice_ToC::OpenGapParams::maxDecel, MRM, myAutomatedTypeID, myColorScheme, myCurrentAwareness, myDynamicToCActive, myDynamicToCThreshold, myHolderMS, myInitialAwareness, myLCAbstinence, myManualTypeID, myMaxPreparationAccel, myMRMDecel, myMRMKeepRight, myMRMProbability, myMRMSafeSpot, myMRMSafeSpotDuration, myOpenGapParams, myRecoveryRate, myResponseTime, myState, MSDevice_ToC::OpenGapParams::newSpaceHeadway, MSDevice_ToC::OpenGapParams::newTimeHeadway, PREPARING_TOC, requestMRM(), requestToC(), setAwareness(), SIMTIME, switchHolderType(), TIME2STEPS, TL, StringUtils::toBool(), StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
|
private |
Set the ToC device's state.
Definition at line 417 of file MSDevice_ToC.cpp.
References MSDevice_ToC::OpenGapParams::active, deactivateDeliberateLCs(), MSVehicle::Influencer::deactivateGapController(), MSVehicle::getCarFollowModel(), MSVehicleType::getCarFollowModel(), MSVehicle::getInfluencer(), MSCFModel::getMaxAccel(), MSBaseVehicle::getSingularType(), MIN2(), MRM, myHolderMS, myIssuedDynamicToC, myMaxPreparationAccel, myOpenGapParams, myOriginalMaxAccel, myState, myUseColorScheme, PREPARING_TOC, resetDeliberateLCs(), MSCFModel::setMaxAccel(), setVehicleColor(), and SIMTIME.
Referenced by awarenessRecoveryStep(), requestToC(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().
|
private |
Definition at line 464 of file MSDevice_ToC.cpp.
References SUMOVehicleParameter::color, SUMOTrafficObject::getParameter(), myColorScheme, MSVehicleDevice::myHolder, myState, SUMOVehicleParameter::parametersSet, and VEHPARS_COLOR_SET.
Referenced by setState().
|
private |
Switch the device holder's vehicle type.
Definition at line 698 of file MSDevice_ToC.cpp.
References MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), MSVehicleDevice::myHolder, myHolderMS, MSVehicle::replaceVehicleType(), SIMTIME, TL, and WRITE_ERRORF.
Referenced by setParameter(), triggerDownwardToC(), triggerMRM(), and triggerUpwardToC().
Continue the ToC preparation for one time step.
Definition at line 712 of file MSDevice_ToC.cpp.
References DELTA_T, descheduleToCPreparation(), Named::getID(), MSVehicleDevice::myHolder, myState, PREPARING_TOC, and SIMTIME.
Referenced by requestToC().
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(), Named::getID(), MSNet::getInstance(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), myCurrentAwareness, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myInitialAwareness, myManualTypeID, myRecoverAwarenessCommand, RECOVERING, setAwareness(), setState(), SIMSTEP, SIMTIME, switchHolderType(), Position::x(), and Position::y().
Referenced by requestToC().
Trigger execution of an MRM.
Definition at line 539 of file MSDevice_ToC.cpp.
References MSEventControl::addEvent(), SUMOVehicle::addStop(), DELTA_T, descheduleMRM(), SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, generatesOutput(), MSStoppingPlace::getBeginLanePosition(), MSNet::getBeginOfTimestepEvents(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), MSBaseVehicle::getSingularType(), MSNet::getStoppingPlace(), SUMOVehicleParameter::Stop::lane, MANUAL, MRM, MRMExecutionStep(), myAutomatedTypeID, myEventLanes, myEvents, myEventXY, myExecuteMRMCommand, MSVehicleDevice::myHolder, myHolderMS, myMRMDecel, myMRMSafeSpot, myMRMSafeSpotDuration, myState, OFFROAD, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, RECOVERING, setAwareness(), MSVehicleType::setDecel(), setState(), SIMSTEP, SIMTIME, SUMOVehicleParameter::Stop::startPos, SUMO_TAG_PARKING_AREA, switchHolderType(), TL, WRITE_WARNING, WRITE_WARNINGF, Position::x(), and Position::y().
Referenced by requestMRM(), and requestToC().
Trigger execution of a ToC X-->AUTOMATED ("upwards")
Definition at line 587 of file MSDevice_ToC.cpp.
References AUTOMATED, descheduleMRM(), descheduleRecovery(), descheduleToC(), descheduleToCPreparation(), generatesOutput(), Named::getID(), SUMOTrafficObject::getLane(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), MANUAL, myAutomatedTypeID, myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myState, RECOVERING, setAwareness(), setState(), SIMSTEP, SIMTIME, switchHolderType(), Position::x(), and Position::y().
Referenced by notifyMove(), and requestToC().
|
inherited |
Definition at line 47 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MEVehicle::updateDetectorForWriting().
void MSDevice_ToC::writeOutput | ( | ) |
Write output to file given by option device.toc.file.
Definition at line 1017 of file MSDevice_ToC.cpp.
References OutputDevice::closeTag(), generatesOutput(), Named::getID(), myEventLanes, myEvents, myEventXY, MSVehicleDevice::myHolder, myOutputFile, OutputDevice::openTag(), STEPS2TIME, and OutputDevice::writeAttr().
|
staticprivate |
Definition at line 57 of file MSDevice_ToC.h.
Referenced by cleanup(), and MSDevice_ToC().
|
staticprivate |
LC mode operational during an MRM.
Definition at line 324 of file MSDevice_ToC.h.
Referenced by deactivateDeliberateLCs().
|
staticprivate |
Definition at line 1269 of file MSDevice_ToC.h.
Referenced by interpolateVariance().
|
staticprivate |
Grid of the response time distribution.
Definition at line 1267 of file MSDevice_ToC.h.
Referenced by interpolateVariance().
|
staticprivate |
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 1272 of file MSDevice_ToC.h.
Referenced by interpolateVariance().
|
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().
Coloring scheme,.
Definition at line 285 of file MSDevice_ToC.h.
Referenced by initColorScheme(), setParameter(), and setVehicleColor().
|
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().
|
protectedinherited |
a description of this moveReminder
Definition at line 297 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
private |
Switch for considering dynamic ToCs,.
Definition at line 336 of file MSDevice_ToC.h.
Referenced by checkDynamicToC(), getParameter(), and setParameter().
|
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(), and notifyMove().
|
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,.
Definition at line 331 of file MSDevice_ToC.h.
Referenced by checkDynamicToC(), getParameter(), notifyMove(), and setParameter().
|
staticprivateinherited |
A random number generator used to choose from vtype/route distributions and computing the speed factors.
Definition at line 181 of file MSDevice.h.
Referenced by MSDevice::equippedByDefaultAssignmentOptions(), and MSDevice::getEquipmentRNG().
|
private |
Storage for events to be written to the output.
Definition at line 315 of file MSDevice_ToC.h.
Referenced by notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().
|
private |
Storage for events to be written to the output.
Definition at line 312 of file MSDevice_ToC.h.
Referenced by notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().
|
private |
Storage for events to be written to the output.
Definition at line 318 of file MSDevice_ToC.h.
Referenced by notifyMove(), requestToC(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), and writeOutput().
|
private |
Definition at line 304 of file MSDevice_ToC.h.
Referenced by descheduleMRM(), requestToC(), triggerMRM(), and ~MSDevice_ToC().
|
staticprivateinherited |
vehicles which explicitly carry a device, sorted by device, first
Definition at line 178 of file MSDevice.h.
Referenced by MSDevice::equippedByDefaultAssignmentOptions().
|
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(), awarenessRecoveryStep(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), checkDynamicToC(), MSDevice_Taxi::compatibleLine(), MSDevice_ElecHybrid::computeChargedEnergy(), MSDevice_SSM::computeGlobalMeasures(), MSDevice_ElecHybrid::consumption(), MSDevice_Taxi::customerArrived(), 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(), MSVehicleDevice::getHolder(), MSDevice_StationFinder::getLastStepStoppingPlaceOccupancy(), MSVehicleDevice::getNumericalID(), MSDevice_Battery::getParameter(), MSDevice_ElecHybrid::getParameter(), MSDevice_Routing::getParameter(), MSDevice_Taxi::getParameter(), getParameter(), MSDevice_ElecHybrid::getParameterDouble(), MSDevice_Taxi::getStopLane(), MSDevice_StationFinder::getStoppingPlaceCapacity(), MSDevice_StationFinder::getStoppingPlaceOccupancy(), MSDevice_Taxi::hasFuturePickup(), MSDevice_Routing::loadState(), MSDevice_FCDReplay::move(), MRMExecutionStep(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), 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_Transportable::notifyMove(), MSDevice_StationFinder::notifyMove(), notifyMove(), MSDevice_Emissions::notifyMoveInternal(), MSDevice_Battery::notifyParking(), MSDevice_Vehroutes::notifyStopEnded(), MSVehicleDevice::ComparatorNumericalVehicleIdLess::operator()(), MSDevice_Routing::preInsertionReroute(), MSDevice_Taxi::prepareStop(), MSDevice_Transportable::removeTransportable(), requestToC(), MSDevice_Routing::reroute(), MSDevice_StationFinder::rerouteToChargingStation(), resetDeliberateLCs(), MSDevice_Bluelight::resetVehicle(), MSDevice_Tripinfo::saveState(), MSDevice_Battery::setParameter(), MSDevice_ElecHybrid::setParameter(), MSDevice_Taxi::setParameter(), setVehicleColor(), switchHolderType(), MSDevice_StationFinder::teleportToChargingStation(), ToCPreparationStep(), MSDevice_Transportable::transferAtSplitOrJoin(), triggerDownwardToC(), triggerMRM(), triggerUpwardToC(), MSDevice_SSM::updateAndWriteOutput(), MSDevice_StationFinder::updateChargeLimit(), MSDevice_Taxi::updateMove(), MSDevice_Routing::wrappedRerouteCommandExecute(), writeOutput(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writeXMLRoute(), MSDevice_Transportable::~MSDevice_Transportable(), and MSDevice_Vehroutes::~MSDevice_Vehroutes().
|
private |
The holder vehicle casted to MSVehicle*.
Definition at line 296 of file MSDevice_ToC.h.
Referenced by checkDynamicToC(), deactivateDeliberateLCs(), MRMExecutionStep(), MSDevice_ToC(), notifyMove(), requestToC(), resetDeliberateLCs(), setAwareness(), setParameter(), setState(), switchHolderType(), and triggerMRM().
|
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(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::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().
|
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().
|
staticprivate |
Definition at line 55 of file MSDevice_ToC.h.
Referenced by getInstances(), MSDevice_ToC(), and ~MSDevice_ToC().
|
private |
Flag to indicate that a dynamically triggered ToC is in preparation.
Definition at line 338 of file MSDevice_ToC.h.
Referenced by checkDynamicToC(), notifyMove(), and setState().
|
protectedinherited |
Lane on which the reminder works.
Definition at line 295 of file MSMoveReminder.h.
Referenced by MSDriveWay::buildRoute(), MSDriveWay::buildSubFoe(), MSE2Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSE2Collector::getEstimatedCurrentVehicleNumber(), MSMoveReminder::getLane(), MSMoveReminder::MSMoveReminder(), MSE2Collector::notifyEnter(), MSDriveWay::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyLeave(), and MSE2Collector::notifyMove().
|
privateinherited |
Definition at line 305 of file MSMoveReminder.h.
Referenced by MSMoveReminder::removeFromVehicleUpdateValues(), and MSMoveReminder::updateDetector().
|
private |
Level of the awareness below which no lane-changes are performed.
Definition at line 274 of file MSDevice_ToC.h.
Referenced by getParameter(), setAwareness(), and setParameter().
|
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().
|
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(), setParameter(), and setState().
|
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().
|
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(), and setParameter().
|
private |
Probability of an MRM to occur after a dynamically triggered ToC.
Definition at line 334 of file MSDevice_ToC.h.
Referenced by getParameter(), sampleResponseTime(), and setParameter().
|
private |
stop vehicle tries to reach during MRM
Definition at line 346 of file MSDevice_ToC.h.
Referenced by getParameter(), setParameter(), and triggerMRM().
|
private |
duration at stop vehicle tries to reach during MRM
Definition at line 349 of file MSDevice_ToC.h.
Referenced by getParameter(), setParameter(), and triggerMRM().
|
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().
|
private |
Storage for original maximal acceleration of vehicle.
Definition at line 356 of file MSDevice_ToC.h.
Referenced by setState().
|
private |
The file the devices output goes to.
Definition at line 309 of file MSDevice_ToC.h.
Referenced by generatesOutput(), MSDevice_ToC(), and writeOutput().
|
private |
Definition at line 305 of file MSDevice_ToC.h.
Referenced by descheduleToCPreparation(), requestToC(), and ~MSDevice_ToC().
|
private |
LC mode overridden during MRM, stored for restoration.
Definition at line 321 of file MSDevice_ToC.h.
Referenced by deactivateDeliberateLCs(), and resetDeliberateLCs().
|
private |
Definition at line 303 of file MSDevice_ToC.h.
Referenced by awarenessRecoveryStep(), descheduleRecovery(), triggerDownwardToC(), and ~MSDevice_ToC().
|
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().
|
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().
|
staticprivate |
Random generator for ToC devices.
Definition at line 371 of file MSDevice_ToC.h.
Referenced by getResponseTimeRNG(), and sampleResponseTime().
|
private |
Current state of the device.
Definition at line 291 of file MSDevice_ToC.h.
Referenced by descheduleToCPreparation(), getParameter(), isAutomated(), isManuallyDriven(), MRMExecutionStep(), MSDevice_ToC(), notifyMove(), requestToC(), setParameter(), setState(), setVehicleColor(), ToCPreparationStep(), triggerMRM(), and triggerUpwardToC().
|
private |
Definition at line 301 of file MSDevice_ToC.h.
Referenced by descheduleMRM(), requestToC(), and ~MSDevice_ToC().
|
private |
Definition at line 302 of file MSDevice_ToC.h.
Referenced by descheduleToC(), requestToC(), and ~MSDevice_ToC().
|
private |
Whether a coloring scheme shall by applied to indicate the different toc stages,.
Definition at line 288 of file MSDevice_ToC.h.
Referenced by setState().