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  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_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
}
 Definition of a vehicle state. More...
 

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.
 
 MSTriggeredRerouter (const std::string &id, const MSEdgeVector &edges, double prob, bool off, bool optional, SUMOTime timeThreshold, const std::string &vTypes, const Position &pos)
 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 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.
 
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
 

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
 
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)
 compute the target function for a single alternative
 
virtual SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouter (SUMOVehicle &veh, const MSEdgeVector &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.
 
MSStoppingPlacereroute (std::vector< StoppingPlaceVisible > &stoppingPlaceCandidates, const std::vector< double > &probs, SUMOVehicle &veh, bool &newDestination, ConstMSEdgeVector &newRoute, StoppingPlaceParamMap_t &scores, const MSEdgeVector &closedEdges={})
 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
 
const bool myConsiderDestVisibility
 
StoppingPlaceParamMap_t myEvalParams
 
StoppingPlaceParamSwitchMap_t myInvertParams
 
std::map< long long int, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
 
StoppingPlaceParamSwitchMap_t myNormParams
 
const std::string myParamPrefix
 
const SumoXMLTag myStoppingType
 

Friends

class GUIEdge
 

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.
 
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
 
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.
 
static bool affected (const std::set< SUMOTrafficObject::NumericalID > &edgeIndices, const MSEdgeVector &closed)
 
 MSTriggeredRerouter (const MSTriggeredRerouter &)
 Invalidated copy constructor.
 
MSTriggeredRerouteroperator= (const MSTriggeredRerouter &)
 Invalidated assignment operator.
 

Methods called on vehicle movement / state change, overwriting MSDevice

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 *parkingArea)
 Return the number of occupied places of the ParkingArea.
 
double getLastStepStoppingPlaceOccupancy (MSStoppingPlace *parkingArea)
 Return the number of occupied places of the StoppingPlace from the previous time step.
 
double getStoppingPlaceCapacity (MSStoppingPlace *parkingArea)
 Return the number of places the ParkingArea 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
 
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
 

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 60 of file MSTriggeredRerouter.h.

Member Typedef Documentation

◆ AttrMap

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

Definition at line 303 of file GenericSAXHandler.h.

◆ StoppingPlaceMap_t

◆ StoppingPlaceParamMap_t

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

Definition at line 129 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceParamSwitchMap_t

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

Definition at line 130 of file MSStoppingPlaceRerouter.h.

◆ StoppingPlaceVisible

Definition at line 132 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_PARKING_REROUTE 

The vehicle needs another parking area.

NOTIFICATION_ARRIVED 

The vehicle arrived at its destination (is deleted)

NOTIFICATION_TELEPORT_ARRIVED 

The vehicle was teleported out of the net.

NOTIFICATION_VAPORIZED_CALIBRATOR 

The vehicle got removed by a calibrator.

NOTIFICATION_VAPORIZED_COLLISION 

The vehicle got removed by a collision.

NOTIFICATION_VAPORIZED_TRACI 

The vehicle got removed via TraCI.

NOTIFICATION_VAPORIZED_GUI 

The vehicle got removed via the GUI.

NOTIFICATION_VAPORIZED_VAPORIZER 

The vehicle got vaporized with a vaporizer.

NOTIFICATION_VAPORIZED_BREAKDOWN 

The vehicle got removed via stationfinder device.

Definition at line 89 of file MSMoveReminder.h.

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 
)

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 77 of file MSTriggeredRerouter.cpp.

References MESegment::addDetector(), MELoop::getSegmentForEdge(), StringTokenizer::getVector(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, myInstances, myVehicleTypes, setUserMode(), and setUserUsageProbability().

◆ ~MSTriggeredRerouter()

MSTriggeredRerouter::~MSTriggeredRerouter ( )
virtual

Destructor.

Definition at line 110 of file MSTriggeredRerouter.cpp.

References Named::getID(), and myInstances.

◆ MSTriggeredRerouter() [2/2]

MSTriggeredRerouter::MSTriggeredRerouter ( const MSTriggeredRerouter )
private

Invalidated copy constructor.

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 773 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 757 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 GenericSAXHandler::getFileName(), and TL.

Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::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 GenericSAXHandler::myEndElement(), and GenericSAXHandler::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 GenericSAXHandler::myCharactersVector, GenericSAXHandler::myCollectCharacterData, and StringUtils::transcode().

◆ checkParkingRerouteConsistency()

void MSTriggeredRerouter::checkParkingRerouteConsistency ( )
static

issues warning for incomplete parkingReroute relationships

Definition at line 784 of file MSTriggeredRerouter.cpp.

References myInstances, TL, and WRITE_WARNINGF.

Referenced by NLBuilder::build().

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 537 of file MSStoppingPlaceRerouter.cpp.

References MSStoppingPlaceRerouter::getWeight(), and MSStoppingPlaceRerouter::myEvalParams.

Referenced by MSStoppingPlaceRerouter::reroute().

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::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 GenericSAXHandler::myTagMap, and SUMO_TAG_NOTHING.

Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().

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 GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, GenericSAXHandler::mySection, GenericSAXHandler::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 GenericSAXHandler::buildErrorMessage().

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

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 510 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::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 
)
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
Returns
false if the stopping place cannot be used

Definition at line 388 of file MSStoppingPlaceRerouter.cpp.

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

Referenced by MSStoppingPlaceRerouter::reroute().

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 GenericSAXHandler::buildErrorMessage().

◆ 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 376 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 351 of file MSTriggeredRerouter.cpp.

References affected(), SUMOTrafficObject::getUpcomingEdgeIDs(), and myIntervals.

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

Here is the caller graph for this function:

◆ getDescription()

const std::string & MSMoveReminder::getDescription ( ) const
inlineinherited

Definition at line 280 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

Referenced by MSDriveWay::notifyEnter(), MSDriveWay::notifyLeave(), and MSDriveWay::notifyLeaveBack().

Here is the caller graph for this function:

◆ getEvalDefaultWeight()

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

provide default values for evaluation components

Definition at line 227 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 Named::myID.

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

◆ getIDSecure()

template<class T >
static 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(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBOwnTLDef::computeLogicAndConts(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getInstances()

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

return all rerouter instances

Definition at line 219 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()

const MSLane * MSMoveReminder::getLane ( ) const
inlineinherited

Returns the lane the reminder works on.

Returns
The lane the reminder is anchored on.

Definition at line 83 of file MSMoveReminder.h.

References MSMoveReminder::myLane.

Referenced by LIBSUMO_NAMESPACE::InductionLoop::getTree(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), LIBSUMO_NAMESPACE::InductionLoop::storeShape(), and MSMeanData::writeEdge().

Here is the caller graph for this function:

◆ getLastStepStoppingPlaceOccupancy()

double MSTriggeredRerouter::getLastStepStoppingPlaceOccupancy ( MSStoppingPlace parkingArea)
virtual

Return the number of occupied places of the StoppingPlace from the previous time step.

Implements MSStoppingPlaceRerouter.

Definition at line 699 of file MSTriggeredRerouter.cpp.

◆ 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 736 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::getNumberParkingReroutes().

◆ getPosition()

const Position & MSTriggeredRerouter::getPosition ( )
inline

Definition at line 183 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 681 of file MSTriggeredRerouter.cpp.

References myAmInUserMode, myProbability, and myUserProbability.

◆ getRouter()

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

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

Reimplemented in MSDevice_StationFinder.

Definition at line 531 of file MSStoppingPlaceRerouter.cpp.

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

Referenced by MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ getStoppingPlaceCapacity()

double MSTriggeredRerouter::getStoppingPlaceCapacity ( MSStoppingPlace parkingArea)
virtual

Return the number of places the ParkingArea provides.

Implements MSStoppingPlaceRerouter.

Definition at line 705 of file MSTriggeredRerouter.cpp.

References MSParkingArea::getCapacity().

◆ getStoppingPlaceOccupancy()

double MSTriggeredRerouter::getStoppingPlaceOccupancy ( MSStoppingPlace parkingArea)
virtual

Return the number of occupied places of the ParkingArea.

Implements MSStoppingPlaceRerouter.

Definition at line 693 of file MSTriggeredRerouter.cpp.

◆ 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 586 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::reroute().

Here is the caller graph for this function:

◆ getUserProbability()

double MSTriggeredRerouter::getUserProbability ( ) const

Returns the rerouting probability given by the user.

Definition at line 687 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 549 of file MSStoppingPlaceRerouter.cpp.

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

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

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 675 of file MSTriggeredRerouter.cpp.

References myAmInUserMode.

◆ isParkingRerouter()

bool MSTriggeredRerouter::isParkingRerouter ( ) const
inlinevirtual

Reimplemented from MSMoveReminder.

Definition at line 179 of file MSTriggeredRerouter.h.

References myHaveParkProbs.

◆ 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 GenericSAXHandler::endElement().

Here is the caller graph for this function:

◆ myEndElement()

void MSTriggeredRerouter::myEndElement ( int  element)
protectedvirtual

◆ 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 117 of file MSTriggeredRerouter.cpp.

References RandomDistributor< T >::add(), MSTriggeredRerouter::RerouteInterval::begin, MSTriggeredRerouter::RerouteInterval::closed, MSTriggeredRerouter::RerouteInterval::closedLanes, MSRoute::dictionary(), MSEdge::dictionary(), MSLane::dictionary(), MSTriggeredRerouter::RerouteInterval::edgeProbs, MSTriggeredRerouter::RerouteInterval::end, Named::getID(), MSNet::getInstance(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), MSNet::getStoppingPlace(), SUMOSAXAttributes::getStringSecure(), SUMOSAXAttributes::hasAttribute(), MSTriggeredRerouter::RerouteInterval::isVia, myHaveParkProbs, myParsedRerouteInterval, mySpecialDest_keepDestination, mySpecialDest_terminateRoute, MSTriggeredRerouter::RerouteInterval::parkProbs, parseVehicleClasses(), MSTriggeredRerouter::RerouteInterval::permissions, MSTriggeredRerouter::RerouteInterval::routeProbs, SUMO_ATTR_ALLOW, SUMO_ATTR_BEGIN, SUMO_ATTR_DISALLOW, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_VISIBLE, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_ROUTE_PROB_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 GenericSAXHandler::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 390 of file MSTriggeredRerouter.cpp.

References myAmOptional, 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_Tripinfo, MSMeanData_Emissions::MSLaneMeanDataValues, and MSDevice_StationFinder.

Definition at line 183 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 406 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 228 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 399 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_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSMeanData::MeanDataValueTracker, MSDevice_StationFinder, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.

Definition at line 258 of file MSMoveReminder.h.

References UNUSED_PARAMETER.

Referenced by MSMoveReminder::updateDetector().

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 189 of file MSMoveReminder.h.

◆ notifyStopEnded()

virtual void MSMoveReminder::notifyStopEnded ( )
inlinevirtualinherited

called to update state for stopped vehicles

Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.

Definition at line 192 of file MSMoveReminder.h.

◆ operator=()

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

Invalidated assignment operator.

◆ 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 269 of file MSStoppingPlaceRerouter.h.

References MSStoppingPlaceRerouter::getWeight().

◆ 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, GenericSAXHandler::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 712 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 718 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::rememberParkingAreaScore().

◆ removeFromVehicleUpdateValues()

void MSMoveReminder::removeFromVehicleUpdateValues ( SUMOTrafficObject veh)
protectedinherited

Definition at line 89 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), and MSMoveReminder::myLastVehicleUpdateValues.

Referenced by MSMoveReminder::updateDetector().

Here is the caller graph for this function:

◆ reroute()

MSStoppingPlace * MSStoppingPlaceRerouter::reroute ( std::vector< StoppingPlaceVisible > &  stoppingPlaceCandidates,
const std::vector< double > &  probs,
SUMOVehicle veh,
bool &  newDestination,
ConstMSEdgeVector newRoute,
StoppingPlaceParamMap_t scores,
const MSEdgeVector closedEdges = {} 
)
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
Returns
the best stopping place according to the target function or nullptr

Definition at line 51 of file MSStoppingPlaceRerouter.cpp.

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

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

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 748 of file MSTriggeredRerouter.cpp.

References MSTriggeredRerouter::RerouteInterval::closed, RandomDistributor< T >::getProbs(), RandomDistributor< T >::getVals(), MSTriggeredRerouter::RerouteInterval::parkProbs, and MSStoppingPlaceRerouter::reroute().

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 724 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::resetParkingAreaScores().

◆ retrieveNextSectionStart()

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

Definition at line 213 of file GenericSAXHandler.h.

References GenericSAXHandler::myNextSectionStart.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ 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 730 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::sawBlockedParkingArea().

◆ sectionFinished()

bool GenericSAXHandler::sectionFinished ( ) const
inlineinherited

Definition at line 209 of file GenericSAXHandler.h.

References GenericSAXHandler::mySectionEnded.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ setDescription()

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

Definition at line 276 of file MSMoveReminder.h.

References MSMoveReminder::myDescription.

Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), 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 GenericSAXHandler::myFileName.

Referenced by NIImporter_SUMO::_loadNetwork(), MSStateHandler::MSStateTimeHandler::getTime(), GUISettingsHandler::GUISettingsHandler(), NIImporter_OpenStreetMap::load(), NIImporter_Vissim::load(), PCNetProjectionLoader::load(), NITypeLoader::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 Named::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 742 of file MSTriggeredRerouter.cpp.

References SUMOVehicle::setNumberParkingReroutes().

◆ setPermissions()

SUMOTime MSTriggeredRerouter::setPermissions ( const SUMOTime  currentTime)

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

Definition at line 303 of file MSTriggeredRerouter.cpp.

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

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 GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, and GenericSAXHandler::mySectionSeen.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ setUserMode()

void MSTriggeredRerouter::setUserMode ( bool  val)

Sets whether the process is currently steered by the user.

Definition at line 663 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 669 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 GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myExpectedRoot, GenericSAXHandler::myNextSectionStart, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myRootSeen, GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, GenericSAXHandler::mySectionSeen, GenericSAXHandler::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 413 of file MSTriggeredRerouter.cpp.

References affected(), applies(), SUMOVehicleParameter::arrivalPos, SUMOVehicleParameter::arrivalPosProcedure, MSTriggeredRerouter::RerouteInterval::closed, MSTriggeredRerouter::RerouteInterval::closedLanes, IntermodalRouter< E, L, N, V >::compute(), SUMOAbstractRouter< E, V >::compute(), MSRoute::containsAnyOf(), DEBUGCOND, MSTriggeredRerouter::RerouteInterval::edgeProbs, MSRoute::end(), RandomDistributor< T >::get(), getCurrentReroute(), SUMOVehicle::getCurrentRouteEdge(), MSNet::getCurrentTimeStep(), SUMOTrafficObject::getDevice(), SUMOTrafficObject::getEdge(), MSStoppingPlace::getEndLanePosition(), Named::getID(), Named::getIDSecure(), MSNet::getInstance(), MSNet::getIntermodalRouter(), MSRoutingEngine::getIntermodalRouterTT(), MSEdge::getLength(), SUMOTrafficObject::getMaxSpeed(), SUMOVehicle::getNextParkingArea(), RandomDistributor< T >::getOverallProb(), SUMOTrafficObject::getParameter(), SUMOVehicle::getPersons(), SUMOTrafficObject::getPositionOnLane(), SUMOTrafficObject::getRerouteDestination(), SUMOTrafficObject::getRNG(), SUMOTrafficObject::getRNGIndex(), SUMOVehicle::getRoute(), MSNet::getRouterTT(), MSRoutingEngine::getRouterTT(), SUMOTrafficObject::getUpcomingEdgeIDs(), RandomDistributor< T >::getVals(), SUMOTrafficObject::getVClass(), SUMOTrafficObject::getWaitingTime(), GIVEN, MSGlobals::gNumSimThreads, SUMOTrafficObject::isVehicle(), MSTriggeredRerouter::RerouteInterval::isVia, MAX2(), myAmInUserMode, myProbability, mySpecialDest_keepDestination, mySpecialDest_terminateRoute, myTimeThreshold, myUserProbability, MSMoveReminder::NOTIFICATION_LANE_CHANGE, MSTriggeredRerouter::RerouteInterval::parkProbs, MSTriggeredRerouter::RerouteInterval::permissions, RandHelper::rand(), SUMOAbstractRouter< E, V >::recomputeCosts(), RandomDistributor< T >::remove(), SUMOVehicle::replaceParameter(), SUMOVehicle::replaceParkingArea(), SUMOTrafficObject::replaceRoute(), SUMOVehicle::replaceRouteEdges(), SUMOVehicle::reroute(), rerouteParkingArea(), MSTriggeredRerouter::RerouteInterval::routeProbs, SUMOVehicle::setArrivalPos(), SIMTIME, SUMO_TAG_PARKING_AREA_REROUTE, SVCAll, 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 47 of file MSMoveReminder.cpp.

References SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::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 576 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::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 525 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::reroute().

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 519 of file MSStoppingPlaceRerouter.cpp.

Referenced by MSStoppingPlaceRerouter::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 GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.

Friends And Related Symbol Documentation

◆ GUIEdge

friend class GUIEdge
friend

Definition at line 64 of file MSTriggeredRerouter.h.

Field Documentation

◆ myAmInUserMode

bool MSTriggeredRerouter::myAmInUserMode
protected

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

Definition at line 278 of file MSTriggeredRerouter.h.

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

◆ myAmOptional

bool MSTriggeredRerouter::myAmOptional
protected

Information whether the rerouting will only take place on request.

Definition at line 281 of file MSTriggeredRerouter.h.

Referenced by notifyEnter().

◆ 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 GenericSAXHandler::characters(), GenericSAXHandler::endElement(), and GenericSAXHandler::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 GenericSAXHandler::characters(), and GenericSAXHandler::needsCharacterData().

◆ myConsiderDestVisibility

const bool MSStoppingPlaceRerouter::myConsiderDestVisibility
protectedinherited

Definition at line 288 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter::reroute().

◆ myDescription

std::string MSMoveReminder::myDescription
protectedinherited

a description of this moveReminder

Definition at line 297 of file MSMoveReminder.h.

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

◆ myEdges

const MSEdgeVector MSTriggeredRerouter::myEdges
protected

edges where vehicles are notified

Definition at line 269 of file MSTriggeredRerouter.h.

Referenced by setPermissions().

◆ myEvalParams

StoppingPlaceParamMap_t MSStoppingPlaceRerouter::myEvalParams
protectedinherited

◆ 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::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 GenericSAXHandler::setFileName().

◆ myHaveParkProbs

bool MSTriggeredRerouter::myHaveParkProbs
protected

whether this rerouter has loaded parkingReroute definitions

Definition at line 296 of file MSTriggeredRerouter.h.

Referenced by isParkingRerouter(), 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(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().

◆ myInstances

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

◆ myIntervals

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

List of rerouting definition intervals.

Definition at line 272 of file MSTriggeredRerouter.h.

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

◆ myInvertParams

StoppingPlaceParamSwitchMap_t MSStoppingPlaceRerouter::myInvertParams
protectedinherited

◆ 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

◆ 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 GenericSAXHandler::callParentEnd(), GenericSAXHandler::endElement(), and GenericSAXHandler::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 GenericSAXHandler::endElement(), and GenericSAXHandler::registerParent().

◆ myParsedRerouteInterval

RerouteInterval MSTriggeredRerouter::myParsedRerouteInterval
protected

used during loading

Definition at line 293 of file MSTriggeredRerouter.h.

Referenced by myEndElement(), and myStartElement().

◆ myPosition

Position MSTriggeredRerouter::myPosition
protected

Where are we located in the network.

Definition at line 284 of file MSTriggeredRerouter.h.

Referenced by getPosition().

◆ myPredefinedTags

AttrMap GenericSAXHandler::myPredefinedTags
privateinherited

◆ 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::GenericSAXHandler(), and GenericSAXHandler::startElement().

◆ myProbability

double MSTriggeredRerouter::myProbability
protected

The probability and the user-given probability.

Definition at line 275 of file MSTriggeredRerouter.h.

Referenced by getProbability(), 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 GenericSAXHandler::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 GenericSAXHandler::endElement(), GenericSAXHandler::setSection(), and GenericSAXHandler::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 GenericSAXHandler::sectionFinished(), GenericSAXHandler::setSection(), and GenericSAXHandler::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 GenericSAXHandler::endElement(), GenericSAXHandler::setSection(), and GenericSAXHandler::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 GenericSAXHandler::setSection(), and GenericSAXHandler::startElement().

◆ mySpecialDest_keepDestination

MSEdge MSTriggeredRerouter::mySpecialDest_keepDestination
staticprotected

special destination values

Definition at line 299 of file MSTriggeredRerouter.h.

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

◆ mySpecialDest_terminateRoute

MSEdge MSTriggeredRerouter::mySpecialDest_terminateRoute
staticprotected

Definition at line 300 of file MSTriggeredRerouter.h.

Referenced by myStartElement(), and triggerRouting().

◆ myStoppingType

const SumoXMLTag MSStoppingPlaceRerouter::myStoppingType
protectedinherited

Definition at line 285 of file MSStoppingPlaceRerouter.h.

Referenced by MSStoppingPlaceRerouter::reroute().

◆ myTagMap

TagMap GenericSAXHandler::myTagMap
privateinherited

◆ myTimeThreshold

SUMOTime MSTriggeredRerouter::myTimeThreshold
protected

Definition at line 287 of file MSTriggeredRerouter.h.

Referenced by 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 290 of file MSTriggeredRerouter.h.

Referenced by applies(), and MSTriggeredRerouter().


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