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

Calibrates the flow on a segment to a specified one. More...

#include <MSCalibrator.h>

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

Data Structures

struct  AspiredState
class  CalibratorCommand
class  VehicleRemover

Public Types

typedef std::map< std::string, std::string > Map
 parameters map
enum class  ObjectTypeEnum { PERSON , CONTAINER , UNDEFINED }
 enum for object type More...
enum  StopPos { STOPPOS_VALID , STOPPOS_INVALID_STARTPOS , STOPPOS_INVALID_ENDPOS , STOPPOS_INVALID_LANELENGTH }
 enum for stops More...

Public Member Functions

void addTo (const StoringVisitor &cont) const
 Adds this object to the given container.
void characters (const XMLCh *const chars, const XERCES3_SIZE_t length)
 The inherited method called when characters occurred.
void clearParameter ()
 Clears the parameter map.
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
 The inherited method called when a tag is being closed.
virtual SUMOTime execute (SUMOTime currentTime)
AspiredState getCurrentStateInterval () const
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double.
const MSEdgegetEdge () const
const std::string & getFileName () const
 returns the current file name
SUMOTime getFirstDepart () const
 returns the first departure time that was ever read
const std::string & getID () const
 Returns the id.
int getInserted () const
const MSLanegetLane () const
SUMOTime getLastDepart () const
 Returns the last loaded depart time.
virtual const std::string getParameter (const std::string &key, const std::string defaultValue="") const
 Returns the value for a given key.
const Parameterised::MapgetParametersMap () const
 Returns the inner key/value map.
std::string getParametersStr (const std::string kvsep="=", const std::string sep="|") const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
int getRemoved () const
const MSRouteProbegetRouteProbe () const
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set.
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map.
 MSCalibrator (const std::string &id, MSEdge *const edge, MSLane *const lane, MSJunction *const node, const double pos, const std::string &aXMLFilename, const std::string &outputFilename, const SUMOTime freq, const double length, const MSRouteProbe *probe, const double invalidJamThreshold, const std::string &vTypes, const bool local, const bool addLaneMeanData)
void parseGeoEdges (const PositionVector &positions, bool geo, SUMOVehicleClass vClass, std::vector< const MSEdge * > &into, const std::string &rid, bool isFrom, bool &ok, bool forceEdge=false)
virtual int passed () const
void registerParent (const int tag, GenericSAXHandler *handler)
 Assigning a parent handler which is enabled when the specified tag is closed.
void setFileName (const std::string &name)
 Sets the current file name.
void setFlow (SUMOTime begin, SUMOTime end, double vehsPerHour, double speed, SUMOVehicleParameter vehicleParameter)
virtual void setID (const std::string &newID)
 resets the id
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter.
void setParameters (const Parameterised &params)
 set the given key/value map in map<string, string> format
void setParameters (const std::vector< std::pair< std::string, std::string > > &params)
 set the given key/value vector in map<string, string> format
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
virtual SUMOTime shiftTime (SUMOTime, SUMOTime, SUMOTime)
 Reschedule or deschedule the command when quick-loading state.
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.
void unsetParameter (const std::string &key)
 Removes a parameter.
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map.
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice
void writeXMLDetectorProlog (OutputDevice &dev) const
 Open the XML-output.
void writeXMLOutput (OutputDevice &dev, SUMOTime startTime, SUMOTime stopTime)
 Write the generated output to the given device.
virtual ~MSCalibrator ()

Static Public Member Functions

static bool areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
static bool areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
static StopPos checkStopPos (double &startPos, double &endPos, const double laneLength, const double minLength, const bool friendlyPos)
 check start and end position of a stop
static void cleanup ()
 cleanup remaining data structures
template<class T>
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null
static const std::map< std::string, MSCalibrator * > & getInstances ()
 return all calibrator instances
static SumoRNGgetParsingRNG ()
 get parsing RNG
static bool isStopPosValid (const double startPos, const double endPos, const double laneLength, const double minLength, const bool friendlyPos)
 check if start and end position of a stop is valid

Data Fields

int priority = 0

Protected Member Functions

const MSLanegetClosestLane (const Position &pos, SUMOVehicleClass vClass, double distance=-1.)
 find closest lane within distance for the given position or nullptr
const MSEdgegetJunctionTaz (const Position &pos, const MSEdge *closestEdge, SUMOVehicleClass vClass, bool isFrom)
 find closest junction taz given the closest edge
const MSEdgegetTaz (const Position &pos, const MSEdge *closestEdge, bool isFrom)
 find closest junction taz given the closest edge

Protected Attributes

std::string myID
 The name of the object.
bool myMapMatchTAZ

Private Member Functions

NamedRTreegetLaneTree ()
 initialize lane-RTree

Static Private Member Functions

static bool isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep)
 check if given string can be parsed to a parameter of type "key=value"

Private Attributes

MsgHandlermyErrorOutput
NamedRTreemyLaneTree
 RTree for finding lanes.
Parameterised::Map myMap
 The key->value map.
double myMapMatchingDistance
bool myMapMatchJunctions

inherited from GenericSAXHandler

class GUICalibrator
MSEdge *const myEdge
 the edge on which this calibrator lies
MSLane *const myLane
 the lane on which this calibrator lies (nullptr if the whole edge is covered at once)
MSJunction *const myNode
 the junction on which this calibrator lies (nullptr if is edge or lane specific)
const double myPos
 the position on the edge where this calibrator lies
const MSRouteProbe *const myProbe
 the route probe to retrieve routes from
MSMeanData_Net myMeanDataParent
 dummy parent to retrieve vType filter
std::vector< MSMeanData_Net::MSLaneMeanDataValues * > myLaneMeanData
 data collector for the calibrator
MSMeanData_Net::MSLaneMeanDataValues myEdgeMeanData
 accumlated data for the whole edge
std::vector< AspiredStatemyIntervals
 List of adaptation intervals.
std::vector< AspiredState >::const_iterator myCurrentStateInterval
 Iterator pointing to the current interval.
std::vector< VehicleRemover * > myVehicleRemovers
std::set< std::string > myToRemove
 set of vehicle ids to remove
OutputDevicemyOutput
 The device for xml statistics.
SUMOTime myFrequency
 The frequeny with which to check for calibration.
int myRemoved
 The number of vehicles that were removed in the current interval.
int myInserted
 The number of vehicles that were inserted in the current interval.
int myClearedInJam
 The number of vehicles that were removed when clearin a jam.
bool mySpeedIsDefault
 The information whether the speed adaption has been reset.
bool myDidSpeedAdaption
 The information whether speed was adapted in the current interval.
bool myDidInit
 The information whether init was called.
double myDefaultSpeed
 The default (maximum) speed on the segment.
bool myHaveWarnedAboutClearingJam
 The default (maximum) speed on the segment.
bool myAmActive
 whether the calibrator was active when last checking
double myInvalidJamThreshold
 relative speed threshold for detecting and clearing invalid jam
bool myAmLocal
 whether the calibrator needs to undo the calibration after the edge / junction has been left
bool myHaveInvalidJam
 whether the calibrator has registered an invalid jam in the last execution step
static std::vector< MSMoveReminder * > myLeftoverReminders
static std::vector< SUMOVehicleParameter * > myLeftoverVehicleParameters
static std::map< std::string, MSCalibrator * > myInstances
virtual void myStartElement (int element, const SUMOSAXAttributes &attrs)
 Called on the opening of a tag;.
virtual void myEndElement (int element)
 Called on the closing of a tag;.
bool isActive () const
void intervalEnd ()
bool isCurrentStateActive (SUMOTime time)
bool tryEmit (MSLane *lane, MSVehicle *vehicle)
void init ()
int totalWished () const
 number of vehicles expected to pass this interval
double currentFlow () const
 flow in the current interval in veh/h
double currentSpeed () const
 measured speed in the current interval
bool invalidJam (int laneIndex) const
int inserted () const
int removed () const
int clearedInJam () const
int remainingVehicleCapacity (int laneIndex) const
virtual void reset ()
 reset collected vehicle data
virtual void updateMeanData ()
 aggregate lane values
bool scheduleRemoval (SUMOTrafficObject *veh)
 try to schedule the given vehicle for removal. return true if it isn't already scheduled
bool removePending ()
 remove any vehicles which are scheduled for removal. return true if removals took place
std::string getNewVehicleID ()
 determine id of new vehicle from calibrator state

inherited from GenericSAXHandler

ConstMSEdgeVector myActiveRoute
 The current route.
int myActiveRouteRepeat
 number of repetitions of the active route
SUMOTime myActiveRoutePeriod
bool myActiveRoutePermanent
 whether the active route is stored indefinitely (used by state loader)
SUMOTime myActiveRouteReplacedAtTime
 The time at which this route was replaced (from vehroute-output).
int myActiveRouteReplacedIndex
 The index at which this route was replaced (from vehroute-output).
ObjectTypeEnum myActiveType
 The type of the current object.
std::string myActiveTypeName
 The name of the current object type.
bool myHaveVia
 Wether an object with 'via'-attribute is being parsed.
MSTransportable::MSTransportablePlanmyActiveTransportablePlan
 The plan of the current transportable (person or container).
bool myAddVehiclesDirectly
 Information whether vehicles shall be directly added to the network or kept within the buffer.
RandomDistributor< MSVehicleType * > * myCurrentVTypeDistribution
 The currently parsed distribution of vehicle types (probability->vehicle type).
std::string myCurrentVTypeDistributionID
 The id of the currently parsed vehicle type distribution.
RandomDistributor< ConstMSRoutePtr > * myCurrentRouteDistribution
 The currently parsed distribution of routes (probability->route).
std::string myCurrentRouteDistributionID
 The id of the currently parsed route distribution.
bool myAmLoadingState
 whether a state file is being loaded
std::string myScaleSuffix
 prefix when copying vehicles with –scale
bool myReplayRerouting
 whether loaded rerouting events shall be replayed
bool myStartTriggeredInFlow
 whether we are loading a personFlow that is starting triggered in a vehicle flow
static SumoRNG myParsingRNG
 A random number generator used to choose from vtype/route distributions and computing the speed factors.
void parseFromViaTo (SumoXMLTag tag, const SUMOSAXAttributes &attrs)
 Called for parsing from and to and the corresponding taz attributes.
void openVehicleTypeDistribution (const SUMOSAXAttributes &attrs) override
 opens a type distribution for reading
void closeVehicleTypeDistribution () override
 closes (ends) the building of a distribution
void openRoute (const SUMOSAXAttributes &attrs) override
 opens a route for reading
void openFlow (const SUMOSAXAttributes &attrs) override
 opens a flow for reading
void openRouteFlow (const SUMOSAXAttributes &attrs) override
 opens a route flow for reading
void openTrip (const SUMOSAXAttributes &attrs) override
 opens a trip for reading
void closeRoute (const bool mayBeDisconnected=false) override
 closes (ends) the building of a route.
void openRouteDistribution (const SUMOSAXAttributes &attrs) override
 opens a route distribution for reading
void closeRouteDistribution () override
 closes (ends) the building of a distribution
virtual void closeVehicle () override
 Ends the processing of a vehicle (note: is virtual because is reimplemented in MSStateHandler).
void closeVType () override
 Ends the processing of a vehicle type.
void closePerson () override
 Ends the processing of a person.
void closePersonFlow () override
 Ends the processing of a personFlow.
void closeContainer () override
 Ends the processing of a container.
void closeContainerFlow () override
 Ends the processing of a containerFlow.
void closeFlow () override
 Ends the processing of a flow.
void closeTrip () override
 Ends the processing of a trip.
MSStoppingPlaceretrieveStoppingPlace (const SUMOSAXAttributes &attrs, const std::string &errorSuffix, SUMOVehicleParameter::Stop *stopParam=nullptr)
 Parse destination stop.
ParameterisedaddStop (const SUMOSAXAttributes &attrs) override
 Processing of a stop.
void addPersonTrip (const SUMOSAXAttributes &attrs) override
 add a routing request for a walking or intermodal person
void addWalk (const SUMOSAXAttributes &attrs) override
 add a fully specified walk
void addTransportable (const SUMOSAXAttributes &attrs, const bool isPerson) override
 Processing of a person.
void addRide (const SUMOSAXAttributes &attrs) override
 Processing of a ride.
void addTranship (const SUMOSAXAttributes &attrs) override
 Processing of a tranship.
void addTransport (const SUMOSAXAttributes &attrs) override
 Processing of a transport.
void parseWalkPositions (const SUMOSAXAttributes &attrs, const std::string &personID, const MSEdge *fromEdge, const MSEdge *&toEdge, double &departPos, double &arrivalPos, MSStoppingPlace *&bs, const MSStage *const lastStage, bool &ok)
 @ brief parse depart- and arrival positions of a walk
void initLaneTree (NamedRTree *tree) override
MSEdgeretrieveEdge (const std::string &id) override
SumoRNGgetRNG () override
void deleteActivePlanAndVehicleParameter ()
 delete already created MSTransportablePlans if error occurs before handing over responsibility to a MSTransportable.
void resetActivePlanAndVehicleParameter ()
 reset MSTransportablePlans after transportable tag closes
void closeTransportableFlow ()
 ends the flow of a transportable
void closeTransportable ()
 ends the processing of a transportable (as person or container)
int addFlowTransportable (SUMOTime depart, MSVehicleType *type, const std::string &baseID, int i)
 delete already created MSTransportablePlans if error occurs before handing over responsibility to a MSTransportable.
double interpretDepartPosLat (const std::string &value, int departLane, const std::string &element)
ConstMSRoutePtr addVehicleStopsToImplicitRoute (ConstMSRoutePtr route, bool isPermanent)
 adapt implicit route (edges derived from stops) to additional vehicle-stops
void addRideOrTransport (const SUMOSAXAttributes &attrs, const SumoXMLTag modeTag)
 Processing of a transport.

add element functions

const bool myHardFail
 flag to enable or disable hard fails
SUMOVehicleParametermyVehicleParameter
 Parameter of the current vehicle, trip, person, container or flow.
std::vector< Parameterised * > myParamStack
 The stack of currently parsed parameterised objects.
SUMOTime myLastDepart
 The insertion time of the vehicle read last.
std::string myActiveRouteID
 The id of the current route.
std::string myActiveRouteRefID
 The id of the route the current route references to.
double myActiveRouteProbability
 The probability of the current route.
const RGBColormyActiveRouteColor
 The currently parsed route's color.
double myCurrentCosts
 The currently parsed route costs.
StopParVector myActiveRouteStops
 List of the stops on the parsed route.
SUMOVTypeParametermyCurrentVType
 The currently parsed vehicle type.
SUMOTime myBeginDefault
 The default value for flow begins.
SUMOTime myEndDefault
 The default value for flow ends.
SUMOTime myFirstDepart
 the first read departure time
int myInsertStopEdgesAt
 where stop edges can be inserted into the current route (-1 means no insertion)
std::vector< int > myElementStack
 hierarchy of elements being parsed
bool myAllowInternalRoutes
 whether references to internal routes are allowed in this context
std::set< std::string > mySkippedVehicles
 IDs of skipped vehicles to suppress errors for the triggered transportables within.
virtual bool checkLastDepart ()
 Checks whether the route file is sorted by departure time if needed.
void registerLastDepart ()
 save last depart (only to be used if vehicle is not discarded)
void addParam (const SUMOSAXAttributes &attrs)
 assign arbitrary vehicle parameters
bool parseStop (SUMOVehicleParameter::Stop &stop, const SUMOSAXAttributes &attrs, std::string errorSuffix, MsgHandler *const errorOutput)
 parses attributes common to all stops

Virtual methods to implement by derived classes

std::set< std::string > myVehicleTypes
 The vehicle types to look for (empty means all).
std::vector< const MSEdge * > myNextEdges
 The upcoming edges to filter by (empty means no filtering).
const int myDetectPersons
 Whether pedestrians shall be detected instead of vehicles.
virtual void detectorUpdate (const SUMOTime step)
 Updates the detector (computes values).
virtual GUIDetectorWrapperbuildDetectorGUIRepresentation ()
 Builds the graphical representation.
bool vehicleApplies (const SUMOTrafficObject &veh) const
 Checks whether the detector measures vehicles of the given type.
bool personApplies (const MSTransportable &p, int dir) const
bool isTyped () const
 Checks whether the detector is type specific.
const std::set< std::string > & getVehicleTypes () const
bool detectsPersons () const
virtual void clearState (SUMOTime)
 Remove all vehicles before quick-loading state.

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

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

elements parsing

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

Detailed Description

Calibrates the flow on a segment to a specified one.

Definition at line 47 of file MSCalibrator.h.

Member Typedef Documentation

◆ AttrMap

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

Definition at line 303 of file GenericSAXHandler.h.

◆ Map

typedef std::map<std::string, std::string> Parameterised::Map
inherited

parameters map

Definition at line 45 of file Parameterised.h.

◆ TagMap

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

Definition at line 317 of file GenericSAXHandler.h.

Member Enumeration Documentation

◆ ObjectTypeEnum

enum class MSRouteHandler::ObjectTypeEnum
stronginherited

enum for object type

Enumerator
PERSON 
CONTAINER 
UNDEFINED 

Definition at line 56 of file MSRouteHandler.h.

◆ StopPos

enum SUMORouteHandler::StopPos
inherited

enum for stops

Enumerator
STOPPOS_VALID 
STOPPOS_INVALID_STARTPOS 
STOPPOS_INVALID_ENDPOS 
STOPPOS_INVALID_LANELENGTH 

Definition at line 51 of file SUMORouteHandler.h.

Constructor & Destructor Documentation

◆ MSCalibrator()

MSCalibrator::MSCalibrator ( const std::string & id,
MSEdge *const edge,
MSLane *const lane,
MSJunction *const node,
const double pos,
const std::string & aXMLFilename,
const std::string & outputFilename,
const SUMOTime freq,
const double length,
const MSRouteProbe * probe,
const double invalidJamThreshold,
const std::string & vTypes,
const bool local,
const bool addLaneMeanData )

◆ ~MSCalibrator()

MSCalibrator::~MSCalibrator ( )
virtual

Member Function Documentation

◆ addFlowTransportable()

int MSRouteHandler::addFlowTransportable ( SUMOTime depart,
MSVehicleType * type,
const std::string & baseID,
int i )
privateinherited

◆ addParam()

void SUMORouteHandler::addParam ( const SUMOSAXAttributes & attrs)
protectedinherited

assign arbitrary vehicle parameters

Definition at line 376 of file SUMORouteHandler.cpp.

References FileHelpers::checkForRelativity(), SUMOSAXAttributes::get(), GenericSAXHandler::getFileName(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), myCurrentVType, myParamStack, myVehicleParameter, SUMO_ATTR_KEY, and SUMO_ATTR_VALUE.

Referenced by myStartElement().

Here is the caller graph for this function:

◆ addPersonTrip()

void MSRouteHandler::addPersonTrip ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

◆ addRide()

void MSRouteHandler::addRide ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

Processing of a ride.

Implements SUMORouteHandler.

Definition at line 1084 of file MSRouteHandler.cpp.

References addRideOrTransport(), and SUMO_TAG_RIDE.

◆ addRideOrTransport()

void MSRouteHandler::addRideOrTransport ( const SUMOSAXAttributes & attrs,
const SumoXMLTag modeTag )
privateinherited

Processing of a transport.

Definition at line 1094 of file MSRouteHandler.cpp.

References CONTAINER, deleteActivePlanAndVehicleParameter(), DELTA_T, SUMOVehicleParameter::depart, SUMOVehicleParameter::departProcedure, MSEdge::dictionary(), MSRoute::dictionary(), StringTokenizer::front(), SUMOSAXAttributes::get(), MSEdge::getAllEdges(), MSLane::getEdge(), MSRoute::getEdges(), MSStoppingPlace::getEndLanePosition(), MSInsertionControl::getFlowPars(), MSEdge::getFromJunction(), Named::getID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSEdge::getLength(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOTrafficObject::getParameter(), SUMOVehicle::getRoute(), StringTokenizer::getVector(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::interpretEdgePos(), LINE_ANY, myActiveTransportablePlan, myActiveType, SUMORouteHandler::myParamStack, SUMORouteHandler::mySkippedVehicles, myStartTriggeredInFlow, SUMORouteHandler::myVehicleParameter, PERSON, retrieveStoppingPlace(), SUMOVehicleParameter::routeid, StringTokenizer::size(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPART, SUMO_ATTR_FROM, SUMO_ATTR_GROUP, SUMO_ATTR_INTENDED, SUMO_ATTR_LINES, SUMO_ATTR_TO, SUMO_TAG_RIDE, SUMO_TAG_TRANSPORT, TLF, toString(), and TRIGGERED.

Referenced by addRide(), and addTransport().

Here is the caller graph for this function:

◆ addStop()

Parameterised * MSRouteHandler::addStop ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

Processing of a stop.

Implements SUMORouteHandler.

Definition at line 1269 of file MSRouteHandler.cpp.

References MSStage::ARRIVALPOS_UNSPECIFIED, SUMOVehicleParameter::Stop::chargingStation, SUMORouteHandler::checkStopPos(), CONTAINER, deleteActivePlanAndVehicleParameter(), MSEdge::dictionary(), MSLane::dictionary(), SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, MSGlobals::gCheckRoutes, SUMOSAXAttributes::get(), MSStoppingPlace::getBeginLanePosition(), MSLane::getEdge(), MSStoppingPlace::getEndLanePosition(), MsgHandler::getErrorInstance(), GeoConvHelper::getFinal(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSEdge::getLanes(), MSEdge::getLength(), MSEdge::getNormalBefore(), MSEdge::getNormalSuccessor(), SUMOSAXAttributes::getOpt(), MSVehicleType::getParameter(), MSChargingStation::getParkingArea(), MSNet::getStoppingPlace(), MSNet::getVehicleControl(), MSGlobals::gUsingInternalLanes, SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::interpretEdgePos(), MSBaseVehicle::interpretOppositeStop(), MSEdge::isInternal(), MSLane::isInternal(), SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::lane, MAX2(), MIN_STOP_LENGTH, myActiveRoute, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteStops, myActiveTransportablePlan, myActiveType, myActiveTypeName, myAmLoadingState, myHaveVia, SUMORouteHandler::myInsertStopEdgesAt, myParsingRNG, SUMORouteHandler::myVehicleParameter, OFFROAD, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, MapMatcher< MSEdge, MSLane, MSJunction >::parseGeoEdges(), SUMORouteHandler::parseStop(), PERSON, retrieveStoppingPlace(), SUMOVehicleParameter::Stop::startPos, STOP_END_SET, SUMORouteHandler::STOPPOS_VALID, SUMO_ATTR_ACTTYPE, SUMO_ATTR_EDGE, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_LAT, SUMO_ATTR_LON, SUMO_ATTR_POSITION, SUMO_ATTR_STARTPOS, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_CHARGING_STATION, SVC_PASSENGER, TL, TLF, toString(), SUMOVehicleParameter::Stop::until, SUMOVTypeParameter::vehicleClass, VEHPARS_DEPARTPOS_SET, WAITING, WRITE_WARNING, WRITE_WARNINGF, and GeoConvHelper::x2cartesian_const().

◆ addTo()

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

Adds this object to the given container.

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

Definition at line 118 of file Named.h.

References Named::StoringVisitor::add().

◆ addTranship()

◆ addTransport()

void MSRouteHandler::addTransport ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

Processing of a transport.

Implements SUMORouteHandler.

Definition at line 1089 of file MSRouteHandler.cpp.

References addRideOrTransport(), and SUMO_TAG_TRANSPORT.

◆ addTransportable()

void MSRouteHandler::addTransportable ( const SUMOSAXAttributes & attrs,
const bool isPerson )
overrideprotectedvirtualinherited

Processing of a person.

Reimplemented from SUMORouteHandler.

Definition at line 1738 of file MSRouteHandler.cpp.

References CONTAINER, deleteActivePlanAndVehicleParameter(), GenericSAXHandler::error(), MSNet::getInstance(), myActiveTransportablePlan, myActiveType, myActiveTypeName, SUMORouteHandler::myVehicleParameter, PERSON, and TLF.

Referenced by myStartElement().

Here is the caller graph for this function:

◆ addVehicleStopsToImplicitRoute()

ConstMSRoutePtr MSRouteHandler::addVehicleStopsToImplicitRoute ( ConstMSRoutePtr route,
bool isPermanent )
privateinherited

adapt implicit route (edges derived from stops) to additional vehicle-stops

Definition at line 779 of file MSRouteHandler.cpp.

References MSEdge::dictionary(), MSRoute::dictionary(), SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::index, SUMORouteHandler::myVehicleParameter, STOP_INDEX_END, TL, VEHPARS_ROUTE_SET, and WRITE_WARNINGF.

Referenced by closeFlow(), and closeVehicle().

Here is the caller graph for this function:

◆ addWalk()

◆ areAttributesValid()

bool Parameterised::areAttributesValid ( const std::string & value,
bool report = false,
const std::string kvsep = "=",
const std::string sep = "|" )
staticinherited

check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)

Definition at line 207 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.

◆ areParametersValid()

bool Parameterised::areParametersValid ( const std::string & value,
bool report = false,
const std::string kvsep = "=",
const std::string sep = "|" )
staticinherited

check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"

Definition at line 188 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.

Referenced by GNEAttributeCarrier::isCommonAttributeValid(), and GNETLSEditorFrame::TLSAttributes::isValidParameters().

Here is the caller graph for this function:

◆ buildDetectorGUIRepresentation()

virtual GUIDetectorWrapper * MSDetectorFileOutput::buildDetectorGUIRepresentation ( )
inlinevirtualinherited

Builds the graphical representation.

Meant to be overridden by graphical versions of the detectors

Returns
A wrapper for the detector which performs the user I/O within the GUI

Reimplemented in GUIE2Collector, GUIE3Collector, GUIInductLoop, GUIInstantInductLoop, and GUIMEInductLoop.

Definition at line 119 of file MSDetectorFileOutput.h.

◆ buildErrorMessage()

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

Builds an error message.

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

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

Definition at line 205 of file GenericSAXHandler.cpp.

References getFileName(), and TL.

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

Here is the caller graph for this function:

◆ callParentEnd()

void GenericSAXHandler::callParentEnd ( int element)
protectedinherited

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

Definition at line 247 of file GenericSAXHandler.cpp.

References myParentHandler.

Referenced by MSCalibrator::myEndElement().

Here is the caller graph for this function:

◆ characters()

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

The inherited method called when characters occurred.

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

Todo

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

describe characters processing in the class' head

Definition at line 186 of file GenericSAXHandler.cpp.

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

◆ checkLastDepart()

bool SUMORouteHandler::checkLastDepart ( )
protectedvirtualinherited

Checks whether the route file is sorted by departure time if needed.

Reimplemented in RORouteHandler.

Definition at line 62 of file SUMORouteHandler.cpp.

References GIVEN, myLastDepart, myVehicleParameter, TL, and WRITE_WARNINGF.

Referenced by RORouteHandler::checkLastDepart(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), and MSRouteHandler::closeVehicle().

Here is the caller graph for this function:

◆ checkStopPos()

SUMORouteHandler::StopPos SUMORouteHandler::checkStopPos ( double & startPos,
double & endPos,
const double laneLength,
const double minLength,
const bool friendlyPos )
staticinherited

check start and end position of a stop

return

Definition at line 317 of file SUMORouteHandler.cpp.

References STOPPOS_INVALID_ENDPOS, STOPPOS_INVALID_LANELENGTH, STOPPOS_INVALID_STARTPOS, and STOPPOS_VALID.

Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), isStopPosValid(), RONetHandler::parseAccess(), and RONetHandler::parseStoppingPlace().

Here is the caller graph for this function:

◆ cleanup()

void MSCalibrator::cleanup ( )
static

cleanup remaining data structures

Definition at line 576 of file MSCalibrator.cpp.

References myInstances, myLeftoverReminders, and myLeftoverVehicleParameters.

Referenced by MSNet::clearAll().

Here is the caller graph for this function:

◆ clearedInJam()

int MSCalibrator::clearedInJam ( ) const
inlineprotected

Definition at line 268 of file MSCalibrator.h.

References myClearedInJam.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 118 of file Parameterised.cpp.

References myMap.

◆ clearState()

virtual void MSDetectorFileOutput::clearState ( SUMOTime )
inlinevirtualinherited

Remove all vehicles before quick-loading state.

Reimplemented in MSE2Collector, MSE3Collector, MSInductLoop, and MSRouteProbe.

Definition at line 151 of file MSDetectorFileOutput.h.

◆ closeContainer()

void MSRouteHandler::closeContainer ( )
overrideprotectedvirtualinherited

Ends the processing of a container.

Implements SUMORouteHandler.

Definition at line 853 of file MSRouteHandler.cpp.

References closeTransportable().

◆ closeContainerFlow()

void MSRouteHandler::closeContainerFlow ( )
overrideprotectedvirtualinherited

Ends the processing of a containerFlow.

Implements SUMORouteHandler.

Definition at line 865 of file MSRouteHandler.cpp.

References closeTransportableFlow().

◆ closeFlow()

◆ closePerson()

void MSRouteHandler::closePerson ( )
overrideprotectedvirtualinherited

Ends the processing of a person.

Implements SUMORouteHandler.

Definition at line 847 of file MSRouteHandler.cpp.

References closeTransportable().

◆ closePersonFlow()

void MSRouteHandler::closePersonFlow ( )
overrideprotectedvirtualinherited

Ends the processing of a personFlow.

Implements SUMORouteHandler.

Definition at line 859 of file MSRouteHandler.cpp.

References closeTransportableFlow().

◆ closeRoute()

void MSRouteHandler::closeRoute ( const bool mayBeDisconnected = false)
overrideprotectedvirtualinherited

◆ closeRouteDistribution()

void MSRouteHandler::closeRouteDistribution ( )
overrideprotectedvirtualinherited

◆ closeTransportable()

◆ closeTransportableFlow()

◆ closeTrip()

void MSRouteHandler::closeTrip ( )
overrideprotectedvirtualinherited

Ends the processing of a trip.

Implements SUMORouteHandler.

Definition at line 1077 of file MSRouteHandler.cpp.

References closeRoute(), closeVehicle(), SUMORouteHandler::myVehicleParameter, and VEHPARS_FORCE_REROUTE.

◆ closeVehicle()

void MSRouteHandler::closeVehicle ( )
overrideprotectedvirtualinherited

Ends the processing of a vehicle (note: is virtual because is reimplemented in MSStateHandler).

Implements SUMORouteHandler.

Reimplemented in MSStateHandler.

Definition at line 604 of file MSRouteHandler.cpp.

References MSInsertionControl::add(), MSEventControl::addEvent(), MSVehicleControl::addVehicle(), addVehicleStopsToImplicitRoute(), BEGIN, MSVehicleControl::buildVehicle(), SUMORouteHandler::checkLastDepart(), MSInsertionControl::computeRandomDepartOffset(), DEFAULT, DEFAULT_VTYPE_ID, deleteActivePlanAndVehicleParameter(), MSVehicleControl::deleteVehicle(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departProcedure, MSRoute::dictionary(), MSRoute::distDictionary(), MSGlobals::gCheckRoutes, MSNet::getBeginOfTimestepEvents(), MSNet::getEndOfTimestepEvents(), MSVehicleType::getID(), Named::getID(), MSNet::getInsertionControl(), MSNet::getInstance(), OptionsCont::getOptions(), MSVehicleType::getParameter(), SUMOTrafficObject::getParameter(), MSVehicleControl::getQuota(), MSVehicleControl::getScale(), RandomDistributor< T >::getVals(), MSVehicleControl::getVehicle(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), GIVEN, MSGlobals::gStateLoaded, MSVehicleControl::hasVTypeDistribution(), SUMOVehicleParameter::id, SUMORouteHandler::myActiveRouteID, myAddVehiclesDirectly, myAmLoadingState, myParsingRNG, myReplayRerouting, myScaleSuffix, SUMORouteHandler::mySkippedVehicles, SUMORouteHandler::myVehicleParameter, SUMORouteHandler::registerLastDepart(), MSVehicleControl::ROUTEFILE, SUMOVTypeParameter::scale, MSVehicleControl::STATE, string2time(), SVC_PEDESTRIAN, TL, TLF, toString(), VEHPARS_FORCE_REROUTE, VEHPARS_ROUTE_SET, WRITE_WARNING, and WRITE_WARNINGF.

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

Here is the caller graph for this function:

◆ closeVehicleTypeDistribution()

void MSRouteHandler::closeVehicleTypeDistribution ( )
overrideprotectedvirtualinherited

closes (ends) the building of a distribution

Implements SUMORouteHandler.

Definition at line 312 of file MSRouteHandler.cpp.

References MSNet::getInstance(), MSGlobals::gStateLoaded, myCurrentVTypeDistribution, myCurrentVTypeDistributionID, and TLF.

◆ closeVType()

void MSRouteHandler::closeVType ( )
overrideprotectedvirtualinherited

◆ convert()

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

converts from c++-string into unicode

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

Definition at line 86 of file GenericSAXHandler.cpp.

Referenced by GenericSAXHandler().

Here is the caller graph for this function:

◆ convertTag()

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

Converts a tag from its string into its numerical representation.

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

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

Definition at line 195 of file GenericSAXHandler.cpp.

References myTagMap, and SUMO_TAG_NOTHING.

Referenced by endElement(), and startElement().

Here is the caller graph for this function:

◆ currentFlow()

double MSCalibrator::currentFlow ( ) const
protected

flow in the current interval in veh/h

Definition at line 313 of file MSCalibrator.cpp.

References MSNet::getInstance(), myCurrentStateInterval, passed(), and STEPS2TIME.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ currentSpeed()

double MSCalibrator::currentSpeed ( ) const
protected

measured speed in the current interval

Definition at line 320 of file MSCalibrator.cpp.

References myEdgeMeanData.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ deleteActivePlanAndVehicleParameter()

void MSRouteHandler::deleteActivePlanAndVehicleParameter ( )
privateinherited

delete already created MSTransportablePlans if error occurs before handing over responsibility to a MSTransportable.

Definition at line 85 of file MSRouteHandler.cpp.

References myActiveTransportablePlan, SUMORouteHandler::myVehicleParameter, and resetActivePlanAndVehicleParameter().

Referenced by addFlowTransportable(), addPersonTrip(), addRideOrTransport(), addStop(), addTranship(), addTransportable(), addWalk(), closeRoute(), closeTransportable(), closeTransportableFlow(), closeVehicle(), myStartElement(), and parseWalkPositions().

Here is the caller graph for this function:

◆ detectorUpdate()

virtual void MSDetectorFileOutput::detectorUpdate ( const SUMOTime step)
inlinevirtualinherited

Updates the detector (computes values).

Parameters
[in]stepThe current time step

Reimplemented in MSE2Collector, MSE3Collector, MSInductLoop, MSMeanData, and MSMeanData_Harmonoise.

Definition at line 109 of file MSDetectorFileOutput.h.

References UNUSED_PARAMETER.

◆ detectsPersons()

bool MSDetectorFileOutput::detectsPersons ( ) const
inlineinherited

Definition at line 146 of file MSDetectorFileOutput.h.

References myDetectPersons.

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

Here is the caller graph for this function:

◆ endElement()

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

The inherited method called when a tag is being closed.

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

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

Todo

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 134 of file GenericSAXHandler.cpp.

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

◆ error()

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

Handler for XML-errors.

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

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

Definition at line 224 of file GenericSAXHandler.cpp.

References buildErrorMessage().

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

Here is the caller graph for this function:

◆ execute()

◆ fatalError()

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

Handler for XML-errors.

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

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

Definition at line 230 of file GenericSAXHandler.cpp.

References buildErrorMessage().

◆ getClosestLane()

const MSLane * MapMatcher< MSEdge, MSLane, MSJunction >::getClosestLane ( const Position & pos,
SUMOVehicleClass vClass,
double distance = -1. )
inlineprotectedinherited

find closest lane within distance for the given position or nullptr

Definition at line 110 of file MapMatcher.h.

References MapMatcher< E, L, N >::getLaneTree(), L, myMapMatchingDistance, and NamedRTree::Search().

Referenced by MSDevice_FCDReplay::FCDHandler::myStartElement().

Here is the caller graph for this function:

◆ getCurrentStateInterval()

MSCalibrator::AspiredState MSCalibrator::getCurrentStateInterval ( ) const

Definition at line 183 of file MSCalibrator.cpp.

References Named::getID(), myCurrentStateInterval, myIntervals, and TLF.

Referenced by libsumo::Helper::getCalibratorState().

Here is the caller graph for this function:

◆ getDouble()

◆ getEdge()

const MSEdge * MSCalibrator::getEdge ( ) const
inline

Definition at line 109 of file MSCalibrator.h.

References myEdge.

Referenced by GUICalibrator::GUICalibrator().

Here is the caller graph for this function:

◆ getFileName()

◆ getFirstDepart()

SUMOTime SUMORouteHandler::getFirstDepart ( ) const
inherited

returns the first departure time that was ever read

Definition at line 364 of file SUMORouteHandler.cpp.

References myFirstDepart.

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References myID.

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

◆ getIDSecure()

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

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

Definition at line 67 of file Named.h.

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

◆ getInserted()

int MSCalibrator::getInserted ( ) const
inline

Definition at line 130 of file MSCalibrator.h.

References myEdgeMeanData.

◆ getInstances()

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

return all calibrator instances

Definition at line 94 of file MSCalibrator.h.

References myInstances.

Referenced by libsumo::Helper::collectObjectsInRange(), LIBSUMO_NAMESPACE::Calibrator::getCalibrator(), and GUINet::initGUIStructures().

Here is the caller graph for this function:

◆ getJunctionTaz()

const MSEdge * MapMatcher< MSEdge, MSLane, MSJunction >::getJunctionTaz ( const Position & pos,
const MSEdge * closestEdge,
SUMOVehicleClass vClass,
bool isFrom )
inlineprotectedinherited

find closest junction taz given the closest edge

Definition at line 138 of file MapMatcher.h.

References JUNCTION_TAZ_MISSING_HELP, myErrorOutput, MapMatcher< E, L, N >::retrieveEdge(), and toString().

◆ getLane()

const MSLane * MSCalibrator::getLane ( ) const
inline

Definition at line 113 of file MSCalibrator.h.

References myLane.

Referenced by libsumo::Helper::findObjectShape().

Here is the caller graph for this function:

◆ getLaneTree()

NamedRTree * MapMatcher< MSEdge, MSLane, MSJunction >::getLaneTree ( )
inlineprivateinherited

initialize lane-RTree

Definition at line 221 of file MapMatcher.h.

References MapMatcher< E, L, N >::initLaneTree(), and myLaneTree.

◆ getLastDepart()

SUMOTime SUMORouteHandler::getLastDepart ( ) const
inherited

Returns the last loaded depart time.

Definition at line 370 of file SUMORouteHandler.cpp.

References myLastDepart.

◆ getNewVehicleID()

std::string MSCalibrator::getNewVehicleID ( )
protected

determine id of new vehicle from calibrator state

Definition at line 708 of file MSCalibrator.cpp.

References Named::getID(), myCurrentStateInterval, myInserted, STEPS2TIME, and toString().

Referenced by METriggeredCalibrator::execute(), and execute().

Here is the caller graph for this function:

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string & key,
const std::string defaultValue = "" ) const
virtualinherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 90 of file Parameterised.cpp.

References myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), NBEdgeCont::attachRemoved(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), EnergyParams::EnergyParams(), MSPModel_JuPedSim::execute(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIBusStop::finishedLoading(), MSStoppingPlace::finishedLoading(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), MSBaseVehicle::getPrefixedParameter(), GNETAZRelData::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSInsertionControl::hasTaxiDeviceType(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDispatch_Greedy::MSDispatch_Greedy(), MSDispatch_GreedyShared::MSDispatch_GreedyShared(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), NBEdge::updateRemovedNodes(), MSDevice_SSM::useGeoCoords(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

◆ getParametersMap()

const Parameterised::Map & Parameterised::getParametersMap ( ) const
inherited

◆ getParametersStr()

std::string Parameterised::getParametersStr ( const std::string kvsep = "=",
const std::string sep = "|" ) const
inherited

Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".

Definition at line 130 of file Parameterised.cpp.

References myMap.

Referenced by GNEAttributeCarrier::getCommonAttribute().

Here is the caller graph for this function:

◆ getParsingRNG()

SumoRNG * MSRouteHandler::getParsingRNG ( )
inlinestaticinherited

◆ getRemoved()

int MSCalibrator::getRemoved ( ) const
inline

Definition at line 134 of file MSCalibrator.h.

References myClearedInJam, and myRemoved.

◆ getRNG()

SumoRNG * MSRouteHandler::getRNG ( )
overrideprotectedvirtualinherited

Reimplemented from MapMatcher< MSEdge, MSLane, MSJunction >.

Definition at line 1856 of file MSRouteHandler.cpp.

References myParsingRNG.

◆ getRouteProbe()

const MSRouteProbe * MSCalibrator::getRouteProbe ( ) const
inline

Definition at line 117 of file MSCalibrator.h.

References myProbe.

◆ getTaz()

const MSEdge * MapMatcher< MSEdge, MSLane, MSJunction >::getTaz ( const Position & pos,
const MSEdge * closestEdge,
bool isFrom )
inlineprotectedinherited

find closest junction taz given the closest edge

Definition at line 179 of file MapMatcher.h.

References getRNG(), JUNCTION_TAZ_MISSING_HELP, myErrorOutput, RandHelper::rand(), and toString().

◆ getVehicleTypes()

const std::set< std::string > & MSDetectorFileOutput::getVehicleTypes ( ) const
inlineinherited

Definition at line 142 of file MSDetectorFileOutput.h.

References myVehicleTypes.

◆ hasParameter()

bool Parameterised::hasParameter ( const std::string & key) const
inherited

Returns whether the parameter is set.

Parameters
[in]keyThe key to ask for
Returns
Whether the key is known

Definition at line 84 of file Parameterised.cpp.

References myMap.

Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), GUIBusStop::finishedLoading(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GNETAZRelData::getScaleValue(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().

Here is the caller graph for this function:

◆ init()

void MSCalibrator::init ( )
protected

Definition at line 157 of file MSCalibrator.cpp.

References MSEventControl::addEvent(), MSNet::getEndOfTimestepEvents(), Named::getID(), MSNet::getInstance(), myDidInit, myIntervals, SUMOTime_MAX, TL, and WRITE_WARNINGF.

Referenced by MSCalibrator(), and myEndElement().

Here is the caller graph for this function:

◆ initLaneTree()

void MSRouteHandler::initLaneTree ( NamedRTree * tree)
overrideprotectedvirtualinherited

◆ inserted()

int MSCalibrator::inserted ( ) const
inlineprotected

Definition at line 262 of file MSCalibrator.h.

References myInserted.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ interpretDepartPosLat()

double MSRouteHandler::interpretDepartPosLat ( const std::string & value,
int departLane,
const std::string & element )
privateinherited
Note
must be randomized for every person individually when loading a personFlow

Definition at line 1696 of file MSRouteHandler.cpp.

References CENTER, MSStageMoving::checkDepartLane(), GenericSAXHandler::error(), FREE, MSLane::getWidth(), GIVEN, invalid_return< std::string >::value, LEFT, myActiveRoute, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::parseDepartPosLat(), RANDOM, RANDOM_FREE, MSPModel::RANDOM_POS_LAT, RIGHT, SVC_IGNORING, TLF, and MSPModel::UNSPECIFIED_POS_LAT.

Referenced by addPersonTrip(), and addWalk().

Here is the caller graph for this function:

◆ intervalEnd()

void MSCalibrator::intervalEnd ( )
protected

Definition at line 277 of file MSCalibrator.cpp.

References myClearedInJam, myCurrentStateInterval, myDidSpeedAdaption, myHaveWarnedAboutClearingJam, myInserted, myOutput, myRemoved, reset(), and writeXMLOutput().

Referenced by METriggeredCalibrator::execute(), execute(), METriggeredCalibrator::~METriggeredCalibrator(), and ~MSCalibrator().

Here is the caller graph for this function:

◆ invalidJam()

bool MSCalibrator::invalidJam ( int laneIndex) const
protected

Definition at line 527 of file MSCalibrator.cpp.

References MSLane::getMeanSpeed(), MSLane::getVehicleNumber(), invalidJam(), myEdge, myInvalidJamThreshold, and remainingVehicleCapacity().

Referenced by execute(), and invalidJam().

Here is the caller graph for this function:

◆ isActive()

bool MSCalibrator::isActive ( ) const
inlineprotected

Definition at line 234 of file MSCalibrator.h.

References myAmActive.

◆ isCurrentStateActive()

bool MSCalibrator::isCurrentStateActive ( SUMOTime time)
protected

Definition at line 291 of file MSCalibrator.cpp.

References myCurrentStateInterval, and myIntervals.

Referenced by METriggeredCalibrator::execute(), and execute().

Here is the caller graph for this function:

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string & value,
const std::string & kvsep,
const std::string & sep )
staticprivateinherited

check if given string can be parsed to a parameter of type "key=value"

Definition at line 242 of file Parameterised.cpp.

References StringTokenizer::getVector(), invalid_return< std::string >::value, and SUMOXMLDefinitions::isValidParameterKey().

Referenced by areAttributesValid(), and areParametersValid().

Here is the caller graph for this function:

◆ isStopPosValid()

bool SUMORouteHandler::isStopPosValid ( const double startPos,
const double endPos,
const double laneLength,
const double minLength,
const bool friendlyPos )
staticinherited

check if start and end position of a stop is valid

Definition at line 354 of file SUMORouteHandler.cpp.

References checkStopPos(), and STOPPOS_VALID.

◆ isTyped()

bool MSDetectorFileOutput::isTyped ( ) const
inlineinherited

Checks whether the detector is type specific.

Returns
whether vehicle types are considered

Definition at line 138 of file MSDetectorFileOutput.h.

References myVehicleTypes.

◆ mergeParameters()

void Parameterised::mergeParameters ( const Parameterised::Map & mapArg,
const std::string separator = " ",
bool uniqueValues = true )
inherited

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

References getParameter(), hasParameter(), and setParameter().

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ myCharacters()

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

Callback method for characters to implement by derived classes.

Called by "endElement" (see there).

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

Reimplemented in NIImporter_ITSUMO::Handler, and NIImporter_OpenDrive.

Definition at line 240 of file GenericSAXHandler.cpp.

Referenced by endElement().

Here is the caller graph for this function:

◆ myEndElement()

void MSCalibrator::myEndElement ( int element)
protectedvirtual

Called on the closing of a tag;.

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

Reimplemented from SUMORouteHandler.

Definition at line 263 of file MSCalibrator.cpp.

References GenericSAXHandler::callParentEnd(), init(), myDidInit, SUMORouteHandler::myEndElement(), SUMO_TAG_CALIBRATOR, and SUMO_TAG_FLOW.

◆ myStartElement()

◆ needsCharacterData()

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

Definition at line 220 of file GenericSAXHandler.h.

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

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

Here is the caller graph for this function:

◆ openFlow()

void MSRouteHandler::openFlow ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

opens a flow for reading

Implements SUMORouteHandler.

Definition at line 386 of file MSRouteHandler.cpp.

◆ openRoute()

◆ openRouteDistribution()

◆ openRouteFlow()

void MSRouteHandler::openRouteFlow ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

opens a route flow for reading

Implements SUMORouteHandler.

Definition at line 392 of file MSRouteHandler.cpp.

◆ openTrip()

void MSRouteHandler::openTrip ( const SUMOSAXAttributes & attrs)
overrideprotectedvirtualinherited

opens a trip for reading

Implements SUMORouteHandler.

Definition at line 398 of file MSRouteHandler.cpp.

◆ openVehicleTypeDistribution()

◆ parseFromViaTo()

void MSRouteHandler::parseFromViaTo ( SumoXMLTag tag,
const SUMOSAXAttributes & attrs )
protectedinherited

Called for parsing from and to and the corresponding taz attributes.

Parameters
[in]elementdescription of the currently opened element
[in]attrsAttributes within the currently opened element
Exceptions
ProcessErrorIf something fails

Definition at line 106 of file MSRouteHandler.cpp.

References MSEdge::dictionary(), SUMOSAXAttributes::get(), OptionsCont::getBool(), MSNet::getInstance(), MSEdge::getNumPredecessors(), MSEdge::getNumSuccessors(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), MSVehicleType::getParameter(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), JUNCTION_TAZ_MISSING_HELP, myActiveRoute, SUMORouteHandler::myActiveRouteID, myHaveVia, SUMORouteHandler::myInsertStopEdgesAt, MapMatcher< MSEdge, MSLane, MSJunction >::myMapMatchTAZ, myParsingRNG, SUMORouteHandler::myVehicleParameter, MSEdge::parseEdgesList(), MapMatcher< MSEdge, MSLane, MSJunction >::parseGeoEdges(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_FROMLONLAT, SUMO_ATTR_FROMXY, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TOLONLAT, SUMO_ATTR_TOXY, SUMO_ATTR_VIA, SUMO_ATTR_VIAJUNCTIONS, SUMO_ATTR_VIALONLAT, SUMO_ATTR_VIAXY, SUMO_TAG_PERSON, SVC_PASSENGER, TL, toString(), SUMOVTypeParameter::vehicleClass, VEHPARS_FROM_TAZ_SET, VEHPARS_TO_TAZ_SET, and WRITE_WARNINGF.

Referenced by addPersonTrip(), and myStartElement().

Here is the caller graph for this function:

◆ parseGeoEdges()

void MapMatcher< MSEdge, MSLane, MSJunction >::parseGeoEdges ( const PositionVector & positions,
bool geo,
SUMOVehicleClass vClass,
std::vector< const MSEdge * > & into,
const std::string & rid,
bool isFrom,
bool & ok,
bool forceEdge = false )
inlineinherited

Definition at line 48 of file MapMatcher.h.

References MapMatcher< E, L, N >::getClosestLane(), GeoConvHelper::getFinal(), MapMatcher< E, L, N >::getJunctionTaz(), MapMatcher< E, L, N >::getTaz(), gPrecision, gPrecisionGeo, L, MIN2(), myErrorOutput, myMapMatchingDistance, myMapMatchJunctions, myMapMatchTAZ, TL, toString(), WRITE_ERROR, and GeoConvHelper::x2cartesian_const().

Referenced by MSRouteHandler::addStop(), and MSRouteHandler::parseFromViaTo().

Here is the caller graph for this function:

◆ parseStop()

bool SUMORouteHandler::parseStop ( SUMOVehicleParameter::Stop & stop,
const SUMOSAXAttributes & attrs,
std::string errorSuffix,
MsgHandler *const errorOutput )
protectedinherited

parses attributes common to all stops

Definition at line 397 of file SUMORouteHandler.cpp.

References SUMOVehicleParameter::Stop::actType, SUMOVehicleParameter::Stop::arrival, SUMOVehicleParameter::Stop::awaitedContainers, SUMOVehicleParameter::Stop::awaitedPersons, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::collision, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::ended, SUMOVehicleParameter::Stop::extension, SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::Stop::index, MsgHandler::inform(), INVALID_DOUBLE, SUMOVehicleParameter::Stop::join, SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::jumpUntil, SUMOVehicleParameter::Stop::line, OFFROAD, SUMOVehicleParameter::Stop::onDemand, ONROAD, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, SUMOVehicleParameter::parseStopTriggers(), SUMOVehicleParameter::Stop::permitted, SUMOVehicleParameter::Stop::posLat, SUMOVehicleParameter::Stop::priority, SUMOVehicleParameter::Stop::speed, SUMOVehicleParameter::Stop::split, SUMOVehicleParameter::Stop::started, STOP_ARRIVAL_SET, STOP_DURATION_SET, STOP_END_SET, STOP_ENDED_SET, STOP_EXPECTED_CONTAINERS_SET, STOP_EXPECTED_SET, STOP_EXTENSION_SET, STOP_INDEX_END, STOP_INDEX_FIT, STOP_JOIN_SET, STOP_JUMP_SET, STOP_JUMP_UNTIL_SET, STOP_LINE_SET, STOP_ONDEMAND_SET, STOP_PARKING_SET, STOP_PERMITTED_SET, STOP_POSLAT_SET, STOP_PRIORITY_SET, STOP_SPEED_SET, STOP_SPLIT_SET, STOP_START_SET, STOP_STARTED_SET, STOP_TRIGGER_SET, STOP_TRIP_ID_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVAL, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CHARGING_STATION, SUMO_ATTR_COLLISION, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_EDGE, SUMO_ATTR_ENDED, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_EXTENSION, SUMO_ATTR_INDEX, SUMO_ATTR_JOIN, SUMO_ATTR_JUMP, SUMO_ATTR_JUMP_UNTIL, SUMO_ATTR_LANE, SUMO_ATTR_LINE, SUMO_ATTR_ONDEMAND, SUMO_ATTR_OVERHEAD_WIRE_SEGMENT, SUMO_ATTR_PARKING, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_PERMITTED, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_SPEED, SUMO_ATTR_SPLIT, SUMO_ATTR_STARTED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TRAIN_STOP, SUMO_ATTR_TRIGGERED, SUMO_ATTR_TRIP_ID, SUMO_ATTR_UNTIL, SUMO_TAG_CONTAINER, TL, TLF, toString(), SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::tripId, SUMOVehicleParameter::Stop::until, and WRITE_WARNINGF.

Referenced by MSRouteHandler::addStop(), and RORouteHandler::addStop().

Here is the caller graph for this function:

◆ parseWalkPositions()

void MSRouteHandler::parseWalkPositions ( const SUMOSAXAttributes & attrs,
const std::string & personID,
const MSEdge * fromEdge,
const MSEdge *& toEdge,
double & departPos,
double & arrivalPos,
MSStoppingPlace *& bs,
const MSStage *const lastStage,
bool & ok )
protectedinherited

◆ passed()

virtual int MSCalibrator::passed ( ) const
inlinevirtual

Reimplemented in METriggeredCalibrator.

Definition at line 121 of file MSCalibrator.h.

References myClearedInJam, myEdgeMeanData, and myRemoved.

Referenced by currentFlow(), execute(), GUICalibrator::getParameterWindow(), and writeXMLOutput().

Here is the caller graph for this function:

◆ personApplies()

bool MSDetectorFileOutput::personApplies ( const MSTransportable & p,
int dir ) const
inherited

Definition at line 105 of file MSDetectorFileOutput.cpp.

References BICYCLE, CAR, SUMOTrafficObject::getVClass(), MSTransportable::getVehicle(), myDetectPersons, PUBLIC, SVC_BICYCLE, SVC_PUBLIC_CLASSES, SVC_TAXI, and TAXI.

Referenced by MSE2Collector::notifyMovePerson(), MSE3Collector::notifyMovePerson(), and MSInductLoop::notifyMovePerson().

Here is the caller graph for this function:

◆ registerLastDepart()

void SUMORouteHandler::registerLastDepart ( )
protectedinherited

save last depart (only to be used if vehicle is not discarded)

Definition at line 74 of file SUMORouteHandler.cpp.

References GIVEN, myFirstDepart, myLastDepart, and myVehicleParameter.

Referenced by RORouteHandler::addFlowPerson(), RORouteHandler::closeContainer(), RORouteHandler::closeContainerFlow(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), and RORouteHandler::closeVehicle().

Here is the caller graph for this function:

◆ registerParent()

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

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

Definition at line 178 of file GenericSAXHandler.cpp.

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

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

Here is the caller graph for this function:

◆ remainingVehicleCapacity()

int MSCalibrator::remainingVehicleCapacity ( int laneIndex) const
protected

◆ removed()

int MSCalibrator::removed ( ) const
inlineprotected

Definition at line 265 of file MSCalibrator.h.

References myRemoved.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ removePending()

bool MSCalibrator::removePending ( )
protected

remove any vehicles which are scheduled for removal. return true if removals took place

Definition at line 330 of file MSCalibrator.cpp.

References Named::getID(), MSNet::getInstance(), MSVehicle::getMutableLane(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), myToRemove, MSMoveReminder::NOTIFICATION_VAPORIZED_CALIBRATOR, MSVehicle::onRemovalFromNet(), MSLane::removeVehicle(), MSVehicleControl::scheduleVehicleRemoval(), time2string(), TL, and WRITE_WARNINGF.

Referenced by execute().

Here is the caller graph for this function:

◆ reset()

void MSCalibrator::reset ( )
protectedvirtual

reset collected vehicle data

Reimplemented from MSDetectorFileOutput.

Reimplemented in METriggeredCalibrator.

Definition at line 518 of file MSCalibrator.cpp.

References myEdgeMeanData, and myLaneMeanData.

Referenced by execute(), and intervalEnd().

Here is the caller graph for this function:

◆ resetActivePlanAndVehicleParameter()

void MSRouteHandler::resetActivePlanAndVehicleParameter ( )
privateinherited

reset MSTransportablePlans after transportable tag closes

Definition at line 98 of file MSRouteHandler.cpp.

References myActiveTransportablePlan, myActiveType, SUMORouteHandler::myVehicleParameter, and UNDEFINED.

Referenced by addFlowTransportable(), closeTransportable(), closeTransportableFlow(), and deleteActivePlanAndVehicleParameter().

Here is the caller graph for this function:

◆ retrieveEdge()

MSEdge * MSRouteHandler::retrieveEdge ( const std::string & id)
overrideprotectedvirtualinherited

Implements MapMatcher< MSEdge, MSLane, MSJunction >.

Definition at line 1862 of file MSRouteHandler.cpp.

References MSEdge::dictionary().

◆ retrieveNextSectionStart()

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

Definition at line 213 of file GenericSAXHandler.h.

References myNextSectionStart.

◆ retrieveStoppingPlace()

◆ scheduleRemoval()

bool MSCalibrator::scheduleRemoval ( SUMOTrafficObject * veh)
inlineprotected

try to schedule the given vehicle for removal. return true if it isn't already scheduled

Definition at line 286 of file MSCalibrator.h.

References Named::getID(), and myToRemove.

◆ sectionFinished()

bool GenericSAXHandler::sectionFinished ( ) const
inlineinherited

Definition at line 209 of file GenericSAXHandler.h.

References mySectionEnded.

◆ setFileName()

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

Sets the current file name.

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

Definition at line 74 of file GenericSAXHandler.cpp.

References myFileName.

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

Here is the caller graph for this function:

◆ setFlow()

◆ setID()

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

resets the id

Parameters
[in]newIDThe new id of this object

Reimplemented in MSBaseVehicle, MSTransportable, and NBLoadedSUMOTLDef.

Definition at line 82 of file Named.h.

References myID.

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

Here is the caller graph for this function:

◆ setParameter()

void Parameterised::setParameter ( const std::string & key,
const std::string & value )
virtualinherited

Sets a parameter.

Parameters
[in]keyThe parameter's name
[in]valueThe parameter's value

Reimplemented in MSActuatedTrafficLightLogic, MSRailCrossing, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 45 of file Parameterised.cpp.

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

Referenced by MSCFModel_CACC::_v(), NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), NBOwnTLDef::buildNemaPhases(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSCFModel_CACC::freeSpeed(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDevice_Bluelight::notifyMove(), MSDevice_Bluelight::resetVehicle(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), LIBSUMO_NAMESPACE::Simulation::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailCrossing::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), updateParameters(), NBEdge::updateRemovedNodes(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ setParameters() [1/2]

void Parameterised::setParameters ( const Parameterised & params)
inherited

set the given key/value map in map<string, string> format

Definition at line 146 of file Parameterised.cpp.

References getParametersMap(), myMap, and Parameterised().

Referenced by GNEVehicleFrame::buildVehicleOverRoute(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), GNEVehicleFrame::createPath(), and MSStageTrip::reroute().

Here is the caller graph for this function:

◆ setParameters() [2/2]

void Parameterised::setParameters ( const std::vector< std::pair< std::string, std::string > > & params)
inherited

set the given key/value vector in map<string, string> format

Definition at line 152 of file Parameterised.cpp.

References myMap.

◆ setParametersStr()

void Parameterised::setParametersStr ( const std::string & paramsString,
const std::string kvsep = "=",
const std::string sep = "|" )
inherited

set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"

Parameters
[in]paramsStringA serialized key-value map
[in]kvsepThe separater between key and value
[in]sepThe separater between map entries

Definition at line 161 of file Parameterised.cpp.

References StringTokenizer::getVector(), myMap, and setParameter().

Referenced by MSDevice_Taxi::initDispatch(), and GNEAttributeCarrier::setCommonAttribute().

Here is the caller graph for this function:

◆ setSection()

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

Definition at line 202 of file GenericSAXHandler.h.

References mySection, mySectionEnded, mySectionOpen, and mySectionSeen.

◆ shiftTime()

virtual SUMOTime Command::shiftTime ( SUMOTime ,
SUMOTime ,
SUMOTime  )
inlinevirtualinherited

Reschedule or deschedule the command when quick-loading state.

The implementations should return -1 if the command shall not be re-scheduled, or a value >= 0 that describe the new time at which the command shall be executed again.

Parameters
[in]currentTimeThe current simulation time
[in]execTimeThe time at which the command would have been executed
[in]newTimeThe simulation time at which the simulation is restarted
Returns
The time at which the command shall be executed again

Reimplemented in MSCalibrator::CalibratorCommand, and MSTrafficLightLogic::SwitchCommand.

Definition at line 83 of file Command.h.

◆ startElement()

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

The inherited method called when a new tag opens.

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

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

Todo

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 99 of file GenericSAXHandler.cpp.

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

◆ totalWished()

int MSCalibrator::totalWished ( ) const
protected

number of vehicles expected to pass this interval

Definition at line 302 of file MSCalibrator.cpp.

References myCurrentStateInterval, myIntervals, and STEPS2TIME.

Referenced by execute(), and GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ tryEmit()

bool MSCalibrator::tryEmit ( MSLane * lane,
MSVehicle * vehicle )
protected

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string & key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().

Here is the caller graph for this function:

◆ updateMeanData()

void MSCalibrator::updateMeanData ( )
protectedvirtual

aggregate lane values

Reimplemented in METriggeredCalibrator.

Definition at line 592 of file MSCalibrator.cpp.

References myEdgeMeanData, and myLaneMeanData.

Referenced by execute(), and writeXMLOutput().

Here is the caller graph for this function:

◆ updateParameters()

void Parameterised::updateParameters ( const Parameterised::Map & mapArg)
inherited

◆ vehicleApplies()

◆ warning()

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

Handler for XML-warnings.

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

Parameters
[in]exceptionThe occurred exception to process

Definition at line 218 of file GenericSAXHandler.cpp.

References buildErrorMessage(), and WRITE_WARNING.

◆ writeParams()

void Parameterised::writeParams ( OutputDevice & device) const
inherited

write Params in the given outputdevice

Definition at line 176 of file Parameterised.cpp.

References OutputDevice::closeTag(), StringUtils::escapeXML(), myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().

Referenced by MSStageWaiting::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MSRailSignalConstraint_Predecessor::write(), NBPTStop::write(), SUMOVehicleParameter::Stop::write(), SUMOVTypeParameter::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEEntryExitDetector::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNEPOI::writeAdditional(), GNEPoly::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeLane(), NWWriter_SUMO::writeTrafficLight(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().

Here is the caller graph for this function:

◆ writeXMLDetectorProlog()

void MSCalibrator::writeXMLDetectorProlog ( OutputDevice & dev) const
virtual

Open the XML-output.

The implementing function should open an xml element using OutputDevice::writeXMLHeader.

Parameters
[in]devThe output device to write the root into
Exceptions
IOErrorIf an error on writing occurs

Implements MSDetectorFileOutput.

Definition at line 703 of file MSCalibrator.cpp.

References OutputDevice::writeXMLHeader().

Referenced by MSCalibrator().

Here is the caller graph for this function:

◆ writeXMLOutput()

void MSCalibrator::writeXMLOutput ( OutputDevice & dev,
SUMOTime startTime,
SUMOTime stopTime )
virtual

Write the generated output to the given device.

Parameters
[in]devThe output device to write the data into
[in]startTimeFirst time step the data were gathered
[in]stopTimeLast time step the data were gathered
Exceptions
IOErrorIf an error on writing occurs

Implements MSDetectorFileOutput.

Definition at line 675 of file MSCalibrator.cpp.

References OutputDevice::closeTag(), Named::getID(), myClearedInJam, myCurrentStateInterval, myEdgeMeanData, myInserted, myRemoved, OutputDevice::openTag(), passed(), STEPS2TIME, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_SPEED, SUMO_TAG_INTERVAL, time2string(), toString(), updateMeanData(), and OutputDevice::writeAttr().

Referenced by intervalEnd().

Here is the caller graph for this function:

◆ GUICalibrator

friend class GUICalibrator
friend

Definition at line 231 of file MSCalibrator.h.

References GUICalibrator.

Referenced by GUICalibrator.

Field Documentation

◆ myActiveRoute

ConstMSEdgeVector MSRouteHandler::myActiveRoute
protectedinherited

◆ myActiveRouteColor

const RGBColor* SUMORouteHandler::myActiveRouteColor
protectedinherited

◆ myActiveRouteID

◆ myActiveRoutePeriod

SUMOTime MSRouteHandler::myActiveRoutePeriod
protectedinherited

Definition at line 195 of file MSRouteHandler.h.

Referenced by closeRoute(), MSRouteHandler(), and openRoute().

◆ myActiveRoutePermanent

bool MSRouteHandler::myActiveRoutePermanent
protectedinherited

whether the active route is stored indefinitely (used by state loader)

Definition at line 198 of file MSRouteHandler.h.

Referenced by closeRoute(), MSRouteHandler(), and openRoute().

◆ myActiveRouteProbability

double SUMORouteHandler::myActiveRouteProbability
protectedinherited

◆ myActiveRouteRefID

std::string SUMORouteHandler::myActiveRouteRefID
protectedinherited

The id of the route the current route references to.

Definition at line 222 of file SUMORouteHandler.h.

Referenced by MSRouteHandler::closeRoute(), RORouteHandler::closeRoute(), MSRouteHandler::openRoute(), and RORouteHandler::openRoute().

◆ myActiveRouteRepeat

int MSRouteHandler::myActiveRouteRepeat
protectedinherited

number of repetitions of the active route

Definition at line 194 of file MSRouteHandler.h.

Referenced by closeRoute(), MSRouteHandler(), and openRoute().

◆ myActiveRouteReplacedAtTime

SUMOTime MSRouteHandler::myActiveRouteReplacedAtTime
protectedinherited

The time at which this route was replaced (from vehroute-output).

Definition at line 201 of file MSRouteHandler.h.

Referenced by closeRoute(), and openRoute().

◆ myActiveRouteReplacedIndex

int MSRouteHandler::myActiveRouteReplacedIndex
protectedinherited

The index at which this route was replaced (from vehroute-output).

Definition at line 204 of file MSRouteHandler.h.

Referenced by closeRoute(), and openRoute().

◆ myActiveRouteStops

StopParVector SUMORouteHandler::myActiveRouteStops
protectedinherited

◆ myActiveTransportablePlan

◆ myActiveType

ObjectTypeEnum MSRouteHandler::myActiveType
protectedinherited

◆ myActiveTypeName

std::string MSRouteHandler::myActiveTypeName
protectedinherited

The name of the current object type.

Definition at line 210 of file MSRouteHandler.h.

Referenced by addFlowTransportable(), addStop(), addTransportable(), closeTransportable(), closeTransportableFlow(), and myStartElement().

◆ myAddVehiclesDirectly

bool MSRouteHandler::myAddVehiclesDirectly
protectedinherited

Information whether vehicles shall be directly added to the network or kept within the buffer.

Definition at line 219 of file MSRouteHandler.h.

Referenced by closeFlow(), closeTransportable(), closeTransportableFlow(), closeVehicle(), and MSRouteHandler().

◆ myAllowInternalRoutes

bool SUMORouteHandler::myAllowInternalRoutes
protectedinherited

whether references to internal routes are allowed in this context

Definition at line 255 of file SUMORouteHandler.h.

Referenced by MSStateHandler::MSStateHandler(), myStartElement(), and SUMORouteHandler().

◆ myAmActive

bool MSCalibrator::myAmActive
protected

whether the calibrator was active when last checking

Definition at line 352 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), isActive(), and MSCalibrator().

◆ myAmLoadingState

bool MSRouteHandler::myAmLoadingState
protectedinherited

whether a state file is being loaded

Definition at line 234 of file MSRouteHandler.h.

Referenced by addStop(), closeRoute(), closeTransportable(), closeTransportableFlow(), closeVehicle(), MSRouteHandler(), and MSStateHandler::MSStateHandler().

◆ myAmLocal

bool MSCalibrator::myAmLocal
protected

whether the calibrator needs to undo the calibration after the edge / junction has been left

Definition at line 358 of file MSCalibrator.h.

Referenced by MSCalibrator().

◆ myBeginDefault

SUMOTime SUMORouteHandler::myBeginDefault
protectedinherited

The default value for flow begins.

Definition at line 240 of file SUMORouteHandler.h.

Referenced by myEndElement(), myStartElement(), and SUMORouteHandler().

◆ myCharactersVector

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

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

Definition at line 324 of file GenericSAXHandler.h.

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

◆ myClearedInJam

int MSCalibrator::myClearedInJam
protected

The number of vehicles that were removed when clearin a jam.

Definition at line 339 of file MSCalibrator.h.

Referenced by clearedInJam(), METriggeredCalibrator::execute(), execute(), getRemoved(), intervalEnd(), MSCalibrator(), passed(), and writeXMLOutput().

◆ myCollectCharacterData

bool GenericSAXHandler::myCollectCharacterData = false
privateinherited

whether the reader should collect character data

Definition at line 339 of file GenericSAXHandler.h.

Referenced by characters(), and needsCharacterData().

◆ myCurrentCosts

double SUMORouteHandler::myCurrentCosts
protectedinherited

◆ myCurrentRouteDistribution

RandomDistributor<ConstMSRoutePtr>* MSRouteHandler::myCurrentRouteDistribution
protectedinherited

The currently parsed distribution of routes (probability->route).

Definition at line 228 of file MSRouteHandler.h.

Referenced by closeRoute(), closeRouteDistribution(), MSRouteHandler(), openRoute(), and openRouteDistribution().

◆ myCurrentRouteDistributionID

std::string MSRouteHandler::myCurrentRouteDistributionID
protectedinherited

The id of the currently parsed route distribution.

Definition at line 231 of file MSRouteHandler.h.

Referenced by closeRouteDistribution(), openRoute(), and openRouteDistribution().

◆ myCurrentStateInterval

◆ myCurrentVType

◆ myCurrentVTypeDistribution

RandomDistributor<MSVehicleType*>* MSRouteHandler::myCurrentVTypeDistribution
protectedinherited

The currently parsed distribution of vehicle types (probability->vehicle type).

Definition at line 222 of file MSRouteHandler.h.

Referenced by closeVehicleTypeDistribution(), closeVType(), MSRouteHandler(), and openVehicleTypeDistribution().

◆ myCurrentVTypeDistributionID

std::string MSRouteHandler::myCurrentVTypeDistributionID
protectedinherited

The id of the currently parsed vehicle type distribution.

Definition at line 225 of file MSRouteHandler.h.

Referenced by closeVehicleTypeDistribution(), and openVehicleTypeDistribution().

◆ myDefaultSpeed

double MSCalibrator::myDefaultSpeed
protected

The default (maximum) speed on the segment.

Definition at line 347 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), and MSCalibrator().

◆ myDetectPersons

◆ myDidInit

bool MSCalibrator::myDidInit
protected

The information whether init was called.

Definition at line 345 of file MSCalibrator.h.

Referenced by init(), MSCalibrator(), and myEndElement().

◆ myDidSpeedAdaption

bool MSCalibrator::myDidSpeedAdaption
protected

The information whether speed was adapted in the current interval.

Definition at line 343 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), intervalEnd(), and MSCalibrator().

◆ myEdge

MSEdge* const MSCalibrator::myEdge
protected

the edge on which this calibrator lies

Definition at line 300 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), getEdge(), invalidJam(), MSCalibrator(), and remainingVehicleCapacity().

◆ myEdgeMeanData

◆ myElementStack

std::vector<int> SUMORouteHandler::myElementStack
protectedinherited

hierarchy of elements being parsed

Definition at line 252 of file SUMORouteHandler.h.

Referenced by myEndElement(), and myStartElement().

◆ myEndDefault

SUMOTime SUMORouteHandler::myEndDefault
protectedinherited

The default value for flow ends.

Definition at line 243 of file SUMORouteHandler.h.

Referenced by myEndElement(), myStartElement(), and SUMORouteHandler().

◆ myErrorOutput

MsgHandler* MapMatcher< MSEdge, MSLane, MSJunction >::myErrorOutput
privateinherited

Definition at line 233 of file MapMatcher.h.

Referenced by getJunctionTaz(), getTaz(), MapMatcher(), and parseGeoEdges().

◆ myExpectedRoot

std::string GenericSAXHandler::myExpectedRoot
privateinherited

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

Definition at line 336 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), and startElement().

◆ myFileName

std::string GenericSAXHandler::myFileName
privateinherited

The name of the currently parsed file.

Definition at line 333 of file GenericSAXHandler.h.

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

◆ myFirstDepart

SUMOTime SUMORouteHandler::myFirstDepart
protectedinherited

the first read departure time

Definition at line 246 of file SUMORouteHandler.h.

Referenced by getFirstDepart(), registerLastDepart(), and SUMORouteHandler().

◆ myFrequency

SUMOTime MSCalibrator::myFrequency
protected

The frequeny with which to check for calibration.

Definition at line 333 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), METriggeredCalibrator::maximumInflow(), and MSCalibrator().

◆ myHardFail

const bool SUMORouteHandler::myHardFail
protectedinherited

◆ myHaveInvalidJam

bool MSCalibrator::myHaveInvalidJam
protected

whether the calibrator has registered an invalid jam in the last execution step

Definition at line 361 of file MSCalibrator.h.

Referenced by execute(), and MSCalibrator().

◆ myHaveVia

bool MSRouteHandler::myHaveVia
protectedinherited

Wether an object with 'via'-attribute is being parsed.

Definition at line 213 of file MSRouteHandler.h.

Referenced by addStop(), MSRouteHandler(), myStartElement(), and parseFromViaTo().

◆ myHaveWarnedAboutClearingJam

bool MSCalibrator::myHaveWarnedAboutClearingJam
protected

The default (maximum) speed on the segment.

Definition at line 349 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), intervalEnd(), and MSCalibrator().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

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

◆ myInserted

int MSCalibrator::myInserted
protected

The number of vehicles that were inserted in the current interval.

Definition at line 337 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), getNewVehicleID(), inserted(), intervalEnd(), MSCalibrator(), and writeXMLOutput().

◆ myInsertStopEdgesAt

◆ myInstances

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

Definition at line 367 of file MSCalibrator.h.

Referenced by cleanup(), getInstances(), MSCalibrator(), and ~MSCalibrator().

◆ myIntervals

◆ myInvalidJamThreshold

double MSCalibrator::myInvalidJamThreshold
protected

relative speed threshold for detecting and clearing invalid jam

Definition at line 355 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::invalidJam(), invalidJam(), and MSCalibrator().

◆ myLane

MSLane* const MSCalibrator::myLane
protected

the lane on which this calibrator lies (nullptr if the whole edge is covered at once)

Definition at line 302 of file MSCalibrator.h.

Referenced by execute(), getLane(), MSCalibrator(), and myStartElement().

◆ myLaneMeanData

std::vector<MSMeanData_Net::MSLaneMeanDataValues*> MSCalibrator::myLaneMeanData
protected

data collector for the calibrator

Definition at line 312 of file MSCalibrator.h.

Referenced by MSCalibrator(), reset(), and updateMeanData().

◆ myLaneTree

NamedRTree* MapMatcher< MSEdge, MSLane, MSJunction >::myLaneTree
privateinherited

RTree for finding lanes.

Definition at line 230 of file MapMatcher.h.

Referenced by getLaneTree(), MapMatcher(), and ~MapMatcher().

◆ myLastDepart

SUMOTime SUMORouteHandler::myLastDepart
protectedinherited

The insertion time of the vehicle read last.

Definition at line 216 of file SUMORouteHandler.h.

Referenced by checkLastDepart(), getLastDepart(), registerLastDepart(), and SUMORouteHandler().

◆ myLeftoverReminders

std::vector< MSMoveReminder * > MSCalibrator::myLeftoverReminders
staticprotected

Definition at line 365 of file MSCalibrator.h.

Referenced by cleanup(), and MSCalibrator().

◆ myLeftoverVehicleParameters

std::vector< SUMOVehicleParameter * > MSCalibrator::myLeftoverVehicleParameters
staticprotected

Definition at line 366 of file MSCalibrator.h.

Referenced by cleanup(), and myStartElement().

◆ myMap

◆ myMapMatchingDistance

double MapMatcher< MSEdge, MSLane, MSJunction >::myMapMatchingDistance
privateinherited

Definition at line 232 of file MapMatcher.h.

Referenced by getClosestLane(), MapMatcher(), and parseGeoEdges().

◆ myMapMatchJunctions

bool MapMatcher< MSEdge, MSLane, MSJunction >::myMapMatchJunctions
privateinherited

Definition at line 231 of file MapMatcher.h.

Referenced by MapMatcher(), and parseGeoEdges().

◆ myMapMatchTAZ

bool MapMatcher< MSEdge, MSLane, MSJunction >::myMapMatchTAZ
protectedinherited

Definition at line 217 of file MapMatcher.h.

Referenced by MapMatcher(), MSRouteHandler::parseFromViaTo(), and parseGeoEdges().

◆ myMeanDataParent

MSMeanData_Net MSCalibrator::myMeanDataParent
protected

dummy parent to retrieve vType filter

Definition at line 310 of file MSCalibrator.h.

Referenced by MSCalibrator().

◆ myNextEdges

std::vector<const MSEdge*> MSDetectorFileOutput::myNextEdges
protectedinherited

The upcoming edges to filter by (empty means no filtering).

Definition at line 158 of file MSDetectorFileOutput.h.

Referenced by MSDetectorFileOutput(), MSE2Collector::notifyMove(), and vehicleApplies().

◆ myNextSectionStart

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

◆ myNode

MSJunction* const MSCalibrator::myNode
protected

the junction on which this calibrator lies (nullptr if is edge or lane specific)

Definition at line 304 of file MSCalibrator.h.

Referenced by MSCalibrator().

◆ myOutput

OutputDevice* MSCalibrator::myOutput
protected

The device for xml statistics.

Definition at line 330 of file MSCalibrator.h.

Referenced by intervalEnd(), and MSCalibrator().

◆ myParamStack

std::vector<Parameterised*> SUMORouteHandler::myParamStack
protectedinherited

◆ myParentHandler

GenericSAXHandler* GenericSAXHandler::myParentHandler
privateinherited

The handler to give control back to.

Definition at line 327 of file GenericSAXHandler.h.

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

◆ myParentIndicator

int GenericSAXHandler::myParentIndicator
privateinherited

The tag indicating that control should be given back.

Definition at line 330 of file GenericSAXHandler.h.

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

◆ myParsingRNG

SumoRNG MSRouteHandler::myParsingRNG
staticprotectedinherited

◆ myPos

const double MSCalibrator::myPos
protected

the position on the edge where this calibrator lies

Definition at line 306 of file MSCalibrator.h.

Referenced by MSCalibrator().

◆ myPredefinedTags

AttrMap GenericSAXHandler::myPredefinedTags
privateinherited

Definition at line 306 of file GenericSAXHandler.h.

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

◆ myPredefinedTagsMML

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

the map from ids to their string representation

Definition at line 309 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler(), and startElement().

◆ myProbe

const MSRouteProbe* const MSCalibrator::myProbe
protected

the route probe to retrieve routes from

Definition at line 308 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), getRouteProbe(), and MSCalibrator().

◆ myRemoved

int MSCalibrator::myRemoved
protected

The number of vehicles that were removed in the current interval.

Definition at line 335 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), getRemoved(), intervalEnd(), MSCalibrator(), passed(), removed(), and writeXMLOutput().

◆ myReplayRerouting

bool MSRouteHandler::myReplayRerouting
protectedinherited

whether loaded rerouting events shall be replayed

Definition at line 240 of file MSRouteHandler.h.

Referenced by closeVehicle(), and MSRouteHandler().

◆ myRootSeen

bool GenericSAXHandler::myRootSeen = false
privateinherited

whether the reader has already seen the root element

Definition at line 342 of file GenericSAXHandler.h.

Referenced by startElement().

◆ myScaleSuffix

std::string MSRouteHandler::myScaleSuffix
protectedinherited

prefix when copying vehicles with –scale

Definition at line 237 of file MSRouteHandler.h.

Referenced by closeVehicle(), and MSRouteHandler().

◆ mySection

int GenericSAXHandler::mySection = -1
privateinherited

The tag indicating the current section to parse.

Definition at line 345 of file GenericSAXHandler.h.

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

◆ mySectionEnded

bool GenericSAXHandler::mySectionEnded = false
privateinherited

whether the reader has already seen the end of the section

Definition at line 351 of file GenericSAXHandler.h.

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

◆ mySectionOpen

bool GenericSAXHandler::mySectionOpen = false
privateinherited

whether an element of the current section is open

Definition at line 354 of file GenericSAXHandler.h.

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

◆ mySectionSeen

bool GenericSAXHandler::mySectionSeen = false
privateinherited

whether the reader has already seen the begin of the section

Definition at line 348 of file GenericSAXHandler.h.

Referenced by setSection(), and startElement().

◆ mySkippedVehicles

std::set<std::string> SUMORouteHandler::mySkippedVehicles
protectedinherited

IDs of skipped vehicles to suppress errors for the triggered transportables within.

Definition at line 258 of file SUMORouteHandler.h.

Referenced by RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), RORouteHandler::addTransport(), MSRouteHandler::closeVehicle(), and RORouteHandler::closeVehicle().

◆ mySpeedIsDefault

bool MSCalibrator::mySpeedIsDefault
protected

The information whether the speed adaption has been reset.

Definition at line 341 of file MSCalibrator.h.

Referenced by METriggeredCalibrator::execute(), execute(), and MSCalibrator().

◆ myStartTriggeredInFlow

bool MSRouteHandler::myStartTriggeredInFlow
protectedinherited

whether we are loading a personFlow that is starting triggered in a vehicle flow

Definition at line 243 of file MSRouteHandler.h.

Referenced by addRideOrTransport(), closeTransportableFlow(), and MSRouteHandler().

◆ myTagMap

TagMap GenericSAXHandler::myTagMap
privateinherited

Definition at line 320 of file GenericSAXHandler.h.

Referenced by convertTag(), and GenericSAXHandler().

◆ myToRemove

std::set<std::string> MSCalibrator::myToRemove
protected

set of vehicle ids to remove

Note
: we avoid keeping vehicle points because someone else might invalidate it before look at it again (i.e. another calibrator)

Definition at line 327 of file MSCalibrator.h.

Referenced by removePending(), and scheduleRemoval().

◆ myVehicleParameter

SUMOVehicleParameter* SUMORouteHandler::myVehicleParameter
protectedinherited

Parameter of the current vehicle, trip, person, container or flow.

Definition at line 210 of file SUMORouteHandler.h.

Referenced by RORouteHandler::addFlowPerson(), MSRouteHandler::addFlowTransportable(), addParam(), MSRouteHandler::addPersonTrip(), RORouteHandler::addPersonTrip(), RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MSRouteHandler::addTranship(), RORouteHandler::addTransport(), MSRouteHandler::addTransportable(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSRouteHandler::addWalk(), RORouteHandler::addWalk(), checkLastDepart(), RORouteHandler::closeContainer(), RORouteHandler::closeContainerFlow(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), RORouteHandler::closeRoute(), MSRouteHandler::closeRouteDistribution(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeTrip(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSRouteHandler::deleteActivePlanAndVehicleParameter(), RORouteHandler::deleteActivePlanAndVehicleParameter(), MSRouteHandler::interpretDepartPosLat(), MSStateHandler::myEndElement(), myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), RORouteHandler::myStartElement(), myStartElement(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), RORouteHandler::parseWalkPositions(), registerLastDepart(), MSRouteHandler::resetActivePlanAndVehicleParameter(), SUMORouteHandler(), and ~SUMORouteHandler().

◆ myVehicleRemovers

std::vector<VehicleRemover*> MSCalibrator::myVehicleRemovers
protected

Definition at line 321 of file MSCalibrator.h.

Referenced by MSCalibrator(), and ~MSCalibrator().

◆ myVehicleTypes

std::set<std::string> MSDetectorFileOutput::myVehicleTypes
protectedinherited

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

Definition at line 155 of file MSDetectorFileOutput.h.

Referenced by getVehicleTypes(), isTyped(), MSDetectorFileOutput(), and vehicleApplies().

◆ priority

int Command::priority = 0
inherited

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