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

Reroutes traffic objects passing an edge. More...

#include <MSTriggeredRerouter.h>

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

Data Structures

struct  OvertakeLocation
struct  RerouteInterval

Public Types

enum  Notification {
  NOTIFICATION_DEPARTED , NOTIFICATION_JUNCTION , NOTIFICATION_SEGMENT , NOTIFICATION_LANE_CHANGE ,
  NOTIFICATION_LOAD_STATE , NOTIFICATION_TELEPORT , NOTIFICATION_TELEPORT_CONTINUATION , NOTIFICATION_PARKING ,
  NOTIFICATION_REROUTE , NOTIFICATION_PARKING_REROUTE , NOTIFICATION_ARRIVED , NOTIFICATION_TELEPORT_ARRIVED ,
  NOTIFICATION_VAPORIZED_CALIBRATOR , NOTIFICATION_VAPORIZED_COLLISION , NOTIFICATION_VAPORIZED_TRACI , NOTIFICATION_VAPORIZED_GUI ,
  NOTIFICATION_VAPORIZED_VAPORIZER , NOTIFICATION_VAPORIZED_BREAKDOWN , NOTIFICATION_NONE
}
 Definition of a vehicle state. More...
typedef std::map< const MSEdge *, double > Prohibitions

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
void characters (const XMLCh *const chars, const XERCES3_SIZE_t length)
 The inherited method called when characters occurred.
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
 The inherited method called when a tag is being closed.
const std::string & getDescription () const
const std::string & getFileName () const
 returns the current file name
const std::string & getID () const
 Returns the id.
const MSLanegetLane () const
 Returns the lane the reminder works on.
void loadReminderState (long long int numID, SUMOTime time, double pos)
 MSTriggeredRerouter (const std::string &id, const MSEdgeVector &edges, double prob, bool off, bool optional, SUMOTime timeThreshold, const std::string &vTypes, const Position &pos, const double radius)
 Constructor.
bool notifyEnter (SUMOTrafficObject &veh, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
 Tries to reroute the vehicle.
virtual void notifyMoveInternal (const SUMOTrafficObject &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane)
 Internal notification about the vehicle moves.
void registerParent (const int tag, GenericSAXHandler *handler)
 Assigning a parent handler which is enabled when the specified tag is closed.
void saveReminderState (OutputDevice &out, const SUMOTrafficObject &veh)
 Saves the current state into the given stream.
void setDescription (const std::string &description)
void setFileName (const std::string &name)
 Sets the current file name.
virtual void setID (const std::string &newID)
 resets the id
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs)
 The inherited method called when a new tag opens.
virtual ~MSTriggeredRerouter ()
 Destructor.
Interface methods, to be derived by subclasses
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 notifyLeaveBack (SUMOTrafficObject &veh, Notification reason, const MSLane *leftLane)
 Called if the vehicle's back leaves the reminder's lane.
virtual bool notifyReroute (SUMOTrafficObject &veh)
 Called if the vehicle change it's route.
void updateDetector (SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)

Static Public Member Functions

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 Public Attributes

static StringBijection< NotificationNotifications

Protected Member Functions

void removeFromVehicleUpdateValues (SUMOTrafficObject &veh)

Protected Attributes

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

Private Types

typedef std::map< MSStoppingPlace *, StoppingPlaceParamMap_t, ComparatorIdLessStoppingPlaceMap_t
typedef std::map< std::string, double > StoppingPlaceParamMap_t
typedef std::map< std::string, bool > StoppingPlaceParamSwitchMap_t
typedef std::pair< MSStoppingPlace *, bool > StoppingPlaceVisible

Private Member Functions

virtual StoppingPlaceParamMap_t collectWeights (SUMOVehicle &veh)
 read target function weights for this vehicle
const MSRouteIterator determineRerouteOrigin (SUMOVehicle &veh, int insertStopIndex)
 Determine the rerouting origin edge (not necessarily the current edge of the vehicle!).
virtual bool evaluateCustomComponents (SUMOVehicle &veh, double brakeGap, bool newDestination, MSStoppingPlace *alternative, double occupancy, double prob, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, StoppingPlaceParamMap_t &stoppingPlaceValues, ConstMSEdgeVector &newRoute, ConstMSEdgeVector &stoppingPlaceApproach, StoppingPlaceParamMap_t &maxValues, StoppingPlaceParamMap_t &addInput)
 Compute some custom target function components.
virtual bool evaluateDestination (SUMOVehicle &veh, double brakeGap, bool newDestination, MSStoppingPlace *alternative, double occupancy, double prob, SUMOAbstractRouter< MSEdge, SUMOVehicle > &router, StoppingPlaceMap_t &stoppingPlaces, std::map< MSStoppingPlace *, ConstMSEdgeVector > &newRoutes, std::map< MSStoppingPlace *, ConstMSEdgeVector > &stoppingPlaceApproaches, StoppingPlaceParamMap_t &maxValues, StoppingPlaceParamMap_t &addInput, const int insertStopIndex=0, const bool keepCurrentStop=true)
 compute the target function for a single alternative
virtual SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouter (SUMOVehicle &veh, const Prohibitions &prohibited={})
 Provide the router to use (MSNet::getRouterTT or MSRoutingEngine).
double getWeight (SUMOVehicle &veh, const std::string param, const double defaultWeight, const bool warn=false)
 read the value of a stopping place search param, e.g. a component weight factor
void readEvaluationWeights (SUMOVehicle &veh, StoppingPlaceParamMap_t &stoppingPlaceParams, StoppingPlaceParamMap_t &stoppingPlaceDefaults, StoppingPlaceParamMap_t &maxValues)
 Ask the vehicle about the relevant rerouting parameters and initiate the maximum value data structure.
MSStoppingPlacererouteStoppingPlace (MSStoppingPlace *destStoppingPlace, const std::vector< StoppingPlaceVisible > &stoppingPlaceCandidates, const std::vector< double > &probs, SUMOVehicle &veh, bool &newDestination, ConstMSEdgeVector &newRoute, StoppingPlaceParamMap_t &scores, const Prohibitions &closedEdges={}, const int insertStopIndex=0, const bool keepCurrentStop=true)
 main method to trigger the rerouting to the "best" StoppingPlace according to the custom evaluation function
virtual bool useStoppingPlace (MSStoppingPlace *stoppingPlace)
 Whether the stopping place should be included in the search (can be used to add an additional filter).
virtual bool validComponentValues (StoppingPlaceParamMap_t &stoppingPlaceValues)
 Whether the stopping place should be discarded due to its results from the component evaluation (allows to check for min/max thresholds and other non-linear relations).

Static Private Member Functions

static double getTargetValue (const StoppingPlaceParamMap_t &absValues, const StoppingPlaceParamMap_t &maxValues, const StoppingPlaceParamMap_t &weights, const StoppingPlaceParamSwitchMap_t &norm, const StoppingPlaceParamSwitchMap_t &invert)
 compute the scalar target function value by means of a linear combination of all components/weights after normalising and optionally inverting the values
static void updateMaxValues (StoppingPlaceParamMap_t &stoppingPlaceValues, StoppingPlaceParamMap_t &maxValues)
 keep track of the maximum values of each component

Private Attributes

bool myCheckValidity
StoppingPlaceParamMap_t myEvalParams
StoppingPlaceParamSwitchMap_t myInvertParams
std::map< long long int, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
StoppingPlaceParamSwitchMap_t myNormParams
const std::string myParamPrefix

Static Private Attributes

static StringBijection< Notification >::Entry NotificationValues []

Friends

class GUIEdge

Methods called on vehicle movement / state change, overwriting MSDevice

static const double DEFAULT_MAXDELAY
bool notifyMove (SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
 Triggers rerouting (once) for vehicles that are already on the edge when the rerouter activates.
bool notifyLeave (SUMOTrafficObject &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
 Removes the reminder.
bool triggerRouting (SUMOTrafficObject &veh, MSMoveReminder::Notification reason)
const RerouteIntervalgetCurrentReroute (SUMOTime time, SUMOTrafficObject &obj) const
 Returns the rerouting definition valid for the given time and object, nullptr if none.
SUMOTime setPermissions (const SUMOTime currentTime)
 Sets the edge permission if there are any defined in the closingEdge.
const RerouteIntervalgetCurrentReroute (SUMOTime time) const
 Returns the rerouting definition valid for the given time, 0 if none.
void setUserMode (bool val)
 Sets whether the process is currently steered by the user.
void setUserUsageProbability (double prob)
 Sets the probability with which a vehicle is rerouted given by the user.
bool inUserMode () const
 Returns whether the user is setting the rerouting probability.
double getProbability () const
 Returns the rerouting probability.
double getUserProbability () const
 Returns the rerouting probability given by the user.
bool isParkingRerouter () const
const PositiongetPosition ()
double getStoppingPlaceOccupancy (MSStoppingPlace *sp)
 Return the number of occupied places of the stopping place.
double getLastStepStoppingPlaceOccupancy (MSStoppingPlace *sp)
 Return the number of occupied places of the stopping place from the previous time step.
double getStoppingPlaceCapacity (MSStoppingPlace *sp)
 Return the number of places the stopping place provides.
void rememberBlockedStoppingPlace (SUMOVehicle &veh, const MSStoppingPlace *parkingArea, bool blocked)
 store the blocked ParkingArea in the vehicle
void rememberStoppingPlaceScore (SUMOVehicle &veh, MSStoppingPlace *parkingArea, const std::string &score)
 store the score of the ParkingArea in the vehicle
void resetStoppingPlaceScores (SUMOVehicle &veh)
 reset all stored ParkingArea scores for this vehicle
SUMOTime sawBlockedStoppingPlace (SUMOVehicle &veh, MSStoppingPlace *parkingArea, bool local)
 get the time the ParkingArea was considered full from this vehicle
int getNumberStoppingPlaceReroutes (SUMOVehicle &veh)
 ask how many times already the vehicle has been rerouted to another stopping place
void setNumberStoppingPlaceReroutes (SUMOVehicle &veh, int value)
 update the number of reroutes for the vehicle
MSParkingArearerouteParkingArea (const MSTriggeredRerouter::RerouteInterval *rerouteDef, SUMOVehicle &veh, bool &newDestination, ConstMSEdgeVector &newRoute)
 search for an alternative ParkingArea
std::pair< const SUMOVehicle *, MSRailSignal * > overtakingTrain (const SUMOVehicle &veh, ConstMSEdgeVector::const_iterator mainStart, const OvertakeLocation &oloc, double &netSaving)
 determine whether veh should switch from main to siding to be overtaken and return the overtaking vehicle or nullptr
void checkStopSwitch (MSBaseVehicle &veh, const MSTriggeredRerouter::RerouteInterval *def)
 consider switching the location of the upcoming stop
static MSRailSignalfindSignal (ConstMSEdgeVector::const_iterator begin, ConstMSEdgeVector::const_iterator end)
 find the last downstream signal on the given route
static MSRailSignalgetRailSignal (const MSEdge *edge)
 return railsignal at that edge or nullptr
static const std::map< std::string, MSTriggeredRerouter * > & getInstances ()
 return all rerouter instances
static void checkParkingRerouteConsistency ()
 issues warning for incomplete parkingReroute relationships
static double getEvalDefaultWeight (std::string &paramName)
 provide default values for evaluation components

inherited from GenericSAXHandler

const MSEdgeVector myEdges
 edges where vehicles are notified
std::vector< RerouteIntervalmyIntervals
 List of rerouting definition intervals.
double myProbability
 The probability and the user-given probability.
double myUserProbability
bool myAmInUserMode
 Information whether the current rerouting probability is the user-given.
bool myAmOptional
 Information whether the rerouting will only take place on request.
Position myPosition
 Where are we located in the network.
double myRadius
 At which distance are we activated.
SUMOTime myTimeThreshold
std::set< std::string > myVehicleTypes
 The vehicle types to look for (empty means all).
RerouteInterval myParsedRerouteInterval
 used during loading
bool myHaveParkProbs
 whether this rerouter has loaded parkingReroute definitions
std::set< const MSStoppingPlace * > myBlockedStoppingPlaces
static MSEdge mySpecialDest_keepDestination
 special destination values
static MSEdge mySpecialDest_terminateRoute
static std::map< std::string, MSTriggeredRerouter * > myInstances
virtual void myStartElement (int element, const SUMOSAXAttributes &attrs)
 Called on the opening of a tag;.
virtual void myEndElement (int element)
 Called when a closing tag occurs.
bool applies (const SUMOTrafficObject &obj) const
 Checks whether the detector measures objects of the given type.
void resetClosedEdges (bool hasReroutingDevice, const SUMOTrafficObject &o)
 reset router after closing edges
static bool affected (const std::set< SUMOTrafficObject::NumericalID > &edgeIndices, const MSEdgeVector &closed)
 MSTriggeredRerouter (const MSTriggeredRerouter &)
 Invalidated copy constructor.
MSTriggeredRerouteroperator= (const MSTriggeredRerouter &)
 Invalidated assignment operator.

SAX ErrorHandler callbacks

void warning (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-warnings.
void error (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-errors.
void fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-errors.
void setSection (const int element, const bool seen)
bool sectionFinished () const
std::pair< int, SUMOSAXAttributes * > retrieveNextSectionStart ()
void needsCharacterData (const bool value=true)
std::string buildErrorMessage (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Builds an error message.
virtual void myCharacters (int element, const std::string &chars)
 Callback method for characters to implement by derived classes.
void callParentEnd (int element)
 signal endElement to the parent handler (special case for MSCalibrator)
XMLCh * convert (const std::string &name) const
 converts from c++-string into unicode
int convertTag (const std::string &tag) const
 Converts a tag from its string into its numerical representation.

attributes parsing

AttrMap myPredefinedTags
std::vector< std::string > myPredefinedTagsMML
 the map from ids to their string representation
typedef std::vector< XMLCh * > AttrMap

elements parsing

TagMap myTagMap
std::vector< std::string > myCharactersVector
 A list of character strings obtained so far to build the complete characters string at the end.
GenericSAXHandlermyParentHandler
 The handler to give control back to.
int myParentIndicator
 The tag indicating that control should be given back.
std::string myFileName
 The name of the currently parsed file.
std::string myExpectedRoot
 The root element to expect, empty string disables the check.
bool myCollectCharacterData = false
 whether the reader should collect character data
bool myRootSeen = false
 whether the reader has already seen the root element
int mySection = -1
 The tag indicating the current section to parse.
bool mySectionSeen = false
 whether the reader has already seen the begin of the section
bool mySectionEnded = false
 whether the reader has already seen the end of the section
bool mySectionOpen = false
 whether an element of the current section is open
std::pair< int, SUMOSAXAttributes * > myNextSectionStart
typedef std::map< std::string, int > TagMap

Detailed Description

Reroutes traffic objects passing an edge.

A rerouter can be positioned on a list of edges and gives traffic objects which enters one of these edges a new route.

The new route may be either chosen from a set of routes where each is chosen with a certain probability, or newly computed, either by keeping the old destination or by choosing a new one from a set of existing ones.

Definition at line 63 of file MSTriggeredRerouter.h.

Member Typedef Documentation

◆ AttrMap

typedef std::vector<XMLCh*> GenericSAXHandler::AttrMap
privateinherited

Definition at line 303 of file GenericSAXHandler.h.

◆ Prohibitions

typedef std::map<const MSEdge*, double> MSTriggeredRerouter::Prohibitions

Definition at line 84 of file MSTriggeredRerouter.h.

◆ StoppingPlaceMap_t

◆ StoppingPlaceParamMap_t

typedef std::map<std::string, double> MSStoppingPlaceRerouter::StoppingPlaceParamMap_t
inherited

Definition at line 130 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceParamSwitchMap_t

typedef std::map<std::string, bool> MSStoppingPlaceRerouter::StoppingPlaceParamSwitchMap_t
inherited

Definition at line 131 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceVisible

Definition at line 133 of file MSStoppingPlaceRerouter.h.

◆ TagMap

typedef std::map<std::string, int> GenericSAXHandler::TagMap
privateinherited

Definition at line 317 of file GenericSAXHandler.h.

Member Enumeration Documentation

◆ Notification

Definition of a vehicle state.

Enumerator
NOTIFICATION_DEPARTED 

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

NOTIFICATION_JUNCTION 

The vehicle arrived at a junction.

NOTIFICATION_SEGMENT 

The vehicle changes the segment (meso only).

NOTIFICATION_LANE_CHANGE 

The vehicle changes lanes (micro only).

NOTIFICATION_LOAD_STATE 

The vehicle has been loaded from a state file.

NOTIFICATION_TELEPORT 

The vehicle is being teleported.

NOTIFICATION_TELEPORT_CONTINUATION 

The vehicle continues being teleported past an edge.

NOTIFICATION_PARKING 

The vehicle starts or ends parking.

NOTIFICATION_REROUTE 

The vehicle changed it's route.

NOTIFICATION_PARKING_REROUTE 

The vehicle needs another parking area.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted).

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

NOTIFICATION_VAPORIZED_CALIBRATOR 

The vehicle got removed by a calibrator.

NOTIFICATION_VAPORIZED_COLLISION 

The vehicle got removed by a collision.

NOTIFICATION_VAPORIZED_TRACI 

The vehicle got removed via TraCI.

NOTIFICATION_VAPORIZED_GUI 

The vehicle got removed via the GUI.

NOTIFICATION_VAPORIZED_VAPORIZER 

The vehicle got vaporized with a vaporizer.

NOTIFICATION_VAPORIZED_BREAKDOWN 

The vehicle got removed via stationfinder device.

NOTIFICATION_NONE 

must be the last one

Definition at line 91 of file MSMoveReminder.h.

Constructor & Destructor Documentation

◆ MSTriggeredRerouter() [1/2]

MSTriggeredRerouter::MSTriggeredRerouter ( const std::string & id,
const MSEdgeVector & edges,
double prob,
bool off,
bool optional,
SUMOTime timeThreshold,
const std::string & vTypes,
const Position & pos,
const double radius )

Constructor.

Parameters
[in]idThe id of the rerouter
[in]edgesThe edges the rerouter is placed at
[in]probThe probability the rerouter reoutes vehicles with

Definition at line 87 of file MSTriggeredRerouter.cpp.

References StringTokenizer::getVector(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, Position::INVALID, MSMoveReminder::MSMoveReminder(), MSStoppingPlaceRerouter::MSStoppingPlaceRerouter(), myAmInUserMode, myAmOptional, myEdges, myHaveParkProbs, myInstances, myPosition, myProbability, myRadius, myTimeThreshold, myUserProbability, myVehicleTypes, Named::Named(), setUserMode(), and setUserUsageProbability().

Referenced by GUITriggeredRerouter::GUITriggeredRerouter(), MSTriggeredRerouter(), and operator=().

Here is the caller graph for this function:

◆ ~MSTriggeredRerouter()

MSTriggeredRerouter::~MSTriggeredRerouter ( )
virtual

Destructor.

Definition at line 124 of file MSTriggeredRerouter.cpp.

References Named::getID(), and myInstances.

◆ MSTriggeredRerouter() [2/2]

MSTriggeredRerouter::MSTriggeredRerouter ( const MSTriggeredRerouter & )
private

Invalidated copy constructor.

References MSTriggeredRerouter().

Member Function Documentation

◆ addTo()

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

Adds this object to the given container.

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

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ affected()

bool MSTriggeredRerouter::affected ( const std::set< SUMOTrafficObject::NumericalID > & edgeIndices,
const MSEdgeVector & closed )
staticprotected

Definition at line 1242 of file MSTriggeredRerouter.cpp.

Referenced by getCurrentReroute(), myEndElement(), and triggerRouting().

Here is the caller graph for this function:

◆ applies()

bool MSTriggeredRerouter::applies ( const SUMOTrafficObject & obj) const
protected

Checks whether the detector measures objects of the given type.

Parameters
[in]objthe traffic object of which the type is checked.
Returns
whether it should be measured

Definition at line 1226 of file MSTriggeredRerouter.cpp.

References MSNet::getInstance(), MSVehicleType::getOriginalID(), MSNet::getVehicleControl(), SUMOTrafficObject::getVehicleType(), MSVehicleControl::getVTypeDistributionMembership(), and myVehicleTypes.

Referenced by triggerRouting().

Here is the caller graph for this function:

◆ buildErrorMessage()

std::string GenericSAXHandler::buildErrorMessage ( const XERCES_CPP_NAMESPACE::SAXParseException & exception)
protectedinherited

Builds an error message.

The error message includes the file name and the line/column information as supported by the given SAXParseException

Parameters
[in]exceptionThe name of the currently processed file
Returns
A string describing the given exception

Definition at line 205 of file GenericSAXHandler.cpp.

References getFileName(), and TL.

Referenced by error(), fatalError(), and warning().

Here is the caller graph for this function:

◆ callParentEnd()

void GenericSAXHandler::callParentEnd ( int element)
protectedinherited

signal endElement to the parent handler (special case for MSCalibrator)

Definition at line 247 of file GenericSAXHandler.cpp.

References myParentHandler.

Referenced by MSCalibrator::myEndElement().

Here is the caller graph for this function:

◆ characters()

void GenericSAXHandler::characters ( const XMLCh *const chars,
const XERCES3_SIZE_t length )
inherited

The inherited method called when characters occurred.

The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon as the element ends.

Todo

recheck/describe what happens with characters when a new element is opened

describe characters processing in the class' head

Definition at line 186 of file GenericSAXHandler.cpp.

References myCharactersVector, myCollectCharacterData, and StringUtils::transcode().

◆ checkParkingRerouteConsistency()

void MSTriggeredRerouter::checkParkingRerouteConsistency ( )
static

issues warning for incomplete parkingReroute relationships

Definition at line 1253 of file MSTriggeredRerouter.cpp.

References RandomDistributor< T >::getOverallProb(), RandomDistributor< T >::getVals(), myInstances, MSTriggeredRerouter::RerouteInterval::parkProbs, TL, and WRITE_WARNINGF.

Referenced by NLBuilder::build().

Here is the caller graph for this function:

◆ checkStopSwitch()

void MSTriggeredRerouter::checkStopSwitch ( MSBaseVehicle & veh,
const MSTriggeredRerouter::RerouteInterval * def )

consider switching the location of the upcoming stop

look upstream for vehicles that stop on this lane before ego arrives

Todo
: consider time for conflict veh to leave the block

Definition at line 1063 of file MSTriggeredRerouter.cpp.

References SUMOVehicleParameter::Stop::arrival, SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, MSBaseVehicle::estimateTimeToNextStop(), MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getElement(), MSStoppingPlace::getEndLanePosition(), Named::getID(), Named::getIDSecure(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSStop::getMinDuration(), MSBaseVehicle::getNextStop(), MSBaseVehicle::getParameter(), MSStop::getPlaces(), MSBaseVehicle::getStopArrivalDelay(), MSBaseVehicle::getStopDelay(), MSBaseVehicle::getStopDuration(), MSStoppingPlace::getStoppedVehicles(), MSNet::getVehicleControl(), GIVEN, MSBaseVehicle::hasStops(), MSBaseVehicle::isOnRoad(), MSBaseVehicle::isStopped(), MSStop::joinTriggered, SUMOVehicleParameter::Stop::lane, MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), MAX2(), MAX3(), myBlockedStoppingPlaces, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parkingarea, MSStop::pars, MSStop::reached, MSBaseVehicle::replaceParameter(), MSBaseVehicle::replaceStop(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), SIMSTEP, SIMTIME, SUMOVehicleParameter::Stop::startPos, MSTriggeredRerouter::RerouteInterval::stopAlternatives, SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_OVERHEAD_WIRE_SEGMENT, SUMO_TAG_PARKING_AREA, SUMO_TAG_STATION_REROUTE, SUMO_TAG_TRAIN_STOP, TIME2STEPS, time2string(), toString(), SUMOVehicleParameter::Stop::until, and WRITE_WARNING.

Referenced by triggerRouting().

Here is the caller graph for this function:

◆ collectWeights()

MSStoppingPlaceRerouter::StoppingPlaceParamMap_t MSStoppingPlaceRerouter::collectWeights ( SUMOVehicle & veh)
virtualinherited

read target function weights for this vehicle

Definition at line 556 of file MSStoppingPlaceRerouter.cpp.

References getWeight(), and myEvalParams.

Referenced by rerouteStoppingPlace().

Here is the caller graph for this function:

◆ convert()

XMLCh * GenericSAXHandler::convert ( const std::string & name) const
privateinherited

converts from c++-string into unicode

Todo
recheck encoding
Parameters
[in]nameThe string to convert
Returns
The string converted into a XMLCh-string

Definition at line 86 of file GenericSAXHandler.cpp.

Referenced by GenericSAXHandler().

Here is the caller graph for this function:

◆ convertTag()

int GenericSAXHandler::convertTag ( const std::string & tag) const
privateinherited

Converts a tag from its string into its numerical representation.

Returns the enum-representation stored for the given tag. If the tag is not known, SUMO_TAG_NOTHING is returned.

Parameters
[in]tagThe string to convert
Returns
The int-value that represents the string, SUMO_TAG_NOTHING if the named attribute is not known

Definition at line 195 of file GenericSAXHandler.cpp.

References myTagMap, and SUMO_TAG_NOTHING.

Referenced by endElement(), and startElement().

Here is the caller graph for this function:

◆ determineRerouteOrigin()

const MSRouteIterator MSStoppingPlaceRerouter::determineRerouteOrigin ( SUMOVehicle & veh,
int insertStopIndex )
inlineprotectedinherited

Determine the rerouting origin edge (not necessarily the current edge of the vehicle!).

Definition at line 289 of file MSStoppingPlaceRerouter.h.

References MSStop::edge, SUMOVehicle::getRerouteOrigin(), SUMOVehicle::getStops(), and MIN2().

Referenced by evaluateDestination().

Here is the caller graph for this function:

◆ endElement()

void GenericSAXHandler::endElement ( const XMLCh *const uri,
const XMLCh *const localname,
const XMLCh *const qname )
inherited

The inherited method called when a tag is being closed.

This method calls the user-implemented methods myCharacters with the previously collected and converted characters.

Then, myEndElement is called, supplying it the qname converted to its enum- and string-representations.

Todo

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 134 of file GenericSAXHandler.cpp.

References convertTag(), myCharacters(), myCharactersVector, myEndElement(), myParentHandler, myParentIndicator, mySection, mySectionOpen, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, SUMO_TAG_NOTHING, and StringUtils::transcode().

◆ error()

void GenericSAXHandler::error ( const XERCES_CPP_NAMESPACE::SAXParseException & exception)
inherited

Handler for XML-errors.

The message is built using buildErrorMessage and thrown within a ProcessError.

Parameters
[in]exceptionThe occurred exception to process
Exceptions
ProcessErrorOn any call

Definition at line 224 of file GenericSAXHandler.cpp.

References buildErrorMessage().

Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::addTransportable(), MSRouteHandler::closeTransportable(), NIImporter_OpenDrive::geomFromSpiral(), and MSRouteHandler::interpretDepartPosLat().

Here is the caller graph for this function:

◆ evaluateCustomComponents()

bool MSStoppingPlaceRerouter::evaluateCustomComponents ( SUMOVehicle & veh,
double brakeGap,
bool newDestination,
MSStoppingPlace * alternative,
double occupancy,
double prob,
SUMOAbstractRouter< MSEdge, SUMOVehicle > & router,
StoppingPlaceParamMap_t & stoppingPlaceValues,
ConstMSEdgeVector & newRoute,
ConstMSEdgeVector & stoppingPlaceApproach,
StoppingPlaceParamMap_t & maxValues,
StoppingPlaceParamMap_t & addInput )
virtualinherited

Compute some custom target function components.

Parameters
[in]vehthe concerned vehicle
[in]brakeGapthe distance before which the vehicle cannot stop
[in]newDestinationwhether the destination changed
[in]alternativethe stopping place to evaluate
[in]occupancyoccupancy of the stopping place
[in]routerthe router to use for evaluation if needed
[in,out]stoppingPlaceValuesthe data structure to write the evaluation values to
[in]newRoutethe complete route to the destination passing by the stopping place
[in]stoppingPlaceApproachthe route to the stopping place
[in]maxValuesthe maximum values of the components
[in]addInputexternal input data
Returns
false if the stopping place cannot be used according to the custom evaluation components

Reimplemented in MSDevice_StationFinder.

Definition at line 529 of file MSStoppingPlaceRerouter.cpp.

Referenced by evaluateDestination().

Here is the caller graph for this function:

◆ evaluateDestination()

bool MSStoppingPlaceRerouter::evaluateDestination ( SUMOVehicle & veh,
double brakeGap,
bool newDestination,
MSStoppingPlace * alternative,
double occupancy,
double prob,
SUMOAbstractRouter< MSEdge, SUMOVehicle > & router,
StoppingPlaceMap_t & stoppingPlaces,
std::map< MSStoppingPlace *, ConstMSEdgeVector > & newRoutes,
std::map< MSStoppingPlace *, ConstMSEdgeVector > & stoppingPlaceApproaches,
StoppingPlaceParamMap_t & maxValues,
StoppingPlaceParamMap_t & addInput,
const int insertStopIndex = 0,
const bool keepCurrentStop = true )
virtualinherited

compute the target function for a single alternative

Parameters
[in]vehthe concerned vehicle
[in]brakeGapthe distance before which the vehicle cannot stop
[in]newDestinationwhether the destination changed
[in]alternativethe stopping place to evaluate
[in]occupancyoccupancy of the stopping place
[in]probthe predefined probability of this stopping place
[in]routerthe router to use for evaluation if needed
[in,out]stoppingPlacesthe data structure to write the evaluation values to
[in,out]newRoutesthe data structure to write the chosen route to/from the stopping place to
[in,out]stoppingPlaceApproachesthe data structure to write the chosen route to the stopping place to
[in,out]maxValuesmaximum values for all evaluation components
[in]addInputexternal input data
[in]insertStopIndexthe stop index where the new StoppingPlace should be inserted
[in]keepCurrentStopwhether the current stop at the given stopp index should still be served after the new one
Returns
false if the stopping place cannot be used

Definition at line 385 of file MSStoppingPlaceRerouter.cpp.

References MSRoute::begin(), SUMOAbstractRouter< E, V >::compute(), RGBColor::DEFAULT_COLOR, determineRerouteOrigin(), MSRoute::end(), evaluateCustomComponents(), SUMOVehicle::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), MSRoute::getColor(), SUMOVehicle::getCurrentRouteEdge(), MSRoute::getDistanceBetween(), MSLane::getEdge(), SUMOTrafficObject::getEdge(), MSRoute::getEdges(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSRoute::getLastEdge(), MSStoppingPlace::getLastFreePos(), MSEdge::getLength(), SUMOTrafficObject::getPositionOnLane(), SUMOVehicle::getRoute(), MSLane::getSpeedLimit(), SUMOVehicle::getStopIndices(), getStoppingPlaceCapacity(), getStoppingPlaceOccupancy(), MSRoute::getStops(), MSLane::getVehicleMaxSpeed(), MSGlobals::gUsingInternalLanes, MSNet::hasInternalLinks(), MAX2(), myCheckValidity, myParamPrefix, SUMOAbstractRouter< E, V >::recomputeCosts(), rememberStoppingPlaceScore(), SIMSTEP, MSRoute::size(), time2string(), TL, updateMaxValues(), validComponentValues(), and WRITE_WARNINGF.

Referenced by rerouteStoppingPlace().

Here is the caller graph for this function:

◆ fatalError()

void GenericSAXHandler::fatalError ( const XERCES_CPP_NAMESPACE::SAXParseException & exception)
inherited

Handler for XML-errors.

The message is built using buildErrorMessage and thrown within a ProcessError.

Exceptions
ProcessErrorOn any call
Parameters
[in]exceptionThe occurred exception to process

Definition at line 230 of file GenericSAXHandler.cpp.

References buildErrorMessage().

◆ findSignal()

MSRailSignal * MSTriggeredRerouter::findSignal ( ConstMSEdgeVector::const_iterator begin,
ConstMSEdgeVector::const_iterator end )
static

find the last downstream signal on the given route

Definition at line 1200 of file MSTriggeredRerouter.cpp.

References getRailSignal().

Referenced by myStartElement(), and overtakingTrain().

Here is the caller graph for this function:

◆ getCurrentReroute() [1/2]

const MSTriggeredRerouter::RerouteInterval * MSTriggeredRerouter::getCurrentReroute ( SUMOTime time) const

Returns the rerouting definition valid for the given time, 0 if none.

Definition at line 455 of file MSTriggeredRerouter.cpp.

References myIntervals.

◆ getCurrentReroute() [2/2]

const MSTriggeredRerouter::RerouteInterval * MSTriggeredRerouter::getCurrentReroute ( SUMOTime time,
SUMOTrafficObject & obj ) const

Returns the rerouting definition valid for the given time and object, nullptr if none.

Definition at line 421 of file MSTriggeredRerouter.cpp.

References affected(), SUMOTrafficObject::getUpcomingEdgeIDs(), MSTriggeredRerouter::OvertakeLocation::main, and myIntervals.

Referenced by GUITriggeredRerouter::shiftProbs(), and triggerRouting().

Here is the caller graph for this function:

◆ getDescription()

◆ getEvalDefaultWeight()

double MSTriggeredRerouter::getEvalDefaultWeight ( std::string & paramName)
inlinestatic

provide default values for evaluation components

Definition at line 292 of file MSTriggeredRerouter.h.

◆ getFileName()

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References myID.

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

◆ getIDSecure()

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

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

Definition at line 67 of file Named.h.

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

◆ getInstances()

const std::map< std::string, MSTriggeredRerouter * > & MSTriggeredRerouter::getInstances ( )
inlinestatic

return all rerouter instances

Definition at line 284 of file MSTriggeredRerouter.h.

References myInstances.

Referenced by MSNet::clearAll(), MSDevice_Taxi::MSDevice_Taxi(), and NLTriggerBuilder::parseAndBuildRerouter().

Here is the caller graph for this function:

◆ getLane()

◆ getLastStepStoppingPlaceOccupancy()

double MSTriggeredRerouter::getLastStepStoppingPlaceOccupancy ( MSStoppingPlace * sp)
virtual

Return the number of occupied places of the stopping place from the previous time step.

Implements MSStoppingPlaceRerouter.

Definition at line 865 of file MSTriggeredRerouter.cpp.

References MSStoppingPlace::getElement(), MSStoppingPlace::getStoppedVehicles(), and SUMO_TAG_PARKING_AREA.

◆ getNumberStoppingPlaceReroutes()

int MSTriggeredRerouter::getNumberStoppingPlaceReroutes ( SUMOVehicle & veh)
virtual

ask how many times already the vehicle has been rerouted to another stopping place

Implements MSStoppingPlaceRerouter.

Definition at line 910 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::getNumberParkingReroutes().

◆ getPosition()

const Position & MSTriggeredRerouter::getPosition ( )
inline

Definition at line 232 of file MSTriggeredRerouter.h.

References myPosition.

Referenced by MSStageWalking::activateEntryReminders().

Here is the caller graph for this function:

◆ getProbability()

double MSTriggeredRerouter::getProbability ( ) const

Returns the rerouting probability.

Definition at line 845 of file MSTriggeredRerouter.cpp.

References myAmInUserMode, myProbability, and myUserProbability.

Referenced by GUITriggeredRerouter::GUIManip_TriggeredRerouter::GUIManip_TriggeredRerouter().

Here is the caller graph for this function:

◆ getRailSignal()

MSRailSignal * MSTriggeredRerouter::getRailSignal ( const MSEdge * edge)
static

return railsignal at that edge or nullptr

Definition at line 1214 of file MSTriggeredRerouter.cpp.

References MSEdge::getLanes(), MSEdge::getToJunction(), MSJunction::getType(), and RAIL_SIGNAL.

Referenced by findSignal(), and overtakingTrain().

Here is the caller graph for this function:

◆ getRouter()

SUMOAbstractRouter< MSEdge, SUMOVehicle > & MSStoppingPlaceRerouter::getRouter ( SUMOVehicle & veh,
const Prohibitions & prohibited = {} )
virtualinherited

Provide the router to use (MSNet::getRouterTT or MSRoutingEngine).

Reimplemented in MSDevice_StationFinder.

Definition at line 550 of file MSStoppingPlaceRerouter.cpp.

References MSNet::getInstance(), SUMOTrafficObject::getRNGIndex(), and MSNet::getRouterTT().

Referenced by rerouteStoppingPlace().

Here is the caller graph for this function:

◆ getStoppingPlaceCapacity()

double MSTriggeredRerouter::getStoppingPlaceCapacity ( MSStoppingPlace * sp)
virtual

Return the number of places the stopping place provides.

Implements MSStoppingPlaceRerouter.

Definition at line 873 of file MSTriggeredRerouter.cpp.

References MSStoppingPlace::getElement(), myBlockedStoppingPlaces, and SUMO_TAG_PARKING_AREA.

◆ getStoppingPlaceOccupancy()

double MSTriggeredRerouter::getStoppingPlaceOccupancy ( MSStoppingPlace * sp)
virtual

Return the number of occupied places of the stopping place.

Implements MSStoppingPlaceRerouter.

Definition at line 857 of file MSTriggeredRerouter.cpp.

References MSStoppingPlace::getElement(), MSStoppingPlace::getStoppedVehicles(), and SUMO_TAG_PARKING_AREA.

◆ getTargetValue()

double MSStoppingPlaceRerouter::getTargetValue ( const StoppingPlaceParamMap_t & absValues,
const StoppingPlaceParamMap_t & maxValues,
const StoppingPlaceParamMap_t & weights,
const StoppingPlaceParamSwitchMap_t & norm,
const StoppingPlaceParamSwitchMap_t & invert )
staticinherited

compute the scalar target function value by means of a linear combination of all components/weights after normalising and optionally inverting the values

Parameters
[in]absValuesthe component values
[in]maxValuesmax values for all components
[in]weightsweight factors for all components
[in]normwhich component should be normalised
[in]invertwhich component should be inverted
Returns
target function value for a single stopping place and vehicle

Definition at line 605 of file MSStoppingPlaceRerouter.cpp.

Referenced by rerouteStoppingPlace().

Here is the caller graph for this function:

◆ getUserProbability()

double MSTriggeredRerouter::getUserProbability ( ) const

Returns the rerouting probability given by the user.

Definition at line 851 of file MSTriggeredRerouter.cpp.

References myUserProbability.

◆ getWeight()

double MSStoppingPlaceRerouter::getWeight ( SUMOVehicle & veh,
const std::string param,
const double defaultWeight,
const bool warn = false )
inherited

read the value of a stopping place search param, e.g. a component weight factor

Parameters
[in]vehthe concerned vehicle
[in]paramthe name of the stopping place search param, excluding the param prefix (e.g. "parking.")
[in]defaultWeightvalue to return in case the param hasn't been defined for the vehicle
[in]warnwhether a warning message shall be issued if the param is not defined for the vehicle
Returns
param value

Definition at line 568 of file MSStoppingPlaceRerouter.cpp.

References Named::getID(), MSVehicleType::getParameter(), Parameterised::getParameter(), SUMOTrafficObject::getParameter(), SUMOTrafficObject::getVehicleType(), Parameterised::hasParameter(), myParamPrefix, TL, StringUtils::toDouble(), toString(), WRITE_MESSAGEF, and WRITE_WARNINGF.

Referenced by collectWeights(), MSDevice_StationFinder::findChargingStation(), readEvaluationWeights(), and rerouteStoppingPlace().

Here is the caller graph for this function:

◆ inUserMode()

bool MSTriggeredRerouter::inUserMode ( ) const

Returns whether the user is setting the rerouting probability.

Definition at line 839 of file MSTriggeredRerouter.cpp.

References myAmInUserMode.

◆ isParkingRerouter()

bool MSTriggeredRerouter::isParkingRerouter ( ) const
inlinevirtual

Reimplemented from MSMoveReminder.

Definition at line 228 of file MSTriggeredRerouter.h.

References myHaveParkProbs.

◆ loadReminderState()

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

Definition at line 125 of file MSMoveReminder.cpp.

References myLastVehicleUpdateValues.

◆ myCharacters()

void GenericSAXHandler::myCharacters ( int element,
const std::string & chars )
protectedvirtualinherited

Callback method for characters to implement by derived classes.

Called by "endElement" (see there).

Parameters
[in]elementThe opened element, given as a int
[in]charsThe complete embedded character string @exceptions ProcessError These method may throw a ProcessError if something fails

Reimplemented in NIImporter_ITSUMO::Handler, and NIImporter_OpenDrive.

Definition at line 240 of file GenericSAXHandler.cpp.

Referenced by endElement().

Here is the caller graph for this function:

◆ myEndElement()

void MSTriggeredRerouter::myEndElement ( int element)
protectedvirtual

Called when a closing tag occurs.

Parameters
[in]elementID of the currently opened element
Exceptions
ProcessErrorIf something fails
See also
GenericSAXHandler::myEndElement

Reimplemented from GenericSAXHandler.

Reimplemented in GUITriggeredRerouter.

Definition at line 329 of file MSTriggeredRerouter.cpp.

References MSEventControl::addEvent(), affected(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), OptionsCont::getOptions(), myIntervals, myParsedRerouteInterval, setPermissions(), string2time(), SUMO_TAG_INTERVAL, and SVCAll.

Referenced by GUITriggeredRerouter::myEndElement().

Here is the caller graph for this function:

◆ myStartElement()

void MSTriggeredRerouter::myStartElement ( int element,
const SUMOSAXAttributes & attrs )
protectedvirtual

Called on the opening of a tag;.

Parameters
[in]elementID of the currently opened element
[in]attrsAttributes within the currently opened element
Exceptions
ProcessErrorIf something fails
See also
GenericSAXHandler::myStartElement

Reimplemented from GenericSAXHandler.

Definition at line 131 of file MSTriggeredRerouter.cpp.

References MSTriggeredRerouter::OvertakeLocation::cMain, MSTriggeredRerouter::OvertakeLocation::cSiding, MSTriggeredRerouter::OvertakeLocation::defer, MSEdge::dictionary(), MSLane::dictionary(), MSRoute::dictionary(), findSignal(), SUMOSAXAttributes::get(), Named::getID(), MSNet::getInstance(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), MSNet::getStoppingPlace(), SUMOSAXAttributes::getStringSecure(), SUMOSAXAttributes::hasAttribute(), MSTriggeredRerouter::OvertakeLocation::main, MSTriggeredRerouter::OvertakeLocation::minSaving, myHaveParkProbs, myParsedRerouteInterval, mySpecialDest_keepDestination, mySpecialDest_terminateRoute, parseVehicleClasses(), MSTriggeredRerouter::OvertakeLocation::siding, MSTriggeredRerouter::OvertakeLocation::sidingExit, MSTriggeredRerouter::OvertakeLocation::sidingLength, STEPS2TIME, SUMO_ATTR_ALLOW, SUMO_ATTR_BEGIN, SUMO_ATTR_DEFER, SUMO_ATTR_DISALLOW, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_MAIN, SUMO_ATTR_MINSAVING, SUMO_ATTR_PROB, SUMO_ATTR_SIDING, SUMO_ATTR_UNTIL, SUMO_ATTR_VISIBLE, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_OVERTAKING_REROUTE, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_STATION_REROUTE, SUMO_TAG_VIA_PROB_REROUTE, SUMOTime_MAX, SVC_AUTHORITY, time2string(), and TLF.

◆ needsCharacterData()

void GenericSAXHandler::needsCharacterData ( const bool value = true)
inlineinherited

Definition at line 220 of file GenericSAXHandler.h.

References invalid_return< std::string >::value, and myCollectCharacterData.

Referenced by NIImporter_ITSUMO::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myCharacters().

Here is the caller graph for this function:

◆ notifyEnter()

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

Tries to reroute the vehicle.

It will not try to reroute if it is a lane change because there should be another rerouter on the lane the vehicle is coming from. Returns false - the vehicle will not be rerouted again.

Parameters
[in]vehThe entering vehicle.
[in]reasonhow the vehicle enters the lane
Returns
always false (the vehicle will not be rerouted again)
See also
MSMoveReminder
MSMoveReminder::notifyEnter
MSMoveReminder::Notification

Reimplemented from MSMoveReminder.

Definition at line 469 of file MSTriggeredRerouter.cpp.

References myAmOptional, myRadius, and triggerRouting().

Referenced by GUIEdge::addRerouter().

Here is the caller graph for this function:

◆ notifyIdle()

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

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

Idling implied by zero velocity, acceleration and slope

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

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

Definition at line 189 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyLeave()

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

Removes the reminder.

Parameters
[in]vehThe leaving vehicle.
[in]lastPosPosition on the lane when leaving.
[in]isArrivalwhether the vehicle arrived at its destination
[in]isLaneChangewhether the vehicle changed from the lane
Returns
false if the vehicle left th edge

Reimplemented from MSMoveReminder.

Definition at line 485 of file MSTriggeredRerouter.cpp.

References MSMoveReminder::NOTIFICATION_LANE_CHANGE.

◆ notifyLeaveBack()

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

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

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

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

Reimplemented in MSDriveWay.

Definition at line 234 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyMove()

bool MSTriggeredRerouter::notifyMove ( SUMOTrafficObject & veh,
double oldPos,
double newPos,
double newSpeed )
virtual

Triggers rerouting (once) for vehicles that are already on the edge when the rerouter activates.

Parameters
[in]vehVehicle that asks this reminder.
[in]oldPosPosition before move.
[in]newPosPosition after move with newSpeed.
[in]newSpeedMoving speed.
Returns
True (always).

Reimplemented from MSMoveReminder.

Definition at line 478 of file MSTriggeredRerouter.cpp.

References MSMoveReminder::NOTIFICATION_JUNCTION, and triggerRouting().

◆ notifyMoveInternal()

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

Internal notification about the vehicle moves.

Note
meso uses this though it never calls notifyMove()

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

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

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

Definition at line 273 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

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

Here is the caller graph for this function:

◆ notifyParking()

virtual void MSMoveReminder::notifyParking ( )
inlinevirtualinherited

called to update state for parking vehicles

Reimplemented in MSDevice_Battery.

Definition at line 195 of file MSMoveReminder.h.

◆ notifyReroute()

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

Called if the vehicle change it's route.

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

Reimplemented in MSDriveWay.

Definition at line 245 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

◆ notifyStopEnded()

virtual void MSMoveReminder::notifyStopEnded ( )
inlinevirtualinherited

called to update state for stopped vehicles

Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.

Definition at line 198 of file MSMoveReminder.h.

◆ operator=()

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

Invalidated assignment operator.

References MSTriggeredRerouter().

◆ overtakingTrain()

std::pair< const SUMOVehicle *, MSRailSignal * > MSTriggeredRerouter::overtakingTrain ( const SUMOVehicle & veh,
ConstMSEdgeVector::const_iterator mainStart,
const OvertakeLocation & oloc,
double & netSaving )

determine whether veh should switch from main to siding to be overtaken and return the overtaking vehicle or nullptr

Definition at line 941 of file MSTriggeredRerouter.cpp.

References DEFAULT_MAXDELAY, DEFAULT_PRIO_OVERTAKEN, DEFAULT_PRIO_OVERTAKER, findSignal(), MSVehicleType::getCarFollowModel(), MSBaseVehicle::getCurrentRouteEdge(), SUMOVehicle::getCurrentRouteEdge(), MSBaseVehicle::getEdge(), MSRoute::getEdges(), SUMOTrafficObject::getFloatParam(), Named::getID(), MSNet::getInstance(), MSBaseVehicle::getLength(), MSEdge::getLength(), SUMOVehicle::getLength(), MSCFModel::getMaxAccel(), MSBaseVehicle::getMaxSpeed(), SUMOTrafficObject::getMaxSpeed(), MSEdge::getMinimumTravelTime(), SUMOTrafficObject::getPositionOnLane(), getRailSignal(), MSBaseVehicle::getRoute(), SUMOVehicle::getRoute(), MSBaseVehicle::getStopArrivalDelay(), MSBaseVehicle::getStopDelay(), MSNet::getVehicleControl(), MSEdge::getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), SUMOTrafficObject::getVehicleType(), INVALID_DOUBLE, MSBaseVehicle::isOnRoad(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), main(), MSTriggeredRerouter::OvertakeLocation::main, MAX2(), MIN2(), MSTriggeredRerouter::OvertakeLocation::minSaving, MSTriggeredRerouter::OvertakeLocation::siding, SIMTIME, SUMO_TAG_OVERTAKING_REROUTE, and toString().

Referenced by triggerRouting().

Here is the caller graph for this function:

◆ readEvaluationWeights()

void MSStoppingPlaceRerouter::readEvaluationWeights ( SUMOVehicle & veh,
StoppingPlaceParamMap_t & stoppingPlaceParams,
StoppingPlaceParamMap_t & stoppingPlaceDefaults,
StoppingPlaceParamMap_t & maxValues )
inlineprotectedinherited

Ask the vehicle about the relevant rerouting parameters and initiate the maximum value data structure.

Definition at line 278 of file MSStoppingPlaceRerouter.h.

References getWeight(), and invalid_return< std::string >::value.

◆ registerParent()

void GenericSAXHandler::registerParent ( const int tag,
GenericSAXHandler * handler )
inherited

Assigning a parent handler which is enabled when the specified tag is closed.

Definition at line 178 of file GenericSAXHandler.cpp.

References GenericSAXHandler(), myParentHandler, myParentIndicator, and XMLSubSys::setHandler().

Referenced by NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), and NLTriggerBuilder::parseAndBuildRerouter().

Here is the caller graph for this function:

◆ rememberBlockedStoppingPlace()

void MSTriggeredRerouter::rememberBlockedStoppingPlace ( SUMOVehicle & veh,
const MSStoppingPlace * parkingArea,
bool blocked )
virtual

store the blocked ParkingArea in the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 886 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::rememberBlockedParkingArea().

◆ rememberStoppingPlaceScore()

void MSTriggeredRerouter::rememberStoppingPlaceScore ( SUMOVehicle & veh,
MSStoppingPlace * parkingArea,
const std::string & score )
virtual

store the score of the ParkingArea in the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 892 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::rememberParkingAreaScore().

◆ removeFromVehicleUpdateValues()

void MSMoveReminder::removeFromVehicleUpdateValues ( SUMOTrafficObject & veh)
protectedinherited

Definition at line 131 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), and myLastVehicleUpdateValues.

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

Here is the caller graph for this function:

◆ rerouteParkingArea()

MSParkingArea * MSTriggeredRerouter::rerouteParkingArea ( const MSTriggeredRerouter::RerouteInterval * rerouteDef,
SUMOVehicle & veh,
bool & newDestination,
ConstMSEdgeVector & newRoute )

search for an alternative ParkingArea

Definition at line 922 of file MSTriggeredRerouter.cpp.

References MSTriggeredRerouter::RerouteInterval::getClosed(), SUMOVehicle::getNextParkingArea(), RandomDistributor< T >::getProbs(), RandomDistributor< T >::getVals(), MSTriggeredRerouter::RerouteInterval::parkProbs, and MSStoppingPlaceRerouter::rerouteStoppingPlace().

Referenced by triggerRouting().

Here is the caller graph for this function:

◆ rerouteStoppingPlace()

MSStoppingPlace * MSStoppingPlaceRerouter::rerouteStoppingPlace ( MSStoppingPlace * destStoppingPlace,
const std::vector< StoppingPlaceVisible > & stoppingPlaceCandidates,
const std::vector< double > & probs,
SUMOVehicle & veh,
bool & newDestination,
ConstMSEdgeVector & newRoute,
StoppingPlaceParamMap_t & scores,
const Prohibitions & closedEdges = {},
const int insertStopIndex = 0,
const bool keepCurrentStop = true )
inherited

main method to trigger the rerouting to the "best" StoppingPlace according to the custom evaluation function

Parameters
[in]vehthe concerned vehicle
[in]stoppingPlaceCandidatesstopping places to choose from and whether they are visible for the vehicle
[in]probsprobabilities of all candidate stopping places
[in]newDestinationwhether the destination changed
[out]newRoutethe route to/from the chosen stopping place is stored here
[in,out]scoresinput score values from external source and get scores of all components of the "best" StoppingPlace
[in]closedEdgesedges to avoid during routing
[in]insertStopIndexthe stop index where the new StoppingPlace should be inserted
[in]keepCurrentStopwhether the current stop at the given stopp index should still be served after the new one
Returns
the best stopping place according to the target function or nullptr

Definition at line 53 of file MSStoppingPlaceRerouter.cpp.

References collectWeights(), DEBUGCOND, evaluateDestination(), SUMOVehicle::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), SUMOVehicle::getBrakeGap(), MSLane::getEdge(), SUMOTrafficObject::getEdge(), MSStoppingPlace::getEndLanePosition(), Named::getID(), Named::getIDSecure(), MSStoppingPlace::getLane(), SUMOTrafficObject::getLane(), MSRoute::getLastEdge(), getLastStepStoppingPlaceOccupancy(), getNumberStoppingPlaceReroutes(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getRNG(), SUMOVehicle::getRoute(), getRouter(), getStoppingPlaceCapacity(), getStoppingPlaceOccupancy(), SUMOVehicle::getStops(), getTargetValue(), getWeight(), joinToString(), MIN2(), myInvertParams, myNormParams, RandHelper::rand(), rememberBlockedStoppingPlace(), rememberStoppingPlaceScore(), resetStoppingPlaceScores(), sawBlockedStoppingPlace(), setNumberStoppingPlaceReroutes(), SIMSTEP, SIMTIME, STEPS2TIME, TIME2STEPS, time2string(), TL, toString(), useStoppingPlace(), and WRITE_WARNINGF.

Referenced by MSTriggeredRerouter::checkStopSwitch(), MSDevice_StationFinder::findChargingStation(), and MSTriggeredRerouter::rerouteParkingArea().

Here is the caller graph for this function:

◆ resetClosedEdges()

void MSTriggeredRerouter::resetClosedEdges ( bool hasReroutingDevice,
const SUMOTrafficObject & o )
protected

reset router after closing edges

Definition at line 1283 of file MSTriggeredRerouter.cpp.

References MSNet::getInstance(), MSNet::getIntermodalRouter(), MSRoutingEngine::getIntermodalRouterTT(), SUMOTrafficObject::getRNGIndex(), MSNet::getRouterTT(), MSRoutingEngine::getRouterTT(), SUMOTrafficObject::getVClass(), and SUMOTrafficObject::isVehicle().

Referenced by triggerRouting().

Here is the caller graph for this function:

◆ resetStoppingPlaceScores()

void MSTriggeredRerouter::resetStoppingPlaceScores ( SUMOVehicle & veh)
virtual

reset all stored ParkingArea scores for this vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 898 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::resetParkingAreaScores().

◆ retrieveNextSectionStart()

std::pair< int, SUMOSAXAttributes * > GenericSAXHandler::retrieveNextSectionStart ( )
inlineinherited

Definition at line 213 of file GenericSAXHandler.h.

References myNextSectionStart.

◆ saveReminderState()

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

◆ sawBlockedStoppingPlace()

SUMOTime MSTriggeredRerouter::sawBlockedStoppingPlace ( SUMOVehicle & veh,
MSStoppingPlace * parkingArea,
bool local )
virtual

get the time the ParkingArea was considered full from this vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 904 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::sawBlockedParkingArea().

◆ sectionFinished()

bool GenericSAXHandler::sectionFinished ( ) const
inlineinherited

Definition at line 209 of file GenericSAXHandler.h.

References mySectionEnded.

◆ setDescription()

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

Definition at line 291 of file MSMoveReminder.h.

References myDescription.

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

Here is the caller graph for this function:

◆ setFileName()

void GenericSAXHandler::setFileName ( const std::string & name)
inherited

Sets the current file name.

Parameters
[in]nameThe name of the currently processed file
Todo
Hmmm - this is as unsafe as having a direct access to the variable; recheck

Definition at line 74 of file GenericSAXHandler.cpp.

References myFileName.

Referenced by NIImporter_SUMO::_loadNetwork(), MSStateHandler::MSStateTimeHandler::getTime(), GUISettingsHandler::GUISettingsHandler(), NIImporter_OpenStreetMap::load(), NIImporter_Vissim::load(), NITypeLoader::load(), PCNetProjectionLoader::load(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), main(), and XMLSubSys::runParser().

Here is the caller graph for this function:

◆ setID()

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

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.

Definition at line 82 of file Named.h.

References myID.

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

Here is the caller graph for this function:

◆ setNumberStoppingPlaceReroutes()

void MSTriggeredRerouter::setNumberStoppingPlaceReroutes ( SUMOVehicle & veh,
int value )
virtual

update the number of reroutes for the vehicle

Implements MSStoppingPlaceRerouter.

Definition at line 916 of file MSTriggeredRerouter.cpp.

References invalid_return< std::string >::value, and SUMOVehicle::setNumberParkingReroutes().

◆ setPermissions()

SUMOTime MSTriggeredRerouter::setPermissions ( const SUMOTime currentTime)

Sets the edge permission if there are any defined in the closingEdge.

Definition at line 373 of file MSTriggeredRerouter.cpp.

References MSEventControl::addEvent(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), myEdges, myIntervals, and setPermissions().

Referenced by myEndElement(), and setPermissions().

Here is the caller graph for this function:

◆ setSection()

void GenericSAXHandler::setSection ( const int element,
const bool seen )
inlineinherited

Definition at line 202 of file GenericSAXHandler.h.

References mySection, mySectionEnded, mySectionOpen, and mySectionSeen.

◆ setUserMode()

void MSTriggeredRerouter::setUserMode ( bool val)

Sets whether the process is currently steered by the user.

Definition at line 827 of file MSTriggeredRerouter.cpp.

References myAmInUserMode.

Referenced by MSTriggeredRerouter(), GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdChangeOption(), and GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdUserDef().

Here is the caller graph for this function:

◆ setUserUsageProbability()

void MSTriggeredRerouter::setUserUsageProbability ( double prob)

Sets the probability with which a vehicle is rerouted given by the user.

Definition at line 833 of file MSTriggeredRerouter.cpp.

References myUserProbability.

Referenced by MSTriggeredRerouter(), GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdChangeOption(), and GUITriggeredRerouter::GUIManip_TriggeredRerouter::onCmdUserDef().

Here is the caller graph for this function:

◆ startElement()

void GenericSAXHandler::startElement ( const XMLCh *const uri,
const XMLCh *const localname,
const XMLCh *const qname,
const XERCES_CPP_NAMESPACE::Attributes & attrs )
inherited

The inherited method called when a new tag opens.

The method parses the supplied XMLCh*-qname using the internal name/enum-map to obtain the enum representation of the attribute name.

Then, "myStartElement" is called supplying the enumeration value, the string-representation of the name and the attributes.

Todo

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 99 of file GenericSAXHandler.cpp.

References convertTag(), FileHelpers::getConfigurationRelative(), getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), myCharactersVector, myExpectedRoot, myNextSectionStart, myPredefinedTags, myPredefinedTagsMML, myRootSeen, mySection, mySectionEnded, mySectionOpen, mySectionSeen, myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, SUMO_TAG_INCLUDE, TL, StringUtils::transcode(), and WRITE_WARNINGF.

◆ triggerRouting()

bool MSTriggeredRerouter::triggerRouting ( SUMOTrafficObject & veh,
MSMoveReminder::Notification reason )

Definition at line 492 of file MSTriggeredRerouter.cpp.

References MSRailSignal::addConstraint(), affected(), applies(), SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, checkStopSwitch(), MSTriggeredRerouter::RerouteInterval::closed, MSTriggeredRerouter::RerouteInterval::closedLanes, MSTriggeredRerouter::OvertakeLocation::cMain, IntermodalRouter< E, L, N, V >::compute(), SUMOAbstractRouter< E, V >::compute(), MSRoute::containsAnyOf(), MSTriggeredRerouter::OvertakeLocation::cSiding, DEBUGCOND, MSTriggeredRerouter::OvertakeLocation::defer, Position::distanceTo(), MSStop::edge, MSTriggeredRerouter::RerouteInterval::edgeProbs, MSRoute::end(), RandomDistributor< T >::get(), MSTriggeredRerouter::RerouteInterval::getClosed(), MSTriggeredRerouter::RerouteInterval::getClosedEdges(), getCurrentReroute(), SUMOVehicle::getCurrentRouteEdge(), MSNet::getCurrentTimeStep(), SUMOTrafficObject::getDevice(), SUMOTrafficObject::getEdge(), MSRoute::getEdges(), MSStoppingPlace::getEndLanePosition(), Named::getID(), Named::getIDSecure(), MSNet::getInstance(), MSNet::getIntermodalRouter(), MSRoutingEngine::getIntermodalRouterTT(), SUMOTrafficObject::getLane(), MSEdge::getLength(), SUMOVehicle::getLength(), SUMOTrafficObject::getMaxSpeed(), SUMOVehicle::getNextParkingArea(), SUMOVehicle::getNextStop(), RandomDistributor< T >::getOverallProb(), SUMOTrafficObject::getParameter(), SUMOVehicle::getPersons(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getRerouteDestination(), SUMOTrafficObject::getRNG(), SUMOTrafficObject::getRNGIndex(), SUMOVehicle::getRoute(), MSNet::getRouterTT(), MSRoutingEngine::getRouterTT(), SUMOTrafficObject::getUpcomingEdgeIDs(), RandomDistributor< T >::getVals(), SUMOTrafficObject::getVClass(), SUMOTrafficObject::getVTypeParameter(), SUMOTrafficObject::getWaitingTime(), GIVEN, MSGlobals::gNumSimThreads, SUMOVehicle::hasStops(), SUMOTrafficObject::isVehicle(), MSTriggeredRerouter::RerouteInterval::isVia, MSTriggeredRerouter::OvertakeLocation::main, MAX2(), myAmInUserMode, myPosition, myProbability, myRadius, mySpecialDest_keepDestination, mySpecialDest_terminateRoute, myTimeThreshold, myUserProbability, MSMoveReminder::NOTIFICATION_LANE_CHANGE, MSTriggeredRerouter::RerouteInterval::overtakeLocations, overtakingTrain(), MSTriggeredRerouter::RerouteInterval::parkProbs, MSTriggeredRerouter::RerouteInterval::permissionsAllowAll, MSRailSignalConstraint::PREDECESSOR, RandHelper::rand(), SUMOAbstractRouter< E, V >::recomputeCosts(), RandomDistributor< T >::remove(), SUMOVehicle::replaceParameter(), SUMOVehicle::replaceParkingArea(), SUMOTrafficObject::replaceRoute(), SUMOVehicle::replaceRouteEdges(), SUMOVehicle::reroute(), rerouteParkingArea(), resetClosedEdges(), MSTriggeredRerouter::RerouteInterval::routeProbs, SUMOVehicle::setArrivalPos(), MSTriggeredRerouter::OvertakeLocation::siding, MSTriggeredRerouter::OvertakeLocation::sidingExit, MSTriggeredRerouter::OvertakeLocation::sidingLength, SIMTIME, MSTriggeredRerouter::RerouteInterval::stopAlternatives, SUMO_TAG_OVERTAKING_REROUTE, SUMO_TAG_PARKING_AREA_REROUTE, time2string(), TL, toString(), WRITE_WARNING, and WRITE_WARNINGF.

Referenced by MSStageWalking::activateEntryReminders(), notifyEnter(), and notifyMove().

Here is the caller graph for this function:

◆ updateDetector()

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

Definition at line 71 of file MSMoveReminder.cpp.

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

Referenced by MEVehicle::updateDetectorForWriting().

Here is the caller graph for this function:

◆ updateMaxValues()

void MSStoppingPlaceRerouter::updateMaxValues ( StoppingPlaceParamMap_t & stoppingPlaceValues,
StoppingPlaceParamMap_t & maxValues )
staticinherited

keep track of the maximum values of each component

Parameters
[in]stoppingPlaceValuesthe target function component values of a vehicle
[in,out]maxValuesstores the maximum values of the given stoppingPlaceValues and previously given maxValues

Definition at line 595 of file MSStoppingPlaceRerouter.cpp.

Referenced by evaluateDestination().

Here is the caller graph for this function:

◆ useStoppingPlace()

bool MSStoppingPlaceRerouter::useStoppingPlace ( MSStoppingPlace * stoppingPlace)
virtualinherited

Whether the stopping place should be included in the search (can be used to add an additional filter).

Reimplemented in MSDevice_StationFinder.

Definition at line 544 of file MSStoppingPlaceRerouter.cpp.

Referenced by rerouteStoppingPlace().

Here is the caller graph for this function:

◆ validComponentValues()

bool MSStoppingPlaceRerouter::validComponentValues ( StoppingPlaceParamMap_t & stoppingPlaceValues)
virtualinherited

Whether the stopping place should be discarded due to its results from the component evaluation (allows to check for min/max thresholds and other non-linear relations).

Reimplemented in MSDevice_StationFinder.

Definition at line 538 of file MSStoppingPlaceRerouter.cpp.

Referenced by evaluateDestination().

Here is the caller graph for this function:

◆ warning()

void GenericSAXHandler::warning ( const XERCES_CPP_NAMESPACE::SAXParseException & exception)
inherited

Handler for XML-warnings.

The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.

Parameters
[in]exceptionThe occurred exception to process

Definition at line 218 of file GenericSAXHandler.cpp.

References buildErrorMessage(), and WRITE_WARNING.

◆ GUIEdge

Field Documentation

◆ DEFAULT_MAXDELAY

const double MSTriggeredRerouter::DEFAULT_MAXDELAY
static

Definition at line 299 of file MSTriggeredRerouter.h.

Referenced by overtakingTrain(), and MSBaseVehicle::reroute().

◆ myAmInUserMode

bool MSTriggeredRerouter::myAmInUserMode
protected

Information whether the current rerouting probability is the user-given.

Definition at line 348 of file MSTriggeredRerouter.h.

Referenced by getProbability(), inUserMode(), MSTriggeredRerouter(), setUserMode(), and triggerRouting().

◆ myAmOptional

bool MSTriggeredRerouter::myAmOptional
protected

Information whether the rerouting will only take place on request.

Definition at line 351 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter(), and notifyEnter().

◆ myBlockedStoppingPlaces

std::set<const MSStoppingPlace*> MSTriggeredRerouter::myBlockedStoppingPlaces
protected

Definition at line 371 of file MSTriggeredRerouter.h.

Referenced by checkStopSwitch(), and getStoppingPlaceCapacity().

◆ myCharactersVector

std::vector<std::string> GenericSAXHandler::myCharactersVector
privateinherited

A list of character strings obtained so far to build the complete characters string at the end.

Definition at line 324 of file GenericSAXHandler.h.

Referenced by characters(), endElement(), and startElement().

◆ myCheckValidity

bool MSStoppingPlaceRerouter::myCheckValidity
protectedinherited

◆ myCollectCharacterData

bool GenericSAXHandler::myCollectCharacterData = false
privateinherited

whether the reader should collect character data

Definition at line 339 of file GenericSAXHandler.h.

Referenced by characters(), and needsCharacterData().

◆ myDescription

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 319 of file MSMoveReminder.h.

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

◆ myEdges

const MSEdgeVector MSTriggeredRerouter::myEdges
protected

edges where vehicles are notified

Definition at line 339 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter(), and setPermissions().

◆ myEvalParams

StoppingPlaceParamMap_t MSStoppingPlaceRerouter::myEvalParams
protectedinherited

Definition at line 310 of file MSStoppingPlaceRerouter.h.

Referenced by collectWeights(), and MSStoppingPlaceRerouter().

◆ myExpectedRoot

std::string GenericSAXHandler::myExpectedRoot
privateinherited

The root element to expect, empty string disables the check.

Definition at line 336 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), and startElement().

◆ myFileName

std::string GenericSAXHandler::myFileName
privateinherited

The name of the currently parsed file.

Definition at line 333 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), getFileName(), and setFileName().

◆ myHaveParkProbs

bool MSTriggeredRerouter::myHaveParkProbs
protected

whether this rerouter has loaded parkingReroute definitions

Definition at line 369 of file MSTriggeredRerouter.h.

Referenced by isParkingRerouter(), MSTriggeredRerouter(), and myStartElement().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

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

◆ myInstances

std::map< std::string, MSTriggeredRerouter * > MSTriggeredRerouter::myInstances
staticprotected

◆ myIntervals

std::vector<RerouteInterval> MSTriggeredRerouter::myIntervals
protected

List of rerouting definition intervals.

Definition at line 342 of file MSTriggeredRerouter.h.

Referenced by GUIEdge::addRerouter(), getCurrentReroute(), getCurrentReroute(), GUITriggeredRerouter::myEndElement(), myEndElement(), and setPermissions().

◆ myInvertParams

StoppingPlaceParamSwitchMap_t MSStoppingPlaceRerouter::myInvertParams
protectedinherited

Definition at line 312 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter(), and rerouteStoppingPlace().

◆ myLane

◆ myLastVehicleUpdateValues

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

◆ myNextSectionStart

std::pair<int, SUMOSAXAttributes*> GenericSAXHandler::myNextSectionStart
privateinherited

◆ myNormParams

StoppingPlaceParamSwitchMap_t MSStoppingPlaceRerouter::myNormParams
protectedinherited

Definition at line 311 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter(), and rerouteStoppingPlace().

◆ myParamPrefix

const std::string MSStoppingPlaceRerouter::myParamPrefix
protectedinherited

◆ myParentHandler

GenericSAXHandler* GenericSAXHandler::myParentHandler
privateinherited

The handler to give control back to.

Definition at line 327 of file GenericSAXHandler.h.

Referenced by callParentEnd(), endElement(), GenericSAXHandler(), and registerParent().

◆ myParentIndicator

int GenericSAXHandler::myParentIndicator
privateinherited

The tag indicating that control should be given back.

Definition at line 330 of file GenericSAXHandler.h.

Referenced by endElement(), GenericSAXHandler(), and registerParent().

◆ myParsedRerouteInterval

RerouteInterval MSTriggeredRerouter::myParsedRerouteInterval
protected

used during loading

Definition at line 366 of file MSTriggeredRerouter.h.

Referenced by myEndElement(), and myStartElement().

◆ myPosition

Position MSTriggeredRerouter::myPosition
protected

Where are we located in the network.

Definition at line 354 of file MSTriggeredRerouter.h.

Referenced by getPosition(), MSTriggeredRerouter(), and triggerRouting().

◆ myPredefinedTags

AttrMap GenericSAXHandler::myPredefinedTags
privateinherited

Definition at line 306 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), startElement(), and ~GenericSAXHandler().

◆ myPredefinedTagsMML

std::vector<std::string> GenericSAXHandler::myPredefinedTagsMML
privateinherited

the map from ids to their string representation

Definition at line 309 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), and startElement().

◆ myProbability

double MSTriggeredRerouter::myProbability
protected

The probability and the user-given probability.

Definition at line 345 of file MSTriggeredRerouter.h.

Referenced by getProbability(), MSTriggeredRerouter(), and triggerRouting().

◆ myRadius

double MSTriggeredRerouter::myRadius
protected

At which distance are we activated.

Definition at line 357 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter(), notifyEnter(), and triggerRouting().

◆ myRootSeen

bool GenericSAXHandler::myRootSeen = false
privateinherited

whether the reader has already seen the root element

Definition at line 342 of file GenericSAXHandler.h.

Referenced by startElement().

◆ mySection

int GenericSAXHandler::mySection = -1
privateinherited

The tag indicating the current section to parse.

Definition at line 345 of file GenericSAXHandler.h.

Referenced by endElement(), setSection(), and startElement().

◆ mySectionEnded

bool GenericSAXHandler::mySectionEnded = false
privateinherited

whether the reader has already seen the end of the section

Definition at line 351 of file GenericSAXHandler.h.

Referenced by sectionFinished(), setSection(), and startElement().

◆ mySectionOpen

bool GenericSAXHandler::mySectionOpen = false
privateinherited

whether an element of the current section is open

Definition at line 354 of file GenericSAXHandler.h.

Referenced by endElement(), setSection(), and startElement().

◆ mySectionSeen

bool GenericSAXHandler::mySectionSeen = false
privateinherited

whether the reader has already seen the begin of the section

Definition at line 348 of file GenericSAXHandler.h.

Referenced by setSection(), and startElement().

◆ mySpecialDest_keepDestination

MSEdge MSTriggeredRerouter::mySpecialDest_keepDestination
staticprotected

special destination values

Definition at line 374 of file MSTriggeredRerouter.h.

Referenced by GUIEdge::addRerouter(), myStartElement(), and triggerRouting().

◆ mySpecialDest_terminateRoute

MSEdge MSTriggeredRerouter::mySpecialDest_terminateRoute
staticprotected

Definition at line 375 of file MSTriggeredRerouter.h.

Referenced by myStartElement(), and triggerRouting().

◆ myTagMap

TagMap GenericSAXHandler::myTagMap
privateinherited

Definition at line 320 of file GenericSAXHandler.h.

Referenced by convertTag(), and GenericSAXHandler().

◆ myTimeThreshold

SUMOTime MSTriggeredRerouter::myTimeThreshold
protected

Definition at line 360 of file MSTriggeredRerouter.h.

Referenced by MSTriggeredRerouter(), and triggerRouting().

◆ myUserProbability

double MSTriggeredRerouter::myUserProbability
protected

◆ myVehicleTypes

std::set<std::string> MSTriggeredRerouter::myVehicleTypes
protected

The vehicle types to look for (empty means all).

Definition at line 363 of file MSTriggeredRerouter.h.

Referenced by applies(), and MSTriggeredRerouter().

◆ Notifications

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

Definition at line 309 of file MSMoveReminder.h.

Referenced by MSDriveWay::writeBlockVehicles().

◆ NotificationValues

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

Definition at line 28 of file MSMoveReminder.h.


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