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

#include <MSStageTrip.h>

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

Public Types

typedef std::map< std::string, std::string > Map
 parameters map

Public Member Functions

virtual void abort (MSTransportable *)
 abort this stage (TraCI)
void clearParameter ()
 Clears the parameter map.
MSStageclone () const
virtual bool equals (const MSStage &s) const
double getAngle (SUMOTime now) const
 returns the angle of the transportable
virtual double getArrivalPos () const
virtual double getArrivalPosLat () const
SUMOTime getArrived () const
 get arrival time of stage
double getCosts () const
 Returns the costs of the stage.
SUMOTime getDeparted () const
 get departure time of stage
const MSEdgegetDestination () const
 returns the destination edge
std::string getDestinationDescription () const
MSStoppingPlacegetDestinationStop () const
 returns the destination stop (if any)
virtual int getDirection () const
 Return the movement directon on the edge.
double getDistance () const
 get travel distance in this stage
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double.
SUMOTime getDuration () const
 trip doesn't participate in plan summary
const MSEdgegetEdge () const
 Returns the current edge.
double getEdgeAngle (const MSEdge *e, double at) const
 get angle of the edge at a certain position
double getEdgePos (SUMOTime now) const
Position getEdgePosition (const MSEdge *e, double at, double offset) const
 get position on edge e at length at with orthogonal offset
virtual double getEdgePosLat (SUMOTime now) const
virtual ConstMSEdgeVector getEdges () const
 the edges of the current stage
virtual const MSEdgegetFromEdge () const
const std::string & getGroup () const
 return the id of the group of transportables traveling together
virtual SUMOTime getJumpDuration () const
 Return the current jump duration (if applicable).
virtual const MSLanegetLane () const
 Returns the current lane (if applicable).
Position getLanePosition (const MSLane *lane, double at, double offset) const
 get position on lane at length at with orthogonal offset
std::string getOriginDescription () const
MSStoppingPlacegetOriginStop () const
 returns the origin stop (if any). only needed for MSStageTrip
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".
Position getPosition (SUMOTime now) const
 returns the position of the transportable
virtual int getRoutePosition () const
 return index of current edge within route
virtual double getSpeed () const
 the speed of the transportable
std::string getStageDescription (const bool isPerson) const
 return (brief) string representation of the current stage
std::string getStageSummary (const bool isPerson) const
 return string summary of the current stage
MSStageType getStageType () const
virtual SUMOTime getTimeLoss (const MSTransportable *transportable) const
virtual SUMOTime getTotalWaitingTime () const
SUMOTime getTravelTime () const
MSStageTripgetTrip () const
virtual SUMOVehiclegetVehicle () const
 Current vehicle in which the transportable is driving (or nullptr).
std::vector< SUMOVehicle * > getVehicles (MSVehicleControl &vehControl, MSTransportable *transportable, const MSEdge *origin)
virtual SUMOTime getWaitingTime () const
bool hasParameter (const std::string &key) const
 Returns whether the parameter is set.
virtual void init (MSTransportable *)
 initialization, e.g. for param-related events
virtual bool isWaiting4Vehicle () const
 Whether the transportable waits for a vehicle.
virtual bool isWaitingFor (const SUMOVehicle *vehicle) const
 Whether the transportable waits for the given vehicle.
bool isWalk () const
 Whether the transportable is walking.
virtual void loadState (MSTransportable *transportable, std::istringstream &state)
 Reconstructs the current state, standard implementation does nothing.
void markSet (int what)
void mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true)
 Adds or appends all given parameters from the map.
 MSStageTrip (const MSEdge *origin, MSStoppingPlace *fromStop, const MSEdge *destination, MSStoppingPlace *toStop, const SUMOTime duration, const SVCPermissions modeSet, const std::string &vTypes, const double speed, const double walkFactor, const std::string &group, const double departPosLat, const bool hasArrivalPos, const double arrivalPos)
 constructor
void proceed (MSNet *net, MSTransportable *transportable, SUMOTime now, MSStage *previous)
 proceeds to the next step
const std::string reroute (const SUMOTime time, MSTransportableRouter &router, MSTransportable *const transportable, MSStage *previous, const MSEdge *origin, const MSEdge *destination, std::vector< MSStage * > &stages)
void routeOutput (const bool isPerson, OutputDevice &os, const bool withRouteLength, const MSStage *const previous) const
 Called on writing vehroute output.
virtual void saveState (std::ostringstream &out)
 Saves the current state into the given stream, standard implementation does nothing.
void setArrivalPos (double arrivalPos)
const std::string setArrived (MSNet *net, MSTransportable *transportable, SUMOTime now, const bool vehicleArrived)
 logs end of the step
void setCosts (double costs)
 Sets the costs of the stage.
void setDeparted (SUMOTime now)
 logs end of the step
void setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop)
void setOrigin (const MSEdge *origin, MSStoppingPlace *originStop, double departPos)
 change origin for parking area rerouting
virtual void setParameter (const std::string &key, const std::string &value)
 Sets a parameter.
void setParameters (const Parameterised &params)
 set the given key/value map in map<string, string> format
void setParameters (const std::vector< std::pair< std::string, std::string > > &params)
 set the given key/value vector in map<string, string> format
void setParametersStr (const std::string &paramsString, const std::string kvsep="=", const std::string sep="|")
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
virtual void setSpeed (double)
 sets the walking speed (ignored in other stages)
void setTrip (MSStageTrip *trip)
void tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const
 Called on writing tripinfo output.
void unsetParameter (const std::string &key)
 Removes a parameter.
bool unspecifiedArrivalPos () const
void updateParameters (const Parameterised::Map &mapArg)
 Adds or updates all given parameters from the map.
bool wasSet (int what) const
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice
virtual ~MSStageTrip ()
 destructor

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

static const double ARRIVALPOS_UNSPECIFIED
 sentinel value

Protected Attributes

double myArrivalPos
 the longitudinal position at which we want to arrive
double myArrivalPosLat
 the lateral position at which we want to arrive
SUMOTime myArrived
 the time at which this stage ended
double myCosts
 The assigned or calculated costs.
SUMOTime myDeparted
 the time at which this stage started
const MSEdgemyDestination
 the next edge to reach by getting transported
MSStoppingPlacemyDestinationStop
 the stop to reach by getting transported (if any)
const std::string myGroup
 The id of the group of transportables traveling together.
int myParametersSet
 Information on which parameter were set (mainly for vehroute output).
MSStageTripmyTrip = nullptr
MSStageType myType
 The type of this stage.

Static Protected Attributes

static const double ROADSIDE_OFFSET
 the offset for computing positions when standing at an edge

Private Member Functions

 MSStageTrip (const MSStageTrip &)
 Invalidated copy constructor.
MSStageTripoperator= (const MSStageTrip &)
 Invalidated assignment operator.

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

double myDepartPos
 The depart position.
const double myDepartPosLat
 The lateral depart position.
SUMOTime myDuration
 the time the trip should take (applies to only walking)
const bool myHaveArrivalPos
 whether an arrivalPos was in the input
Parameterised::Map myMap
 The key->value map.
const SVCPermissions myModeSet
 The allowed modes of transportation.
const MSEdgemyOrigin
 the origin edge
MSStoppingPlacemyOriginStop
 the origin edge
const double mySpeed
 The walking speed.
const std::string myVTypes
 The possible vehicles to use.
const double myWalkFactor
 The factor to apply to walking durations.

Detailed Description

A "placeholder" stage storing routing info which will result in real stages when routed

Definition at line 40 of file MSStageTrip.h.

Member Typedef Documentation

◆ Map

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

parameters map

Definition at line 45 of file Parameterised.h.

Constructor & Destructor Documentation

◆ MSStageTrip() [1/2]

MSStageTrip::MSStageTrip ( const MSEdge * origin,
MSStoppingPlace * fromStop,
const MSEdge * destination,
MSStoppingPlace * toStop,
const SUMOTime duration,
const SVCPermissions modeSet,
const std::string & vTypes,
const double speed,
const double walkFactor,
const std::string & group,
const double departPosLat,
const bool hasArrivalPos,
const double arrivalPos )

constructor

Definition at line 51 of file MSStageTrip.cpp.

References MSStage::MSStage(), myDepartPosLat, myDuration, myHaveArrivalPos, myModeSet, myOrigin, myOriginStop, mySpeed, myVTypes, and myWalkFactor.

Referenced by clone(), MSStageTrip(), and operator=().

Here is the caller graph for this function:

◆ ~MSStageTrip()

MSStageTrip::~MSStageTrip ( )
virtual

destructor

Definition at line 70 of file MSStageTrip.cpp.

◆ MSStageTrip() [2/2]

MSStageTrip::MSStageTrip ( const MSStageTrip & )
private

Invalidated copy constructor.

References MSStageTrip().

Member Function Documentation

◆ abort()

virtual void MSStage::abort ( MSTransportable * )
inlinevirtualinherited

abort this stage (TraCI)

Reimplemented in MSStageDriving, MSStageWaiting, and MSStageWalking.

Definition at line 157 of file MSStage.h.

Referenced by GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject().

Here is the caller graph for this function:

◆ areAttributesValid()

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

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

Definition at line 207 of file Parameterised.cpp.

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

◆ areParametersValid()

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

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

Definition at line 188 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 118 of file Parameterised.cpp.

References myMap.

◆ clone()

◆ equals()

virtual bool MSStage::equals ( const MSStage & s) const
inlinevirtualinherited

Reimplemented in MSStageDriving, MSStageMoving, and MSStageWalking.

Definition at line 291 of file MSStage.h.

References MSStage(), myArrivalPos, myArrivalPosLat, myDestination, myDestinationStop, myGroup, and myType.

Referenced by MSStageDriving::equals(), and MSStageMoving::equals().

Here is the caller graph for this function:

◆ getAngle()

double MSStageTrip::getAngle ( SUMOTime now) const
virtual

returns the angle of the transportable

Implements MSStage.

Definition at line 91 of file MSStageTrip.cpp.

References MSStage::getEdgeAngle(), MSGlobals::gLefthand, M_PI, myDepartPos, and myOrigin.

◆ getArrivalPos()

◆ getArrivalPosLat()

virtual double MSStage::getArrivalPosLat ( ) const
inlinevirtualinherited

Definition at line 104 of file MSStage.h.

References myArrivalPosLat.

Referenced by MSPerson::checkAccess().

Here is the caller graph for this function:

◆ getArrived()

SUMOTime MSStage::getArrived ( ) const
inherited

get arrival time of stage

Definition at line 127 of file MSStage.cpp.

References myArrived.

Referenced by LIBSUMO_NAMESPACE::Person::getStage().

Here is the caller graph for this function:

◆ getCosts()

double MSStage::getCosts ( ) const
inlineinherited

Returns the costs of the stage.

Returns
The stage's costs (normally the time needed to pass it)

Definition at line 271 of file MSStage.h.

References myCosts.

Referenced by MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), and MSStageWalking::routeOutput().

Here is the caller graph for this function:

◆ getDeparted()

SUMOTime MSStage::getDeparted ( ) const
inherited

get departure time of stage

Definition at line 122 of file MSStage.cpp.

References myDeparted.

Referenced by LIBSUMO_NAMESPACE::Person::getStage().

Here is the caller graph for this function:

◆ getDestination()

◆ getDestinationDescription()

std::string MSStageTrip::getDestinationDescription ( ) const

Definition at line 363 of file MSStageTrip.cpp.

References MSStage::myDestination, MSStage::myDestinationStop, and toString().

Referenced by getStageSummary(), and reroute().

Here is the caller graph for this function:

◆ getDestinationStop()

◆ getDirection()

int MSStage::getDirection ( ) const
virtualinherited

Return the movement directon on the edge.

Reimplemented in MSStageDriving, and MSStageMoving.

Definition at line 95 of file MSStage.cpp.

References MSPModel::UNDEFINED_DIRECTION.

◆ getDistance()

double MSStageTrip::getDistance ( ) const
inlinevirtual

get travel distance in this stage

Implements MSStage.

Definition at line 67 of file MSStageTrip.h.

◆ getDouble()

◆ getDuration()

SUMOTime MSStageTrip::getDuration ( ) const
inlinevirtual

trip doesn't participate in plan summary

Reimplemented from MSStage.

Definition at line 111 of file MSStageTrip.h.

◆ getEdge()

const MSEdge * MSStageTrip::getEdge ( ) const
virtual

Returns the current edge.

Reimplemented from MSStage.

Definition at line 98 of file MSStageTrip.cpp.

References myOrigin.

◆ getEdgeAngle()

double MSStage::getEdgeAngle ( const MSEdge * e,
double at ) const
inherited

get angle of the edge at a certain position

Definition at line 182 of file MSStage.cpp.

References MSEdge::getLanes().

Referenced by MSPModel_NonInteracting::CState::getAngle(), MSPModel_NonInteracting::PState::getAngle(), MSStageDriving::getAngle(), MSStageTrip::getAngle(), and MSStageWaiting::getAngle().

Here is the caller graph for this function:

◆ getEdgePos()

double MSStageTrip::getEdgePos ( SUMOTime now) const
virtual

Reimplemented from MSStage.

Definition at line 104 of file MSStageTrip.cpp.

References myDepartPos.

◆ getEdgePosition()

Position MSStage::getEdgePosition ( const MSEdge * e,
double at,
double offset ) const
inherited

get position on edge e at length at with orthogonal offset

Definition at line 171 of file MSStage.cpp.

References getLanePosition(), and MSEdge::getLanes().

Referenced by MSStageDriving::getPosition(), MSStageTrip::getPosition(), and MSStageWaiting::getPosition().

Here is the caller graph for this function:

◆ getEdgePosLat()

double MSStage::getEdgePosLat ( SUMOTime now) const
virtualinherited

Definition at line 89 of file MSStage.cpp.

References myArrivalPosLat.

Referenced by MSPerson::checkAccess(), and MSStageWalking::proceed().

Here is the caller graph for this function:

◆ getEdges()

ConstMSEdgeVector MSStage::getEdges ( ) const
virtualinherited

the edges of the current stage

Reimplemented in MSStageDriving, and MSStageMoving.

Definition at line 107 of file MSStage.cpp.

References getDestination().

Referenced by LIBSUMO_NAMESPACE::Person::getEdges(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageTrip::reroute(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), and MSDetectorFileOutput::vehicleApplies().

Here is the caller graph for this function:

◆ getFromEdge()

const MSEdge * MSStage::getFromEdge ( ) const
virtualinherited

Reimplemented in MSStageDriving, and MSStageMoving.

Definition at line 77 of file MSStage.cpp.

References myDestination.

Referenced by MSTransportable::rerouteParkingArea().

Here is the caller graph for this function:

◆ getGroup()

const std::string & MSStage::getGroup ( ) const
inlineinherited

return the id of the group of transportables traveling together

Definition at line 143 of file MSStage.h.

References myGroup.

◆ getJumpDuration()

virtual SUMOTime MSStage::getJumpDuration ( ) const
inlinevirtualinherited

Return the current jump duration (if applicable).

Reimplemented in MSStageWaiting.

Definition at line 133 of file MSStage.h.

Referenced by MSPerson::checkAccess(), and MSPerson::MSPersonStage_Access::proceed().

Here is the caller graph for this function:

◆ getLane()

virtual const MSLane * MSStage::getLane ( ) const
inlinevirtualinherited

Returns the current lane (if applicable).

Reimplemented in MSStageDriving, and MSStageMoving.

Definition at line 128 of file MSStage.h.

◆ getLanePosition()

Position MSStage::getLanePosition ( const MSLane * lane,
double at,
double offset ) const
inherited

get position on lane at length at with orthogonal offset

Definition at line 176 of file MSStage.cpp.

References MSLane::getShape(), MSLane::interpolateLanePosToGeometryPos(), and PositionVector::positionAtOffset().

Referenced by MSPModel_NonInteracting::CState::computeDuration(), getEdgePosition(), MSPModel_NonInteracting::PState::getPosition(), and MSPModel_Striping::PState::getPosition().

Here is the caller graph for this function:

◆ getOriginDescription()

std::string MSStageTrip::getOriginDescription ( ) const

Definition at line 356 of file MSStageTrip.cpp.

References myOrigin, myOriginStop, and toString().

Referenced by getStageSummary(), and reroute().

Here is the caller graph for this function:

◆ getOriginStop()

MSStoppingPlace * MSStageTrip::getOriginStop ( ) const
inlinevirtual

returns the origin stop (if any). only needed for MSStageTrip

Reimplemented from MSStage.

Definition at line 57 of file MSStageTrip.h.

References myOriginStop.

◆ getParameter()

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

Returns the value for a given key.

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

Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.

Definition at line 90 of file Parameterised.cpp.

References myMap.

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

◆ getParametersMap()

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

◆ getParametersStr()

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

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

Definition at line 130 of file Parameterised.cpp.

References myMap.

Referenced by GNEAttributeCarrier::getCommonAttribute().

Here is the caller graph for this function:

◆ getPosition()

Position MSStageTrip::getPosition ( SUMOTime now) const
virtual

returns the position of the transportable

Implements MSStage.

Definition at line 84 of file MSStageTrip.cpp.

References MSStage::getEdgePosition(), MSGlobals::gLefthand, myDepartPos, myOrigin, and MSStage::ROADSIDE_OFFSET.

◆ getRoutePosition()

virtual int MSStage::getRoutePosition ( ) const
inlinevirtualinherited

return index of current edge within route

Reimplemented in MSStageWalking.

Definition at line 205 of file MSStage.h.

Referenced by MSPModel_Striping::getNextLane().

Here is the caller graph for this function:

◆ getSpeed()

double MSStage::getSpeed ( ) const
virtualinherited

the speed of the transportable

Reimplemented in MSPerson::MSPersonStage_Access, MSStageDriving, and MSStageMoving.

Definition at line 101 of file MSStage.cpp.

◆ getStageDescription()

std::string MSStageTrip::getStageDescription ( const bool isPerson) const
inlinevirtual

return (brief) string representation of the current stage

Implements MSStage.

Definition at line 72 of file MSStageTrip.h.

References UNUSED_PARAMETER.

◆ getStageSummary()

std::string MSStageTrip::getStageSummary ( const bool isPerson) const
virtual

return string summary of the current stage

Implements MSStage.

Definition at line 370 of file MSStageTrip.cpp.

References getDestinationDescription(), and getOriginDescription().

◆ getStageType()

MSStageType MSStage::getStageType ( ) const
inlineinherited

Definition at line 138 of file MSStage.h.

References myType.

Referenced by MSRouteHandler::addFlowTransportable(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::getStage(), MSStageDriving::loadState(), MSStageDriving::proceed(), MSStageWalking::proceed(), MSTransportable::proceed(), MSTransportable::rerouteParkingArea(), MSStageDriving::routeOutput(), and MSStageTrip::routeOutput().

Here is the caller graph for this function:

◆ getTimeLoss()

SUMOTime MSStage::getTimeLoss ( const MSTransportable * transportable) const
virtualinherited

Reimplemented in MSStageDriving, and MSStageWalking.

Definition at line 154 of file MSStage.cpp.

◆ getTotalWaitingTime()

SUMOTime MSStage::getTotalWaitingTime ( ) const
virtualinherited

Reimplemented in MSStageMoving.

Definition at line 149 of file MSStage.cpp.

References getWaitingTime().

◆ getTravelTime()

SUMOTime MSStageTrip::getTravelTime ( ) const
inlinevirtual

Reimplemented from MSStage.

Definition at line 115 of file MSStageTrip.h.

◆ getTrip()

MSStageTrip * MSStage::getTrip ( ) const
inlineinherited

Definition at line 283 of file MSStage.h.

References myTrip.

Referenced by MSPerson::checkAccess(), and MSTransportable::reroute().

Here is the caller graph for this function:

◆ getVehicle()

virtual SUMOVehicle * MSStage::getVehicle ( ) const
inlinevirtualinherited

Current vehicle in which the transportable is driving (or nullptr).

Reimplemented in MSStageDriving.

Definition at line 194 of file MSStage.h.

Referenced by GUIPerson::getGUIPosition(), and GUIPerson::getVehicleID().

Here is the caller graph for this function:

◆ getVehicles()

std::vector< SUMOVehicle * > MSStageTrip::getVehicles ( MSVehicleControl & vehControl,
MSTransportable * transportable,
const MSEdge * origin )

◆ getWaitingTime()

SUMOTime MSStage::getWaitingTime ( ) const
virtualinherited

Reimplemented in MSStageDriving, and MSStageMoving.

Definition at line 144 of file MSStage.cpp.

Referenced by getTotalWaitingTime().

Here is the caller graph for this function:

◆ hasParameter()

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

Returns whether the parameter is set.

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

Definition at line 84 of file Parameterised.cpp.

References myMap.

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

Here is the caller graph for this function:

◆ init()

virtual void MSStage::init ( MSTransportable * )
inlinevirtualinherited

initialization, e.g. for param-related events

Reimplemented in MSStageDriving.

Definition at line 82 of file MSStage.h.

◆ isParameterValid()

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

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

Definition at line 242 of file Parameterised.cpp.

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

Referenced by areAttributesValid(), and areParametersValid().

Here is the caller graph for this function:

◆ isWaiting4Vehicle()

virtual bool MSStage::isWaiting4Vehicle ( ) const
inlinevirtualinherited

Whether the transportable waits for a vehicle.

Reimplemented in MSStageDriving.

Definition at line 184 of file MSStage.h.

◆ isWaitingFor()

bool MSStage::isWaitingFor ( const SUMOVehicle * vehicle) const
virtualinherited

Whether the transportable waits for the given vehicle.

Reimplemented in MSStageDriving.

Definition at line 166 of file MSStage.cpp.

◆ isWalk()

bool MSStageTrip::isWalk ( ) const
inlinevirtual

Whether the transportable is walking.

Reimplemented from MSStage.

Definition at line 127 of file MSStageTrip.h.

References myModeSet.

◆ loadState()

virtual void MSStage::loadState ( MSTransportable * transportable,
std::istringstream & state )
inlinevirtualinherited

Reconstructs the current state, standard implementation does nothing.

Reimplemented in MSStageDriving, MSStageWaiting, and MSStageWalking.

Definition at line 254 of file MSStage.h.

References UNUSED_PARAMETER.

◆ markSet()

void MSStage::markSet ( int what)
inlineinherited

Definition at line 263 of file MSStage.h.

References myParametersSet.

◆ mergeParameters()

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

Adds or appends all given parameters from the map.

Parameters
[in]mapArgThe keys/values to insert

Definition at line 65 of file Parameterised.cpp.

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

Referenced by NBEdge::append().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References MSStageTrip().

◆ proceed()

void MSStageTrip::proceed ( MSNet * net,
MSTransportable * transportable,
SUMOTime now,
MSStage * previous )
virtual

proceeds to the next step

Implements MSStage.

Definition at line 349 of file MSStageTrip.cpp.

References MSStage::MSStage(), and MSTransportable::proceed().

◆ reroute()

const std::string MSStageTrip::reroute ( const SUMOTime time,
MSTransportableRouter & router,
MSTransportable *const transportable,
MSStage * previous,
const MSEdge * origin,
const MSEdge * destination,
std::vector< MSStage * > & stages )

Definition at line 169 of file MSStageTrip.cpp.

References MSVehicleControl::addVehicle(), SUMOVehicleParameter::arrivalPos, IntermodalRouter< E, L, N, V >::compute(), DEFAULT_TAXITYPE_ID, MSVehicleControl::deleteVehicle(), MSVehicleControl::discountRoutingVehicle(), MSGlobals::gCheckRoutes, MSStoppingPlace::getAccessPos(), MSStage::getArrivalPos(), MSStoppingPlace::getBeginLanePosition(), OptionsCont::getBool(), MSStage::getDestination(), getDestinationDescription(), MSStage::getDestinationStop(), MSStage::getEdges(), MSStoppingPlace::getEndLanePosition(), MSEdge::getFromJunction(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), MSEdge::getLength(), MSTransportable::getMaxSpeed(), MSTransportable::getNextStage(), OptionsCont::getOptions(), getOriginDescription(), SUMOTrafficObject::getParameter(), MSEdge::getPredecessors(), MSNet::getStoppingPlace(), MSEdge::getSuccessors(), MSEdge::getToJunction(), MSNet::getVehicleControl(), getVehicles(), MSTransportable::getVTypeParameter(), MSGlobals::gUseMesoSim, MSEdge::isTazConnector(), SUMOVehicleParameter::line, LINE_ANY, MAX2(), MIN2(), MSStage::MSStage(), MSStage::myArrivalPos, myDepartPosLat, MSStage::myDestinationStop, myDuration, MSStage::myGroup, myHaveArrivalPos, myModeSet, myOriginStop, mySpeed, myWalkFactor, SUMOVehicle::replaceRouteEdges(), MSStage::setArrivalPos(), SUMOVehicle::setArrivalPos(), MSStage::setCosts(), Parameterised::setParameters(), MSStage::setTrip(), TIME2STEPS, VEHPARS_ARRIVALPOS_SET, SUMOVehicleParameter::vtypeid, and MSStage::wasSet().

Referenced by MSTransportable::reroute(), and setArrived().

Here is the caller graph for this function:

◆ routeOutput()

◆ saveState()

virtual void MSStage::saveState ( std::ostringstream & out)
inlinevirtualinherited

Saves the current state into the given stream, standard implementation does nothing.

Reimplemented in MSStageDriving, MSStageWaiting, and MSStageWalking.

Definition at line 248 of file MSStage.h.

References UNUSED_PARAMETER.

◆ setArrivalPos()

void MSStage::setArrivalPos ( double arrivalPos)
inlineinherited

Definition at line 108 of file MSStage.h.

References myArrivalPos.

Referenced by MSStageTrip::reroute(), and MSTransportable::rerouteParkingArea().

Here is the caller graph for this function:

◆ setArrived()

◆ setCosts()

void MSStage::setCosts ( double costs)
inlineinherited

Sets the costs of the stage.

Parameters
[in]costsThe new stage costs

Definition at line 279 of file MSStage.h.

References myCosts.

Referenced by MSStageTrip::reroute().

Here is the caller graph for this function:

◆ setDeparted()

void MSStage::setDeparted ( SUMOTime now)
inherited

logs end of the step

Definition at line 115 of file MSStage.cpp.

References myDeparted.

◆ setDestination()

void MSStage::setDestination ( const MSEdge * newDestination,
MSStoppingPlace * newDestStop )
inherited

Definition at line 188 of file MSStage.cpp.

References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), myArrivalPos, myDestination, and myDestinationStop.

Referenced by MSTransportable::rerouteParkingArea().

Here is the caller graph for this function:

◆ setOrigin()

void MSStageTrip::setOrigin ( const MSEdge * origin,
MSStoppingPlace * originStop,
double departPos )
inlinevirtual

change origin for parking area rerouting

Reimplemented from MSStage.

Definition at line 91 of file MSStageTrip.h.

References myDepartPos, myOrigin, and myOriginStop.

◆ setParameter()

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

Sets a parameter.

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

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

Definition at line 45 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ setParameters() [1/2]

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

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

Definition at line 146 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ setParameters() [2/2]

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

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

Definition at line 152 of file Parameterised.cpp.

References myMap.

◆ setParametersStr()

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

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

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

Definition at line 161 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

◆ setSpeed()

virtual void MSStage::setSpeed ( double )
inlinevirtualinherited

sets the walking speed (ignored in other stages)

Reimplemented in MSStageWalking.

Definition at line 160 of file MSStage.h.

◆ setTrip()

void MSStage::setTrip ( MSStageTrip * trip)
inlineinherited

Definition at line 287 of file MSStage.h.

References myTrip.

Referenced by MSPerson::checkAccess(), and MSStageTrip::reroute().

Here is the caller graph for this function:

◆ tripInfoOutput()

void MSStageTrip::tripInfoOutput ( OutputDevice & os,
const MSTransportable *const transportable ) const
inlinevirtual

Called on writing tripinfo output.

Parameters
[in]osThe stream to write the information into
Exceptions
IOErrornot yet implemented

Implements MSStage.

Definition at line 105 of file MSStageTrip.h.

References UNUSED_PARAMETER.

◆ unsetParameter()

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

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References myMap.

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

Here is the caller graph for this function:

◆ unspecifiedArrivalPos()

bool MSStage::unspecifiedArrivalPos ( ) const
inherited

Definition at line 197 of file MSStage.cpp.

References ARRIVALPOS_UNSPECIFIED, and myArrivalPos.

Referenced by MSStageDriving::canLeaveVehicle(), MSStageDriving::getArrivalPos(), MSStageWaiting::proceed(), and MSStageDriving::routeOutput().

Here is the caller graph for this function:

◆ updateParameters()

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

◆ wasSet()

bool MSStage::wasSet ( int what) const
inlineinherited

Definition at line 259 of file MSStage.h.

References myParametersSet.

Referenced by MSStageTrip::reroute(), MSStageTrip::routeOutput(), and MSStageWalking::routeOutput().

Here is the caller graph for this function:

◆ writeParams()

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

write Params in the given outputdevice

Definition at line 176 of file Parameterised.cpp.

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

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

Here is the caller graph for this function:

Field Documentation

◆ ARRIVALPOS_UNSPECIFIED

const double MSStage::ARRIVALPOS_UNSPECIFIED
staticinherited

sentinel value

Definition at line 72 of file MSStage.h.

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

◆ myArrivalPos

◆ myArrivalPosLat

double MSStage::myArrivalPosLat
protectedinherited

the lateral position at which we want to arrive

Definition at line 311 of file MSStage.h.

Referenced by MSPerson::MSPersonStage_Access::clone(), MSStageDriving::clone(), equals(), getArrivalPosLat(), getEdgePosLat(), MSStage(), and MSStageDriving::setArrived().

◆ myArrived

◆ myCosts

double MSStage::myCosts
protectedinherited

The assigned or calculated costs.

Definition at line 326 of file MSStage.h.

Referenced by getCosts(), MSStage(), and setCosts().

◆ myDeparted

◆ myDepartPos

double MSStageTrip::myDepartPos
private

The depart position.

Definition at line 154 of file MSStageTrip.h.

Referenced by getAngle(), getEdgePos(), getPosition(), getVehicles(), setArrived(), and setOrigin().

◆ myDepartPosLat

const double MSStageTrip::myDepartPosLat
private

The lateral depart position.

Definition at line 157 of file MSStageTrip.h.

Referenced by clone(), MSStageTrip(), and reroute().

◆ myDestination

◆ myDestinationStop

◆ myDuration

SUMOTime MSStageTrip::myDuration
private

the time the trip should take (applies to only walking)

Definition at line 139 of file MSStageTrip.h.

Referenced by clone(), MSStageTrip(), and reroute().

◆ myGroup

const std::string MSStage::myGroup
protectedinherited

The id of the group of transportables traveling together.

Definition at line 323 of file MSStage.h.

Referenced by MSStageDriving::abort(), MSStageDriving::clone(), MSStageTrip::clone(), equals(), getGroup(), MSStage(), MSStageDriving::registerWaiting(), MSStageTrip::reroute(), and MSStageTrip::routeOutput().

◆ myHaveArrivalPos

const bool MSStageTrip::myHaveArrivalPos
private

whether an arrivalPos was in the input

Definition at line 160 of file MSStageTrip.h.

Referenced by clone(), MSStageTrip(), and reroute().

◆ myMap

◆ myModeSet

const SVCPermissions MSStageTrip::myModeSet
private

The allowed modes of transportation.

Definition at line 142 of file MSStageTrip.h.

Referenced by clone(), getVehicles(), isWalk(), MSStageTrip(), reroute(), and routeOutput().

◆ myOrigin

const MSEdge* MSStageTrip::myOrigin
private

◆ myOriginStop

MSStoppingPlace* MSStageTrip::myOriginStop
private

the origin edge

Definition at line 136 of file MSStageTrip.h.

Referenced by clone(), getOriginDescription(), getOriginStop(), MSStageTrip(), reroute(), setArrived(), and setOrigin().

◆ myParametersSet

int MSStage::myParametersSet
protectedinherited

Information on which parameter were set (mainly for vehroute output).

Definition at line 329 of file MSStage.h.

Referenced by markSet(), MSStage(), and wasSet().

◆ mySpeed

const double MSStageTrip::mySpeed
private

The walking speed.

Definition at line 148 of file MSStageTrip.h.

Referenced by clone(), MSStageTrip(), and reroute().

◆ myTrip

MSStageTrip* MSStage::myTrip = nullptr
protectedinherited

Definition at line 331 of file MSStage.h.

Referenced by getTrip(), and setTrip().

◆ myType

◆ myVTypes

const std::string MSStageTrip::myVTypes
private

The possible vehicles to use.

Definition at line 145 of file MSStageTrip.h.

Referenced by clone(), getVehicles(), MSStageTrip(), and routeOutput().

◆ myWalkFactor

const double MSStageTrip::myWalkFactor
private

The factor to apply to walking durations.

Definition at line 151 of file MSStageTrip.h.

Referenced by clone(), MSStageTrip(), reroute(), and routeOutput().

◆ ROADSIDE_OFFSET

const double MSStage::ROADSIDE_OFFSET
staticprotectedinherited

the offset for computing positions when standing at an edge

Definition at line 334 of file MSStage.h.

Referenced by MSStageDriving::getPosition(), MSStageTrip::getPosition(), and MSStageWaiting::getPosition().


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