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 inner key/value map 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.
 
std::vector< SUMOVehicleParameter::StopmyActiveRouteStops
 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
 
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 detectPersons () 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

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

Definition at line 920 of file MSRouteHandler.cpp.

References MSTransportableControl::add(), MSTransportableControl::addDiscarded(), MSTransportableControl::buildContainer(), MSTransportableControl::buildPerson(), MSInsertionControl::computeRandomDepartOffset(), MSRouteHandler::deleteActivePlanAndVehicleParameter(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departPosProcedure, GenericSAXHandler::error(), MSTransportableControl::get(), MSStoppingPlace::getAccessPos(), MSNet::getContainerControl(), MSStage::getDestinationStop(), MSStageMoving::getEdge(), MSNet::getInsertionControl(), MSNet::getInstance(), MSTransportableControl::getLoadedNumber(), MSVehicleType::getParameter(), MSNet::getPersonControl(), MSVehicleControl::getQuota(), MSVehicleControl::getScale(), MSStage::getStageType(), MSNet::getVehicleControl(), MSGlobals::gStateLoaded, MSNet::hasContainers(), MSNet::hasPersons(), SUMOVehicleParameter::id, MSRouteHandler::myActiveTransportablePlan, MSRouteHandler::myActiveType, MSRouteHandler::myActiveTypeName, MSRouteHandler::myParsingRNG, SUMORouteHandler::myVehicleParameter, MSRouteHandler::PERSON, RandHelper::rand(), RANDOM, MSRouteHandler::resetActivePlanAndVehicleParameter(), SUMOVTypeParameter::scale, MSStageMoving::setDepartPos(), TL, toString(), WALKING, and WRITE_WARNINGF.

Referenced by MSRouteHandler::closeTransportable(), and MSRouteHandler::closeTransportableFlow().

Here is the caller graph for this function:

◆ addParam()

void SUMORouteHandler::addParam ( const SUMOSAXAttributes attrs)
protectedinherited

assign arbitrary vehicle parameters

Definition at line 375 of file SUMORouteHandler.cpp.

References SUMOSAXAttributes::get(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), SUMORouteHandler::myParamStack, SUMO_ATTR_KEY, and SUMO_ATTR_VALUE.

Referenced by SUMORouteHandler::myStartElement().

Here is the caller graph for this function:

◆ addPersonTrip()

void MSRouteHandler::addPersonTrip ( const SUMOSAXAttributes attrs)
overrideprotectedvirtualinherited

add a routing request for a walking or intermodal person

Implements SUMORouteHandler.

Definition at line 1529 of file MSRouteHandler.cpp.

References MSRouteHandler::deleteActivePlanAndVehicleParameter(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departPosProcedure, MSLane::getEdge(), OptionsCont::getFloat(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSEdge::getLength(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), SUMOSAXAttributes::getOptSUMOTimeReporting(), OptionsCont::getString(), MSVehicleType::getVehicleClass(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), StringTokenizer::hasNext(), SUMOVehicleParameter::id, MSRouteHandler::interpretDepartPosLat(), SUMOVehicleParameter::modes, MSRouteHandler::myActiveRoute, MSRouteHandler::myActiveTransportablePlan, SUMORouteHandler::myInsertStopEdgesAt, SUMORouteHandler::myParamStack, MSRouteHandler::myParsingRNG, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::parametersSet, MSRouteHandler::parseFromViaTo(), SUMOVehicleParameter::parsePersonModes(), MSRouteHandler::parseWalkPositions(), RandHelper::rand(), RANDOM, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DURATION, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_FROMLONLAT, SUMO_ATTR_FROMXY, SUMO_ATTR_GROUP, SUMO_ATTR_MODES, SUMO_ATTR_SPEED, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TOLONLAT, SUMO_ATTR_TOXY, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, SUMO_TAG_PERSON, SVC_BICYCLE, SVC_PASSENGER, TL, TLF, VEHPARS_ARRIVALPOS_SET, VEHPARS_FORCE_REROUTE, and SUMOVehicleParameter::vTypes.

Referenced by MSRouteHandler::addWalk().

Here is the caller graph for this function:

◆ addRide()

void MSRouteHandler::addRide ( const SUMOSAXAttributes attrs)
overrideprotectedvirtualinherited

Processing of a ride.

Implements SUMORouteHandler.

Definition at line 1081 of file MSRouteHandler.cpp.

References MSRouteHandler::addRideOrTransport(), and SUMO_TAG_RIDE.

◆ addRideOrTransport()

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

Processing of a transport.

Definition at line 1091 of file MSRouteHandler.cpp.

References MSRouteHandler::CONTAINER, MSRouteHandler::deleteActivePlanAndVehicleParameter(), DELTA_T, SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, SUMOVehicleParameter::departProcedure, MSRoute::dictionary(), MSEdge::dictionary(), SUMOSAXAttributes::get(), MSLane::getEdge(), MSRoute::getEdges(), MSStoppingPlace::getEndLanePosition(), MSInsertionControl::getFlowPars(), Named::getID(), MSNet::getInsertionControl(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSEdge::getLength(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOTrafficObject::getParameter(), SUMOVehicle::getRoute(), OptionsCont::getString(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, SUMOVehicleParameter::interpretEdgePos(), MSRouteHandler::myActiveTransportablePlan, MSRouteHandler::myActiveType, SUMORouteHandler::myParamStack, MSRouteHandler::myStartTriggeredInFlow, SUMORouteHandler::myVehicleParameter, MSRouteHandler::PERSON, MSRouteHandler::retrieveStoppingPlace(), 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 MSRouteHandler::addRide(), and MSRouteHandler::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 1263 of file MSRouteHandler.cpp.

References SUMOVehicleParameter::Stop::chargingStation, SUMORouteHandler::checkStopPos(), MSRouteHandler::CONTAINER, MSRouteHandler::deleteActivePlanAndVehicleParameter(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, 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::id, SUMOVehicleParameter::interpretEdgePos(), MSBaseVehicle::interpretOppositeStop(), MSEdge::isInternal(), MSLane::isInternal(), SUMOVehicleParameter::Stop::lane, MAX2(), MIN_STOP_LENGTH, MSRouteHandler::myActiveRoute, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteStops, MSRouteHandler::myActiveTransportablePlan, MSRouteHandler::myActiveType, MSRouteHandler::myActiveTypeName, MSRouteHandler::myAmLoadingState, MSRouteHandler::myHaveVia, SUMORouteHandler::myInsertStopEdgesAt, MSRouteHandler::myParsingRNG, SUMORouteHandler::myVehicleParameter, OFFROAD, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, MapMatcher< MSEdge, MSLane, MSJunction >::parseGeoEdges(), SUMORouteHandler::parseStop(), MSRouteHandler::PERSON, MSRouteHandler::retrieveStoppingPlace(), SUMOVehicleParameter::Stop::startPos, STOP_END_SET, SUMORouteHandler::STOPPOS_VALID, SUMOVehicleParameter::stops, 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, SUMOVehicleParameter::vtypeid, WAITING, SUMOVehicleParameter::wasSet(), 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 1086 of file MSRouteHandler.cpp.

References MSRouteHandler::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 1730 of file MSRouteHandler.cpp.

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

Referenced by MSRouteHandler::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 776 of file MSRouteHandler.cpp.

References MSRoute::dictionary(), MSEdge::dictionary(), SUMOVehicleParameter::id, SUMORouteHandler::myVehicleParameter, STOP_INDEX_END, SUMOVehicleParameter::stops, TL, VEHPARS_ROUTE_SET, SUMOVehicleParameter::wasSet(), and WRITE_WARNINGF.

Referenced by MSRouteHandler::closeFlow(), and MSRouteHandler::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 198 of file Parameterised.cpp.

References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.

Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().

Here is the caller graph for this function:

◆ areParametersValid()

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

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

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

Here is the caller graph for this function:

◆ callParentEnd()

void GenericSAXHandler::callParentEnd ( int  element)
protectedinherited

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

Definition at line 247 of file GenericSAXHandler.cpp.

References GenericSAXHandler::myEndElement(), and GenericSAXHandler::myParentHandler.

Referenced by myEndElement().

Here is the caller graph for this function:

◆ characters()

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

The inherited method called when characters occurred.

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

Todo:

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

describe characters processing in the class' head

Definition at line 186 of file GenericSAXHandler.cpp.

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

◆ checkLastDepart()

bool SUMORouteHandler::checkLastDepart ( )
protectedvirtualinherited

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

Reimplemented in RORouteHandler.

Definition at line 61 of file SUMORouteHandler.cpp.

References SUMOVehicleParameter::depart, SUMOVehicleParameter::departProcedure, GIVEN, SUMOVehicleParameter::id, SUMORouteHandler::myLastDepart, SUMORouteHandler::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

◆ 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 Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNESingleParametersDialog::onCmdAccept().

Here is the caller graph for this function:

◆ clearState()

virtual void MSDetectorFileOutput::clearState ( SUMOTime  )
inlinevirtualinherited

Remove all vehicles before quick-loading state.

Reimplemented in MSE2Collector, MSE3Collector, MSRouteProbe, and MSInductLoop.

Definition at line 151 of file MSDetectorFileOutput.h.

◆ closeContainer()

void MSRouteHandler::closeContainer ( )
overrideprotectedvirtualinherited

Ends the processing of a container.

Implements SUMORouteHandler.

Definition at line 850 of file MSRouteHandler.cpp.

References MSRouteHandler::closeTransportable().

◆ closeContainerFlow()

void MSRouteHandler::closeContainerFlow ( )
overrideprotectedvirtualinherited

Ends the processing of a containerFlow.

Implements SUMORouteHandler.

Definition at line 862 of file MSRouteHandler.cpp.

References MSRouteHandler::closeTransportableFlow().

◆ closeFlow()

◆ closePerson()

void MSRouteHandler::closePerson ( )
overrideprotectedvirtualinherited

Ends the processing of a person.

Implements SUMORouteHandler.

Definition at line 844 of file MSRouteHandler.cpp.

References MSRouteHandler::closeTransportable().

◆ closePersonFlow()

void MSRouteHandler::closePersonFlow ( )
overrideprotectedvirtualinherited

Ends the processing of a personFlow.

Implements SUMORouteHandler.

Definition at line 856 of file MSRouteHandler.cpp.

References MSRouteHandler::closeTransportableFlow().

◆ closeRoute()

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

closes (ends) the building of a route.

Note
Afterwards no edges may be added to it; this method may throw exceptions when a) the route is empty or b) another route with the same id already exists

Implements SUMORouteHandler.

Definition at line 404 of file MSRouteHandler.cpp.

References RandomDistributor< T >::add(), MSRouteHandler::deleteActivePlanAndVehicleParameter(), MSRoute::dictionary(), MSEdge::dictionary(), MSGlobals::gCheckRoutes, MSNet::getInstance(), MSVehicleType::getVehicleClass(), getVehicleClassNames(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), MSGlobals::gStateLoaded, SUMOVehicleParameter::id, MSRouteHandler::myActiveRoute, SUMORouteHandler::myActiveRouteColor, SUMORouteHandler::myActiveRouteID, MSRouteHandler::myActiveRoutePeriod, MSRouteHandler::myActiveRoutePermanent, SUMORouteHandler::myActiveRouteProbability, SUMORouteHandler::myActiveRouteRefID, MSRouteHandler::myActiveRouteRepeat, MSRouteHandler::myActiveRouteReplacedAtTime, MSRouteHandler::myActiveRouteReplacedIndex, SUMORouteHandler::myActiveRouteStops, MSRouteHandler::myAmLoadingState, SUMORouteHandler::myCurrentCosts, MSRouteHandler::myCurrentRouteDistribution, MSRouteHandler::myParsingRNG, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::repetitionNumber, MSRoute::setCosts(), MSRoute::setPeriod(), MSRoute::setReroute(), STOP_INDEX_REPEAT, SVC_IGNORING, TLF, and SUMOVehicleParameter::vtypeid.

Referenced by MSRouteHandler::closeFlow(), and MSRouteHandler::closeTrip().

Here is the caller graph for this function:

◆ closeRouteDistribution()

void MSRouteHandler::closeRouteDistribution ( )
overrideprotectedvirtualinherited

◆ closeTransportable()

◆ closeTransportableFlow()

◆ closeTrip()

void MSRouteHandler::closeTrip ( )
overrideprotectedvirtualinherited

◆ 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(), MSRouteHandler::addVehicleStopsToImplicitRoute(), SUMOVehicleParameter::arrivalEdge, SUMOVehicleParameter::arrivalEdgeProcedure, BEGIN, MSVehicleControl::buildVehicle(), SUMORouteHandler::checkLastDepart(), MSInsertionControl::computeRandomDepartOffset(), DEFAULT, DEFAULT_VTYPE_ID, MSRouteHandler::deleteActivePlanAndVehicleParameter(), MSVehicleControl::deleteVehicle(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departEdge, SUMOVehicleParameter::departEdgeProcedure, SUMOVehicleParameter::departProcedure, MSRoute::dictionary(), MSRoute::distDictionary(), MSVehicleControl::fixVehicleCounts(), 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, MSRouteHandler::myAddVehiclesDirectly, MSRouteHandler::myAmLoadingState, MSRouteHandler::myParsingRNG, MSRouteHandler::myReplayRerouting, MSRouteHandler::myScaleSuffix, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::parametersSet, SUMORouteHandler::registerLastDepart(), MSVehicleControl::ROUTEFILE, SUMOVehicleParameter::routeid, SUMOVTypeParameter::scale, MSVehicleControl::STATE, SUMOVehicleParameter::stops, string2time(), SVC_PEDESTRIAN, TL, TLF, toString(), VEHPARS_FORCE_REROUTE, VEHPARS_ROUTE_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), WRITE_WARNING, and WRITE_WARNINGF.

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

Here is the caller graph for this function:

◆ closeVehicleTypeDistribution()

void MSRouteHandler::closeVehicleTypeDistribution ( )
overrideprotectedvirtualinherited

◆ closeVType()

◆ convert()

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

converts from c++-string into unicode

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

Definition at line 86 of file GenericSAXHandler.cpp.

Referenced by GenericSAXHandler::GenericSAXHandler().

Here is the caller graph for this function:

◆ convertTag()

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

Converts a tag from its string into its numerical representation.

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

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

Definition at line 195 of file GenericSAXHandler.cpp.

References GenericSAXHandler::myTagMap, and SUMO_TAG_NOTHING.

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

Here is the caller graph for this function:

◆ 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 MSMeanData::MeanDataValues::getSamples(), MSMeanData::MeanDataValues::getTravelledDistance(), and myEdgeMeanData.

Referenced by GUICalibrator::getParameterWindow().

Here is the caller graph for this function:

◆ deleteActivePlanAndVehicleParameter()

void MSRouteHandler::deleteActivePlanAndVehicleParameter ( )
privateinherited

◆ 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.

◆ detectPersons()

bool MSDetectorFileOutput::detectPersons ( ) const
inlineinherited

Definition at line 146 of file MSDetectorFileOutput.h.

References MSDetectorFileOutput::myDetectPersons.

Referenced by MSMeanData::init(), and MSDetectorFileOutput::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 GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, GenericSAXHandler::mySection, GenericSAXHandler::mySectionOpen, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, SUMO_TAG_NOTHING, and StringUtils::transcode().

◆ error()

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

Handler for XML-errors.

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

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

Definition at line 224 of file GenericSAXHandler.cpp.

References GenericSAXHandler::buildErrorMessage().

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

Here is the caller graph for this function:

◆ execute()

SUMOTime MSCalibrator::execute ( SUMOTime  currentTime)
virtual

the implementation of the MSTrigger / Command interface. Calibrating takes place here.

Implements Command.

Reimplemented in METriggeredCalibrator.

Definition at line 354 of file MSCalibrator.cpp.

References MSVehicleControl::buildVehicle(), DEBUGCOND, MSVehicleControl::deleteVehicle(), DELTA_T, SUMOVehicleParameter::depart, SUMOVehicleParameter::departLaneProcedure, MSRoute::dictionary(), FIRST_ALLOWED, MSGlobals::gCheckRoutes, Named::getID(), MSLane::getIndex(), MSNet::getInstance(), getNewVehicleID(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOVehicleParameter::id, MSEdge::insertVehicle(), intervalEnd(), invalidJam(), isCurrentStateActive(), MAX2(), myAmActive, myClearedInJam, myCurrentStateInterval, myDefaultSpeed, myDidSpeedAdaption, myEdge, myEdgeMeanData, myFrequency, myHaveInvalidJam, myInserted, myIntervals, myLane, myProbe, mySpeedIsDefault, MSMeanData_Net::MSLaneMeanDataValues::nVehArrived, MSMeanData_Net::MSLaneMeanDataValues::nVehDeparted, MSMeanData_Net::MSLaneMeanDataValues::nVehEntered, MSMeanData_Net::MSLaneMeanDataValues::nVehLeft, MSMeanData_Net::MSLaneMeanDataValues::nVehVaporized, passed(), removePending(), reset(), MSBaseVehicle::resetRoutePosition(), SUMOVehicleParameter::routeid, MSRouteProbe::sampleRoute(), MSLane::setMaxSpeed(), MSEdge::setMaxSpeed(), STEPS2TIME, TIME2STEPS, time2string(), TL, totalWished(), MSVehicleControl::TRIGGER, updateMeanData(), SUMOVehicleParameter::vtypeid, MSMeanData_Net::MSLaneMeanDataValues::waitSeconds, WRITE_WARNING, and WRITE_WARNINGF.

Referenced by MSCalibrator::CalibratorCommand::execute().

Here is the caller graph for this function:

◆ fatalError()

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

Handler for XML-errors.

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

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

Definition at line 230 of file GenericSAXHandler.cpp.

References GenericSAXHandler::buildErrorMessage().

◆ 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.

◆ 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 363 of file SUMORouteHandler.cpp.

References SUMORouteHandler::myFirstDepart.

Referenced by SUMORouteLoader::getFirstDepart().

Here is the caller graph for this function:

◆ getID()

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

Returns the id.

Returns
The stored id

Definition at line 74 of file Named.h.

References Named::myID.

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

◆ getIDSecure()

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

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

Definition at line 67 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), AFRouter< E, N, V, M >::compute(), AStarRouter< E, V, M >::compute(), DijkstraRouter< E, V >::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(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSStoppingPlaceRerouter::reroute(), MSBaseVehicle::reroute(), MSLaneChanger::resolveDeadlock(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().

◆ getInserted()

int MSCalibrator::getInserted ( ) const
inline

◆ getInstances()

static 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.

◆ getLane()

const MSLane * MSCalibrator::getLane ( ) const
inline

Definition at line 113 of file MSCalibrator.h.

References myLane.

Referenced by libsumo::Helper::findObjectShape(), and GUICalibrator::GUICalibrator().

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.

◆ getLastDepart()

SUMOTime SUMORouteHandler::getLastDepart ( ) const
inherited

Returns the last loaded depart time.

Definition at line 369 of file SUMORouteHandler.cpp.

References SUMORouteHandler::myLastDepart.

Referenced by SUMORouteLoader::loadUntil().

Here is the caller graph for this function:

◆ 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 Parameterised::myMap.

Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSVehicleType::check(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::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(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NIImporter_OpenStreetMap::insertNodeChecking(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), 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(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), 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

Returns the inner key/value map.

Definition at line 124 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEStopPlan::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().

◆ getParametersStr()

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

◆ getParsingRNG()

static 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 1848 of file MSRouteHandler.cpp.

References MSRouteHandler::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.

◆ getVehicleTypes()

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

Definition at line 142 of file MSDetectorFileOutput.h.

References MSDetectorFileOutput::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 Parameterised::myMap.

Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), 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()

◆ 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 1688 of file MSRouteHandler.cpp.

References CENTER, MSStageMoving::checkDepartLane(), GenericSAXHandler::error(), FREE, MSLane::getWidth(), GIVEN, SUMOVehicleParameter::id, LEFT, MSRouteHandler::myActiveRoute, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::parseDepartPosLat(), RANDOM, RANDOM_FREE, MSPModel::RANDOM_POS_LAT, RIGHT, SVC_IGNORING, TLF, and MSPModel::UNSPECIFIED_POS_LAT.

Referenced by MSRouteHandler::addPersonTrip(), and MSRouteHandler::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 MSEdge::getLanes(), MSLane::getMeanSpeed(), MSEdge::getSpeedLimit(), 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.

Referenced by GUICalibrator::drawGL(), GUICalibrator::getParameterWindow(), and MSCalibrator::VehicleRemover::notifyEnter().

Here is the caller graph for this function:

◆ 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 233 of file Parameterised.cpp.

References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().

Referenced by Parameterised::areAttributesValid(), and Parameterised::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 353 of file SUMORouteHandler.cpp.

References SUMORouteHandler::checkStopPos(), and SUMORouteHandler::STOPPOS_VALID.

Referenced by GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), and GNEStop::isValid().

Here is the caller graph for this function:

◆ 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 MSDetectorFileOutput::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 Parameterised::getParameter(), Parameterised::hasParameter(), and Parameterised::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 GenericSAXHandler::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 GenericSAXHandler::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(), SUMOVehicleParameter::fromTaz, SUMOSAXAttributes::get(), OptionsCont::getBool(), MSNet::getInstance(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), MSVehicleType::getParameter(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, JUNCTION_TAZ_MISSING_HELP, MSRouteHandler::myActiveRoute, SUMORouteHandler::myActiveRouteID, MSRouteHandler::myHaveVia, SUMORouteHandler::myInsertStopEdgesAt, MapMatcher< MSEdge, MSLane, MSJunction >::myMapMatchTAZ, MSRouteHandler::myParsingRNG, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::parametersSet, MSEdge::parseEdgesList(), MapMatcher< MSEdge, MSLane, MSJunction >::parseGeoEdges(), SUMOVehicleParameter::routeid, 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(), SUMOVehicleParameter::toTaz, SUMOVTypeParameter::vehicleClass, VEHPARS_FROM_TAZ_SET, VEHPARS_TO_TAZ_SET, SUMOVehicleParameter::via, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), and WRITE_WARNINGF.

Referenced by MSRouteHandler::addPersonTrip(), and MSRouteHandler::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.

◆ 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 391 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::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::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_LINE_SET, STOP_ONDEMAND_SET, STOP_PARKING_SET, STOP_PERMITTED_SET, STOP_POSLAT_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_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_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, myRemoved, MSMeanData_Net::MSLaneMeanDataValues::nVehDeparted, and MSMeanData_Net::MSLaneMeanDataValues::nVehEntered.

Referenced by currentFlow(), execute(), GUICalibrator::getParameterWindow(), MSCalibrator::VehicleRemover::notifyEnter(), 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(), MSDetectorFileOutput::myDetectPersons, PUBLIC, SVC_BICYCLE, SVC_PUBLIC_CLASSES, SVC_TAXI, and TAXI.

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

Here is the caller graph for this function:

◆ registerLastDepart()

void SUMORouteHandler::registerLastDepart ( )
protectedinherited

◆ registerParent()

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

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

Definition at line 178 of file GenericSAXHandler.cpp.

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

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

Here is the caller graph for this function:

◆ 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, myLaneMeanData, and MSMeanData_Net::MSLaneMeanDataValues::reset().

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 MSRouteHandler::myActiveTransportablePlan, MSRouteHandler::myActiveType, SUMORouteHandler::myVehicleParameter, and MSRouteHandler::UNDEFINED.

Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), and MSRouteHandler::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 1854 of file MSRouteHandler.cpp.

References MSEdge::dictionary().

◆ retrieveNextSectionStart()

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

Definition at line 213 of file GenericSAXHandler.h.

References GenericSAXHandler::myNextSectionStart.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ 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.

Referenced by MSCalibrator::VehicleRemover::notifyEnter().

Here is the caller graph for this function:

◆ sectionFinished()

bool GenericSAXHandler::sectionFinished ( ) const
inlineinherited

Definition at line 209 of file GenericSAXHandler.h.

References GenericSAXHandler::mySectionEnded.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ setFileName()

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

Sets the current file name.

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

Definition at line 74 of file GenericSAXHandler.cpp.

References GenericSAXHandler::myFileName.

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

Here is the caller graph for this function:

◆ 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 Named::myID.

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

Here is the caller graph for this function:

◆ 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 MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), RONetHandler::addParam(), ShapeHandler::addPOI(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), Parameterised::mergeParameters(), MSStateHandler::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNESingleParametersDialog::onCmdAccept(), NBRailwayTopologyAnalyzer::reverseEdges(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

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

Definition at line 146 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ 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 152 of file Parameterised.cpp.

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

Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), and GNEDetector::setDetectorAttribute().

Here is the caller graph for this function:

◆ setSection()

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

Definition at line 202 of file GenericSAXHandler.h.

References GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, and GenericSAXHandler::mySectionSeen.

Referenced by SUMOSAXReader::parseSection().

Here is the caller graph for this function:

◆ 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 MSTrafficLightLogic::SwitchCommand, and MSCalibrator::CalibratorCommand.

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 GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myExpectedRoot, GenericSAXHandler::myNextSectionStart, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myRootSeen, GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, GenericSAXHandler::mySectionSeen, GenericSAXHandler::myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, SUMO_TAG_INCLUDE, TL, StringUtils::transcode(), and WRITE_WARNINGF.

◆ 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(), GUICalibrator::getParameterWindow(), and MSCalibrator::VehicleRemover::notifyEnter().

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 Parameterised::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, myLaneMeanData, and MSMeanData_Net::MSLaneMeanDataValues::reset().

Referenced by execute(), MSCalibrator::VehicleRemover::notifyEnter(), 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 GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.

◆ writeParams()

void Parameterised::writeParams ( OutputDevice device) const
inherited

write Params in the given outputdevice

Definition at line 167 of file Parameterised.cpp.

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

Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::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(), 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::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::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(), MSMeanData::MeanDataValues::getSamples(), MSMeanData::MeanDataValues::getTravelledDistance(), myClearedInJam, myCurrentStateInterval, myEdgeMeanData, myInserted, myRemoved, MSMeanData_Net::MSLaneMeanDataValues::nVehDeparted, MSMeanData_Net::MSLaneMeanDataValues::nVehEntered, MSMeanData_Net::MSLaneMeanDataValues::nVehTeleported, MSMeanData_Net::MSLaneMeanDataValues::nVehVaporized, 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:

Friends And Related Symbol Documentation

◆ GUICalibrator

friend class GUICalibrator
friend

Definition at line 231 of file MSCalibrator.h.

Field Documentation

◆ myActiveRoute

◆ myActiveRouteColor

const RGBColor* SUMORouteHandler::myActiveRouteColor
protectedinherited

The currently parsed route's color.

Definition at line 228 of file SUMORouteHandler.h.

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

◆ myActiveRouteID

◆ myActiveRoutePeriod

SUMOTime MSRouteHandler::myActiveRoutePeriod
protectedinherited

Definition at line 195 of file MSRouteHandler.h.

Referenced by MSRouteHandler::closeRoute(), and MSRouteHandler::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 MSRouteHandler::closeRoute(), and MSRouteHandler::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 MSRouteHandler::closeRoute(), and MSRouteHandler::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 MSRouteHandler::closeRoute(), and MSRouteHandler::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 MSRouteHandler::closeRoute(), and MSRouteHandler::openRoute().

◆ myActiveRouteStops

std::vector<SUMOVehicleParameter::Stop> SUMORouteHandler::myActiveRouteStops
protectedinherited

List of the stops on the parsed route.

Definition at line 234 of file SUMORouteHandler.h.

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

◆ myActiveTransportablePlan

◆ myActiveType

◆ myActiveTypeName

std::string MSRouteHandler::myActiveTypeName
protectedinherited

◆ 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 MSRouteHandler::closeFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), and MSRouteHandler::closeVehicle().

◆ 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(), and SUMORouteHandler::myStartElement().

◆ 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(), and isActive().

◆ myAmLoadingState

bool MSRouteHandler::myAmLoadingState
protectedinherited

◆ 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.

◆ myBeginDefault

SUMOTime SUMORouteHandler::myBeginDefault
protectedinherited

The default value for flow begins.

Definition at line 240 of file SUMORouteHandler.h.

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

◆ myCharactersVector

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

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

Definition at line 324 of file GenericSAXHandler.h.

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

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

◆ myCurrentCosts

double SUMORouteHandler::myCurrentCosts
protectedinherited

The currently parsed route costs.

Definition at line 231 of file SUMORouteHandler.h.

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

◆ myCurrentRouteDistribution

RandomDistributor<ConstMSRoutePtr>* MSRouteHandler::myCurrentRouteDistribution
protectedinherited

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

Definition at line 228 of file MSRouteHandler.h.

Referenced by MSRouteHandler::closeRoute(), MSRouteHandler::closeRouteDistribution(), MSRouteHandler::openRoute(), and MSRouteHandler::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 MSRouteHandler::closeRouteDistribution(), MSRouteHandler::openRoute(), and MSRouteHandler::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 MSRouteHandler::closeVehicleTypeDistribution(), MSRouteHandler::closeVType(), and MSRouteHandler::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 MSRouteHandler::closeVehicleTypeDistribution(), and MSRouteHandler::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 GUICalibrator::getParameterWindow().

◆ 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(), and intervalEnd().

◆ 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 SUMORouteHandler::myEndElement(), and SUMORouteHandler::myStartElement().

◆ myEndDefault

SUMOTime SUMORouteHandler::myEndDefault
protectedinherited

The default value for flow ends.

Definition at line 243 of file SUMORouteHandler.h.

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

◆ myErrorOutput

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

Definition at line 233 of file MapMatcher.h.

◆ myExpectedRoot

std::string GenericSAXHandler::myExpectedRoot
privateinherited

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

Definition at line 336 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler::startElement().

◆ myFileName

std::string GenericSAXHandler::myFileName
privateinherited

The name of the currently parsed file.

Definition at line 333 of file GenericSAXHandler.h.

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

◆ myFirstDepart

SUMOTime SUMORouteHandler::myFirstDepart
protectedinherited

the first read departure time

Definition at line 246 of file SUMORouteHandler.h.

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

◆ 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(), and METriggeredCalibrator::maximumInflow().

◆ 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::VehicleRemover::notifyEnter().

◆ myHaveVia

bool MSRouteHandler::myHaveVia
protectedinherited

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

Definition at line 213 of file MSRouteHandler.h.

Referenced by MSRouteHandler::addStop(), MSRouteHandler::myStartElement(), and MSRouteHandler::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::VehicleRemover::notifyEnter().

◆ myID

std::string Named::myID
protectedinherited

The name of the object.

Definition at line 125 of file Named.h.

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

◆ 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(), 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(), and invalidJam().

◆ 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.

◆ myLastDepart

SUMOTime SUMORouteHandler::myLastDepart
protectedinherited

The insertion time of the vehicle read last.

Definition at line 216 of file SUMORouteHandler.h.

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

◆ 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.

◆ myMapMatchJunctions

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

Definition at line 231 of file MapMatcher.h.

◆ myMapMatchTAZ

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

Definition at line 217 of file MapMatcher.h.

◆ 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::MSDetectorFileOutput(), MSE2Collector::notifyMove(), and MSDetectorFileOutput::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 GUICalibrator::GUICalibrator(), and 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

◆ myParentHandler

GenericSAXHandler* GenericSAXHandler::myParentHandler
privateinherited

The handler to give control back to.

Definition at line 327 of file GenericSAXHandler.h.

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

◆ myParentIndicator

int GenericSAXHandler::myParentIndicator
privateinherited

The tag indicating that control should be given back.

Definition at line 330 of file GenericSAXHandler.h.

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

◆ myParsingRNG

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

◆ myPredefinedTags

AttrMap GenericSAXHandler::myPredefinedTags
privateinherited

◆ myPredefinedTagsMML

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

the map from ids to their string representation

Definition at line 309 of file GenericSAXHandler.h.

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

◆ 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(), and getRouteProbe().

◆ 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::VehicleRemover::notifyEnter(), 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 MSRouteHandler::closeVehicle().

◆ myRootSeen

bool GenericSAXHandler::myRootSeen = false
privateinherited

whether the reader has already seen the root element

Definition at line 342 of file GenericSAXHandler.h.

Referenced by GenericSAXHandler::startElement().

◆ myScaleSuffix

std::string MSRouteHandler::myScaleSuffix
protectedinherited

prefix when copying vehicles with –scale

Definition at line 237 of file MSRouteHandler.h.

Referenced by MSRouteHandler::closeVehicle().

◆ mySection

int GenericSAXHandler::mySection = -1
privateinherited

The tag indicating the current section to parse.

Definition at line 345 of file GenericSAXHandler.h.

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

◆ mySectionEnded

bool GenericSAXHandler::mySectionEnded = false
privateinherited

whether the reader has already seen the end of the section

Definition at line 351 of file GenericSAXHandler.h.

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

◆ mySectionOpen

bool GenericSAXHandler::mySectionOpen = false
privateinherited

whether an element of the current section is open

Definition at line 354 of file GenericSAXHandler.h.

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

◆ mySectionSeen

bool GenericSAXHandler::mySectionSeen = false
privateinherited

whether the reader has already seen the begin of the section

Definition at line 348 of file GenericSAXHandler.h.

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

◆ 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(), and execute().

◆ 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 MSRouteHandler::addRideOrTransport(), and MSRouteHandler::closeTransportableFlow().

◆ myTagMap

TagMap GenericSAXHandler::myTagMap
privateinherited

◆ 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(), MSRouteHandler::addPersonTrip(), RORouteHandler::addPersonTrip(), RORouteHandler::addRide(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MSRouteHandler::addTranship(), RORouteHandler::addTransport(), MSRouteHandler::addTransportable(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSRouteHandler::addWalk(), RORouteHandler::addWalk(), SUMORouteHandler::checkLastDepart(), RORouteHandler::closeContainer(), RORouteHandler::closeContainerFlow(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), RORouteHandler::closeRoute(), MSRouteHandler::closeRouteDistribution(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeTrip(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSRouteHandler::deleteActivePlanAndVehicleParameter(), RORouteHandler::deleteActivePlanAndVehicleParameter(), MSRouteHandler::interpretDepartPosLat(), MSStateHandler::myEndElement(), SUMORouteHandler::myEndElement(), MSStateHandler::myStartElement(), SUMORouteHandler::myStartElement(), MSRouteHandler::myStartElement(), RORouteHandler::myStartElement(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), RORouteHandler::parseWalkPositions(), SUMORouteHandler::registerLastDepart(), MSRouteHandler::resetActivePlanAndVehicleParameter(), and SUMORouteHandler::~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

◆ priority

int Command::priority = 0
inherited

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