Eclipse SUMO - Simulation of Urban MObility
|
Reroutes traffic objects passing an edge. More...
#include <MSTriggeredRerouter.h>
Data Structures | |
struct | RerouteInterval |
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 MSLane * | getLane () 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. | |
MSLane * | myLane |
Lane on which the reminder works. | |
Private Types | |
typedef std::map< MSStoppingPlace *, StoppingPlaceParamMap_t, ComparatorIdLess > | StoppingPlaceMap_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. | |
MSStoppingPlace * | reroute (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< RerouteInterval > | myIntervals |
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. | |
MSTriggeredRerouter & | operator= (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 RerouteInterval * | getCurrentReroute (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 RerouteInterval * | getCurrentReroute (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 Position & | getPosition () |
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 | |
MSParkingArea * | rerouteParkingArea (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 ¶mName) |
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. | |
GenericSAXHandler * | myParentHandler |
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 |
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.
|
privateinherited |
Definition at line 303 of file GenericSAXHandler.h.
|
inherited |
Definition at line 131 of file MSStoppingPlaceRerouter.h.
|
inherited |
Definition at line 129 of file MSStoppingPlaceRerouter.h.
|
inherited |
Definition at line 130 of file MSStoppingPlaceRerouter.h.
|
inherited |
Definition at line 132 of file MSStoppingPlaceRerouter.h.
|
privateinherited |
Definition at line 317 of file GenericSAXHandler.h.
|
inherited |
Definition of a vehicle state.
Enumerator | |
---|---|
NOTIFICATION_DEPARTED | The vehicle has departed (was inserted into the network) |
NOTIFICATION_JUNCTION | The vehicle arrived at a junction. |
NOTIFICATION_SEGMENT | The vehicle changes the segment (meso only) |
NOTIFICATION_LANE_CHANGE | The vehicle changes lanes (micro only) |
NOTIFICATION_LOAD_STATE | The vehicle has been loaded from a state file. |
NOTIFICATION_TELEPORT | The vehicle is being teleported. |
NOTIFICATION_TELEPORT_CONTINUATION | The vehicle continues being teleported past an edge. |
NOTIFICATION_PARKING | The vehicle starts or ends parking. |
NOTIFICATION_PARKING_REROUTE | The vehicle needs another parking area. |
NOTIFICATION_ARRIVED | The vehicle arrived at its destination (is deleted) |
NOTIFICATION_TELEPORT_ARRIVED | The vehicle was teleported out of the net. |
NOTIFICATION_VAPORIZED_CALIBRATOR | The vehicle got removed by a calibrator. |
NOTIFICATION_VAPORIZED_COLLISION | The vehicle got removed by a collision. |
NOTIFICATION_VAPORIZED_TRACI | The vehicle got removed via TraCI. |
NOTIFICATION_VAPORIZED_GUI | The vehicle got removed via the GUI. |
NOTIFICATION_VAPORIZED_VAPORIZER | The vehicle got vaporized with a vaporizer. |
NOTIFICATION_VAPORIZED_BREAKDOWN | The vehicle got removed via stationfinder device. |
Definition at line 89 of file MSMoveReminder.h.
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.
[in] | id | The id of the rerouter |
[in] | edges | The edges the rerouter is placed at |
[in] | prob | The 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().
|
virtual |
Destructor.
Definition at line 110 of file MSTriggeredRerouter.cpp.
References Named::getID(), and myInstances.
|
private |
Invalidated copy constructor.
|
inlineinherited |
Adds this object to the given container.
[in,filled] | cont The container to add this item to |
Definition at line 118 of file Named.h.
References Named::StoringVisitor::add().
|
staticprotected |
Definition at line 773 of file MSTriggeredRerouter.cpp.
Referenced by getCurrentReroute(), myEndElement(), and triggerRouting().
|
protected |
Checks whether the detector measures objects of the given type.
[in] | obj | the traffic object of which the type is checked. |
Definition at line 757 of file MSTriggeredRerouter.cpp.
References MSNet::getInstance(), MSVehicleType::getOriginalID(), MSNet::getVehicleControl(), SUMOTrafficObject::getVehicleType(), MSVehicleControl::getVTypeDistributionMembership(), and myVehicleTypes.
Referenced by triggerRouting().
|
protectedinherited |
Builds an error message.
The error message includes the file name and the line/column information as supported by the given SAXParseException
[in] | exception | The name of the currently processed file |
Definition at line 205 of file GenericSAXHandler.cpp.
References GenericSAXHandler::getFileName(), and TL.
Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::warning().
|
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().
|
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.
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().
|
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().
|
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().
|
privateinherited |
converts from c++-string into unicode
[in] | name | The string to convert |
Definition at line 86 of file GenericSAXHandler.cpp.
Referenced by GenericSAXHandler::GenericSAXHandler().
|
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.
[in] | tag | The string to convert |
Definition at line 195 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myTagMap, and SUMO_TAG_NOTHING.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().
|
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.
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().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
[in] | exception | The occurred exception to process |
ProcessError | On 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().
|
virtualinherited |
Compute some custom target function components.
[in] | veh | the concerned vehicle |
[in] | brakeGap | the distance before which the vehicle cannot stop |
[in] | newDestination | whether the destination changed |
[in] | alternative | the stopping place to evaluate |
[in] | occupancy | occupancy of the stopping place |
[in] | router | the router to use for evaluation if needed |
[in,out] | stoppingPlaceValues | the data structure to write the evaluation values to |
[in] | newRoute | the complete route to the destination passing by the stopping place |
[in] | stoppingPlaceApproach | the route to the stopping place |
[in] | maxValues | the maximum values of the components |
[in] | addInput | external input data |
Reimplemented in MSDevice_StationFinder.
Definition at line 510 of file MSStoppingPlaceRerouter.cpp.
Referenced by MSStoppingPlaceRerouter::evaluateDestination().
|
virtualinherited |
compute the target function for a single alternative
[in] | veh | the concerned vehicle |
[in] | brakeGap | the distance before which the vehicle cannot stop |
[in] | newDestination | whether the destination changed |
[in] | alternative | the stopping place to evaluate |
[in] | occupancy | occupancy of the stopping place |
[in] | prob | the predefined probability of this stopping place |
[in] | router | the router to use for evaluation if needed |
[in,out] | stoppingPlaces | the data structure to write the evaluation values to |
[in,out] | newRoutes | the data structure to write the chosen route to/from the stopping place to |
[in,out] | stoppingPlaceApproaches | the data structure to write the chosen route to the stopping place to |
[in,out] | maxValues | maximum values for all evaluation components |
[in] | addInput | external input data |
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().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
ProcessError | On any call |
[in] | exception | The occurred exception to process |
Definition at line 230 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
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.
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().
|
inlineinherited |
Definition at line 280 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSDriveWay::notifyEnter(), MSDriveWay::notifyLeave(), and MSDriveWay::notifyLeaveBack().
|
inlinestatic |
provide default values for evaluation components
Definition at line 227 of file MSTriggeredRerouter.h.
|
inherited |
returns the current file name
Definition at line 80 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NLHandler::addE1Detector(), NLHandler::addE2Detector(), NLHandler::addEdgeLaneMeanData(), NLHandler::addInstantE1Detector(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), NLHandler::addRouteProbeDetector(), NLHandler::addVTypeProbeDetector(), NLHandler::beginE3Detector(), GenericSAXHandler::buildErrorMessage(), PCNetProjectionLoader::load(), NLHandler::myEndElement(), RODFDetectorHandler::myStartElement(), NIImporter_OpenDrive::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NLHandler::myStartElement(), GUISettingsHandler::myStartElement(), SUMORouteHandler::myStartElement(), DataHandler::parse(), GeneralHandler::parse(), XMLSubSys::runParser(), GenericSAXHandler::startElement(), and SUMORouteLoader::SUMORouteLoader().
|
inlineinherited |
Returns the id.
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NBNodeCont::addCluster2Join(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), MSLaneChanger::avoidDeadlock(), 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(), 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_Routing::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSDevice_Battery::saveState(), MSDevice_StationFinder::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().
|
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(), AFRouter< E, N, V >::compute(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), AFBuild< E, N, V >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V >::computeNode2Edge(), Node2EdgeRouter< E, N, V >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSStopOut::generateOutputForUnfinished(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), 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().
|
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().
|
inlineinherited |
Returns the lane the reminder works on.
Definition at line 83 of file MSMoveReminder.h.
References MSMoveReminder::myLane.
Referenced by LIBSUMO_NAMESPACE::InductionLoop::getTree(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), LIBSUMO_NAMESPACE::InductionLoop::storeShape(), and MSMeanData::writeEdge().
|
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.
|
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().
|
inline |
Definition at line 183 of file MSTriggeredRerouter.h.
References myPosition.
Referenced by MSStageWalking::activateEntryReminders().
double MSTriggeredRerouter::getProbability | ( | ) | const |
Returns the rerouting probability.
Definition at line 681 of file MSTriggeredRerouter.cpp.
References myAmInUserMode, myProbability, and myUserProbability.
|
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().
|
virtual |
Return the number of places the ParkingArea provides.
Implements MSStoppingPlaceRerouter.
Definition at line 705 of file MSTriggeredRerouter.cpp.
References MSParkingArea::getCapacity().
|
virtual |
Return the number of occupied places of the ParkingArea.
Implements MSStoppingPlaceRerouter.
Definition at line 693 of file MSTriggeredRerouter.cpp.
|
staticinherited |
compute the scalar target function value by means of a linear combination of all components/weights after normalising and optionally inverting the values
[in] | absValues | the component values |
[in] | maxValues | max values for all components |
[in] | weights | weight factors for all components |
[in] | norm | which component should be normalised |
[in] | invert | which component should be inverted |
Definition at line 586 of file MSStoppingPlaceRerouter.cpp.
Referenced by MSStoppingPlaceRerouter::reroute().
double MSTriggeredRerouter::getUserProbability | ( | ) | const |
Returns the rerouting probability given by the user.
Definition at line 687 of file MSTriggeredRerouter.cpp.
References myUserProbability.
|
inherited |
read the value of a stopping place search param, e.g. a component weight factor
[in] | veh | the concerned vehicle |
[in] | param | the name of the stopping place search param, excluding the param prefix (e.g. "parking.") |
[in] | defaultWeight | value to return in case the param hasn't been defined for the vehicle |
[in] | warn | whether a warning message shall be issued if the param is not defined for the vehicle |
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().
bool MSTriggeredRerouter::inUserMode | ( | ) | const |
Returns whether the user is setting the rerouting probability.
Definition at line 675 of file MSTriggeredRerouter.cpp.
References myAmInUserMode.
|
inlinevirtual |
Reimplemented from MSMoveReminder.
Definition at line 179 of file MSTriggeredRerouter.h.
References myHaveParkProbs.
|
protectedvirtualinherited |
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
[in] | element | The opened element, given as a int |
[in] | chars | The 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().
|
protectedvirtual |
Called when a closing tag occurs.
[in] | element | ID of the currently opened element |
ProcessError | If something fails |
Reimplemented from GenericSAXHandler.
Reimplemented in GUITriggeredRerouter.
Definition at line 269 of file MSTriggeredRerouter.cpp.
References MSEventControl::addEvent(), affected(), MSTriggeredRerouter::RerouteInterval::begin, MSTriggeredRerouter::RerouteInterval::closed, MSTriggeredRerouter::RerouteInterval::closedLanes, MSTriggeredRerouter::RerouteInterval::closedLanesAffected, MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), OptionsCont::getOptions(), RandomDistributor< T >::getVals(), myIntervals, myParsedRerouteInterval, MSTriggeredRerouter::RerouteInterval::parkProbs, MSTriggeredRerouter::RerouteInterval::permissions, setPermissions(), string2time(), SUMO_TAG_INTERVAL, and SVCAll.
Referenced by GUITriggeredRerouter::myEndElement().
|
protectedvirtual |
Called on the opening of a tag;.
[in] | element | ID of the currently opened element |
[in] | attrs | Attributes within the currently opened element |
ProcessError | If something fails |
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.
|
inlineinherited |
Definition at line 220 of file GenericSAXHandler.h.
References GenericSAXHandler::myCollectCharacterData.
Referenced by NIImporter_ITSUMO::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myCharacters().
|
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.
[in] | veh | The entering vehicle. |
[in] | reason | how the vehicle enters the lane |
Reimplemented from MSMoveReminder.
Definition at line 390 of file MSTriggeredRerouter.cpp.
References myAmOptional, and triggerRouting().
Referenced by GUIEdge::addRerouter().
|
inlinevirtualinherited |
Computes idling emission values and adds them to the emission sums.
Idling implied by zero velocity, acceleration and slope
[in] | veh | The vehicle |
Reimplemented in MSDevice_Emissions, MSDevice_Tripinfo, MSMeanData_Emissions::MSLaneMeanDataValues, and MSDevice_StationFinder.
Definition at line 183 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
virtual |
Removes the reminder.
[in] | veh | The leaving vehicle. |
[in] | lastPos | Position on the lane when leaving. |
[in] | isArrival | whether the vehicle arrived at its destination |
[in] | isLaneChange | whether the vehicle changed from the lane |
Reimplemented from MSMoveReminder.
Definition at line 406 of file MSTriggeredRerouter.cpp.
References MSMoveReminder::NOTIFICATION_LANE_CHANGE.
|
inlinevirtualinherited |
Called if the vehicle's back leaves the reminder's lane.
Informs if vehicle back leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.
[in] | veh | The leaving vehicle. |
[in] | reason | how the vehicle leaves the lane |
[in] | leftLane | The lane that the vehicle's back left |
Reimplemented in MSDriveWay.
Definition at line 228 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
virtual |
Triggers rerouting (once) for vehicles that are already on the edge when the rerouter activates.
[in] | veh | Vehicle that asks this reminder. |
[in] | oldPos | Position before move. |
[in] | newPos | Position after move with newSpeed. |
[in] | newSpeed | Moving speed. |
Reimplemented from MSMoveReminder.
Definition at line 399 of file MSTriggeredRerouter.cpp.
References MSMoveReminder::NOTIFICATION_JUNCTION, and triggerRouting().
|
inlinevirtualinherited |
Internal notification about the vehicle moves.
Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from its reminder-container.
[in] | veh | Vehicle that asks this reminder. |
[in] | frontOnLane | time the front of the vehicle spent on the lane. |
[in] | timeOnLane | time some part of the vehicle spent on the lane. |
[in] | meanSpeedFrontOnLane | Average speed for the time that the front is on the lane. |
[in] | meanSpeedVehicleOnLane | Average speed for the time that the vehicle is on the lane (with front or back). |
[in] | travelledDistanceFrontOnLane | distance travelled while overlapping with the lane. |
[in] | travelledDistanceVehicleOnLane | distance travelled while front was on the lane. |
[in] | meanLengthOnLane | the average length of the vehicle's part on the lane during the last step (==complete length in meso case) |
Reimplemented in MSDevice_ElecHybrid, MSDevice_Emissions, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSMeanData::MeanDataValueTracker, MSDevice_StationFinder, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.
Definition at line 258 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
Referenced by MSMoveReminder::updateDetector().
|
inlinevirtualinherited |
called to update state for parking vehicles
Reimplemented in MSDevice_Battery.
Definition at line 189 of file MSMoveReminder.h.
|
inlinevirtualinherited |
called to update state for stopped vehicles
Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.
Definition at line 192 of file MSMoveReminder.h.
|
private |
Invalidated assignment operator.
|
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().
|
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().
|
virtual |
store the blocked ParkingArea in the vehicle
Implements MSStoppingPlaceRerouter.
Definition at line 712 of file MSTriggeredRerouter.cpp.
References SUMOVehicle::rememberBlockedParkingArea().
|
virtual |
store the score of the ParkingArea in the vehicle
Implements MSStoppingPlaceRerouter.
Definition at line 718 of file MSTriggeredRerouter.cpp.
References SUMOVehicle::rememberParkingAreaScore().
|
protectedinherited |
Definition at line 89 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), and MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::updateDetector().
|
inherited |
main method to trigger the rerouting to the "best" StoppingPlace according to the custom evaluation function
[in] | veh | the concerned vehicle |
[in] | stoppingPlaceCandidates | stopping places to choose from and whether they are visible for the vehicle |
[in] | probs | probabilities of all candidate stopping places |
[in] | newDestination | whether the destination changed |
[out] | newRoute | the route to/from the chosen stopping place is stored here |
[in,out] | scores | input score values from external source and get scores of all components of the "best" StoppingPlace |
[in] | closedEdges | edges to avoid during routing |
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().
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().
|
virtual |
reset all stored ParkingArea scores for this vehicle
Implements MSStoppingPlaceRerouter.
Definition at line 724 of file MSTriggeredRerouter.cpp.
References SUMOVehicle::resetParkingAreaScores().
|
inlineinherited |
Definition at line 213 of file GenericSAXHandler.h.
References GenericSAXHandler::myNextSectionStart.
Referenced by SUMOSAXReader::parseSection().
|
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().
|
inlineinherited |
Definition at line 209 of file GenericSAXHandler.h.
References GenericSAXHandler::mySectionEnded.
Referenced by SUMOSAXReader::parseSection().
|
inlineinherited |
Definition at line 276 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().
|
inherited |
Sets the current file name.
[in] | name | The name of the currently processed file |
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().
|
inlinevirtualinherited |
resets the id
[in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.
Definition at line 82 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), NBNodeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
virtual |
update the number of reroutes for the vehicle
Implements MSStoppingPlaceRerouter.
Definition at line 742 of file MSTriggeredRerouter.cpp.
References SUMOVehicle::setNumberParkingReroutes().
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().
|
inlineinherited |
Definition at line 202 of file GenericSAXHandler.h.
References GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, and GenericSAXHandler::mySectionSeen.
Referenced by SUMOSAXReader::parseSection().
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().
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().
|
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.
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.
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().
|
inherited |
Definition at line 47 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MEVehicle::updateDetectorForWriting().
|
staticinherited |
keep track of the maximum values of each component
[in] | stoppingPlaceValues | the target function component values of a vehicle |
[in,out] | maxValues | stores the maximum values of the given stoppingPlaceValues and previously given maxValues |
Definition at line 576 of file MSStoppingPlaceRerouter.cpp.
Referenced by MSStoppingPlaceRerouter::evaluateDestination().
|
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().
|
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().
|
inherited |
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
[in] | exception | The occurred exception to process |
Definition at line 218 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.
Definition at line 64 of file MSTriggeredRerouter.h.
|
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().
|
protected |
Information whether the rerouting will only take place on request.
Definition at line 281 of file MSTriggeredRerouter.h.
Referenced by notifyEnter().
|
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().
|
protectedinherited |
Definition at line 287 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::evaluateDestination(), and MSDevice_StationFinder::findChargingStation().
|
privateinherited |
whether the reader should collect character data
Definition at line 339 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::characters(), and GenericSAXHandler::needsCharacterData().
|
protectedinherited |
Definition at line 288 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::reroute().
|
protectedinherited |
a description of this moveReminder
Definition at line 297 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
protected |
edges where vehicles are notified
Definition at line 269 of file MSTriggeredRerouter.h.
Referenced by setPermissions().
|
protectedinherited |
Definition at line 289 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::collectWeights(), and MSStoppingPlaceRerouter::MSStoppingPlaceRerouter().
|
privateinherited |
The root element to expect, empty string disables the check.
Definition at line 336 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
privateinherited |
The name of the currently parsed file.
Definition at line 333 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::getFileName(), and GenericSAXHandler::setFileName().
|
protected |
whether this rerouter has loaded parkingReroute definitions
Definition at line 296 of file MSTriggeredRerouter.h.
Referenced by isParkingRerouter(), and myStartElement().
|
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().
|
staticprotected |
Definition at line 302 of file MSTriggeredRerouter.h.
Referenced by checkParkingRerouteConsistency(), getInstances(), MSTriggeredRerouter(), and ~MSTriggeredRerouter().
|
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().
|
protectedinherited |
Definition at line 291 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::MSStoppingPlaceRerouter(), and MSStoppingPlaceRerouter::reroute().
|
protectedinherited |
Lane on which the reminder works.
Definition at line 295 of file MSMoveReminder.h.
Referenced by MSDriveWay::buildRoute(), MSDriveWay::buildSubFoe(), MSE2Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSE2Collector::getEstimatedCurrentVehicleNumber(), MSMoveReminder::getLane(), MSMoveReminder::MSMoveReminder(), MSE2Collector::notifyEnter(), MSDriveWay::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyLeave(), and MSE2Collector::notifyMove().
|
privateinherited |
Definition at line 305 of file MSMoveReminder.h.
Referenced by MSMoveReminder::removeFromVehicleUpdateValues(), and MSMoveReminder::updateDetector().
|
privateinherited |
Definition at line 356 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::retrieveNextSectionStart(), GenericSAXHandler::startElement(), and GenericSAXHandler::~GenericSAXHandler().
|
protectedinherited |
Definition at line 290 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::MSStoppingPlaceRerouter(), and MSStoppingPlaceRerouter::reroute().
|
protectedinherited |
Definition at line 286 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::evaluateDestination(), and MSStoppingPlaceRerouter::getWeight().
|
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().
|
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().
|
protected |
used during loading
Definition at line 293 of file MSTriggeredRerouter.h.
Referenced by myEndElement(), and myStartElement().
|
protected |
Where are we located in the network.
Definition at line 284 of file MSTriggeredRerouter.h.
Referenced by getPosition().
|
privateinherited |
Definition at line 306 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), GenericSAXHandler::startElement(), and GenericSAXHandler::~GenericSAXHandler().
|
privateinherited |
the map from ids to their string representation
Definition at line 309 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), and GenericSAXHandler::startElement().
|
protected |
The probability and the user-given probability.
Definition at line 275 of file MSTriggeredRerouter.h.
Referenced by getProbability(), and triggerRouting().
|
privateinherited |
whether the reader has already seen the root element
Definition at line 342 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
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().
|
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().
|
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().
|
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().
|
staticprotected |
special destination values
Definition at line 299 of file MSTriggeredRerouter.h.
Referenced by GUIEdge::addRerouter(), myStartElement(), and triggerRouting().
|
staticprotected |
Definition at line 300 of file MSTriggeredRerouter.h.
Referenced by myStartElement(), and triggerRouting().
|
protectedinherited |
Definition at line 285 of file MSStoppingPlaceRerouter.h.
Referenced by MSStoppingPlaceRerouter::reroute().
|
privateinherited |
Definition at line 320 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::convertTag(), and GenericSAXHandler::GenericSAXHandler().
|
protected |
Definition at line 287 of file MSTriggeredRerouter.h.
Referenced by triggerRouting().
|
protected |
Definition at line 275 of file MSTriggeredRerouter.h.
Referenced by getProbability(), getUserProbability(), setUserUsageProbability(), and triggerRouting().
|
protected |
The vehicle types to look for (empty means all)
Definition at line 290 of file MSTriggeredRerouter.h.
Referenced by applies(), and MSTriggeredRerouter().