![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSStageMoving.h>
Public Types | |
| typedef std::map< std::string, std::string > | Map |
| parameters map | |
Public Member Functions | |
| virtual void | abort (MSTransportable *) |
| abort this stage (TraCI) | |
| virtual void | activateEntryReminders (MSTransportable *person, const bool isDepart=false) |
| add the move reminders for the current lane on entry | |
| void | clearParameter () |
| Clears the parameter map. | |
| virtual MSStage * | clone () const =0 |
| 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 | getConfiguredSpeed () const |
| Returns the configured speed in this stage. | |
| double | getCosts () const |
| Returns the costs of the stage. | |
| SUMOTime | getDeparted () const |
| get departure time of stage | |
| int | getDepartLane () const |
| double | getDepartPos () const |
| double | getDepartPosLat () const |
| const MSEdge * | getDestination () const |
| returns the destination edge | |
| MSStoppingPlace * | getDestinationStop () const |
| returns the destination stop (if any) | |
| int | getDirection () const |
| Return the movement directon on the edge. | |
| virtual double | getDistance () const =0 |
| 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. | |
| virtual SUMOTime | getDuration () const |
| const MSEdge * | getEdge () 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 |
| Returns the offset from the start of the current edge measured in its natural direction. | |
| 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 |
| ConstMSEdgeVector | getEdges () const |
| the edges of the current stage | |
| const MSEdge * | getFromEdge () const |
| Returns first edge of the containers route. | |
| 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). | |
| const MSLane * | getLane () const |
| Returns the current lane. | |
| Position | getLanePosition (const MSLane *lane, double at, double offset) const |
| get position on lane at length at with orthogonal offset | |
| virtual double | getMaxSpeed (const MSTransportable *const transportable=nullptr) const =0 |
| the maximum speed of the transportable | |
| virtual const MSEdge * | getNextRouteEdge () const =0 |
| virtual MSStoppingPlace * | getOriginStop () 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::Map & | getParametersMap () 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 container. | |
| MSTransportableStateAdapter * | getPState () const |
| const std::vector< const MSEdge * > & | getRoute () const |
| virtual int | getRoutePosition () const |
| return index of current edge within route | |
| const std::vector< constMSEdge * >::iterator | getRouteStep () const |
| double | getSpeed () const |
| Returns the speed of the transportable. | |
| virtual std::string | getStageDescription (const bool isPerson) const =0 |
| return (brief) string representation of the current stage | |
| virtual std::string | getStageSummary (const bool isPerson) const =0 |
| return string summary of the current stage | |
| MSStageType | getStageType () const |
| virtual SUMOTime | getTimeLoss (const MSTransportable *transportable) const |
| SUMOTime | getTotalWaitingTime () const |
| Returns the cumulative time the transportable spent waiting. | |
| virtual SUMOTime | getTravelTime () const |
| MSStageTrip * | getTrip () const |
| virtual SUMOVehicle * | getVehicle () const |
| Current vehicle in which the transportable is driving (or nullptr). | |
| SUMOTime | getWaitingTime () const |
| Returns the time the transportable spent waiting. | |
| 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. | |
| virtual 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. | |
| virtual bool | moveToNextEdge (MSTransportable *transportable, SUMOTime currentTime, int prevDir, MSEdge *nextInternal=nullptr, const bool isReplay=false)=0 |
| move forward and return whether the transportable arrived | |
| MSStageMoving (const MSStageType type, const std::vector< const MSEdge * > &route, const std::string &routeID, MSStoppingPlace *toStop, const double speed, const double departPos, const double arrivalPos, const double departPosLat, const int departLane) | |
| constructor | |
| virtual void | proceed (MSNet *net, MSTransportable *transportable, SUMOTime now, MSStage *previous)=0 |
| proceeds to this stage | |
| virtual void | replaceRoute (MSTransportable *const transportable, const ConstMSEdgeVector &edges, int routeOffset) |
| virtual void | routeOutput (const bool isPerson, OutputDevice &os, const bool withRouteLength, const MSStage *const previous) const =0 |
| 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) |
| virtual 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 | setDepartPos (const double pos) |
| void | setDestination (const MSEdge *newDestination, MSStoppingPlace *newDestStop) |
| virtual void | setOrigin (const MSEdge *origin, MSStoppingPlace *originStop, double departPos) |
| virtual void | setParameter (const std::string &key, const std::string &value) |
| Sets a parameter. | |
| void | setParameters (const Parameterised ¶ms) |
| set the given key/value map in map<string, string> format | |
| void | setParameters (const std::vector< std::pair< std::string, std::string > > ¶ms) |
| set the given key/value vector in map<string, string> format | |
| void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") |
| set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" | |
| void | setPState (MSTransportableStateAdapter *pstate) |
| virtual void | setRouteIndex (MSTransportable *const transportable, int routeOffset) |
| place transportable on a previously passed edge | |
| virtual void | setSpeed (double) |
| sets the walking speed (ignored in other stages) | |
| void | setTrip (MSStageTrip *trip) |
| virtual void | tripInfoOutput (OutputDevice &os, const MSTransportable *const transportable) const =0 |
| 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 | ~MSStageMoving () |
| 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 const MSLane * | checkDepartLane (const MSEdge *edge, SUMOVehicleClass svc, int laneIndex, const std::string &id) |
| interpret custom depart lane | |
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. | |
| MSEdge * | myCurrentInternalEdge = nullptr |
| The current internal edge this transportable is on or nullptr. | |
| SUMOTime | myDeparted |
| the time at which this stage started | |
| int | myDepartLane |
| the depart lane or -1 | |
| double | myDepartPos |
| the depart position | |
| double | myDepartPosLat |
| the lateral depart position | |
| const MSEdge * | myDestination |
| the next edge to reach by getting transported | |
| MSStoppingPlace * | myDestinationStop |
| 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). | |
| MSTransportableStateAdapter * | myPState |
| state that is to be manipulated by MSPModel | |
| std::vector< const MSEdge * > | myRoute |
| The route of the container. | |
| std::string | myRouteID |
| The original route id. | |
| std::vector< constMSEdge * >::iterator | myRouteStep |
| current step | |
| double | mySpeed |
| the speed of the transportable | |
| MSStageTrip * | myTrip = 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 | |
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 | |
| Parameterised::Map | myMap |
| The key->value map. | |
An abstract stage providing additional interface for the movement models
Definition at line 34 of file MSStageMoving.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
|
inline |
constructor
Definition at line 37 of file MSStageMoving.h.
References MSStage::MSStage(), myDepartLane, myDepartPos, myDepartPosLat, myPState, myRoute, myRouteID, myRouteStep, and mySpeed.
Referenced by equals(), MSStageTranship::MSStageTranship(), and MSStageWalking::MSStageWalking().
|
virtual |
|
inlinevirtualinherited |
abort this stage (TraCI)
Reimplemented in MSStageDriving, MSStageWaiting, and MSStageWalking.
Definition at line 157 of file MSStage.h.
Referenced by GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject().
|
inlinevirtual |
add the move reminders for the current lane on entry
Reimplemented in MSStageWalking.
Definition at line 102 of file MSStageMoving.h.
References UNUSED_PARAMETER.
|
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.
|
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().
|
static |
interpret custom depart lane
Definition at line 126 of file MSStageMoving.cpp.
References MSEdge::getLanes(), OptionsCont::getOptions(), getSidewalk(), toString(), and WRITE_WARNING.
Referenced by MSPModel_Striping::add(), and MSRouteHandler::interpretDepartPosLat().
|
inherited |
|
pure virtualinherited |
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
References MSStage().
|
inlinevirtual |
Reimplemented from MSStage.
Reimplemented in MSStageWalking.
Definition at line 139 of file MSStageMoving.h.
References MSStage::equals(), MSStage::MSStage(), MSStageMoving(), myDepartLane, myDepartPos, myDepartPosLat, myRoute, myRouteID, and mySpeed.
Referenced by MSStageWalking::equals().
|
virtual |
Returns the angle of the transportable.
Implements MSStage.
Definition at line 81 of file MSStageMoving.cpp.
References myPState.
|
inlinevirtualinherited |
Reimplemented in MSStageDriving, MSStageTranship, and MSStageWalking.
Definition at line 97 of file MSStage.h.
References myArrivalPos.
Referenced by MSPModel_JuPedSim::add(), MSPerson::checkAccess(), MSPModel_NonInteracting::CState::computeDuration(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::getStage(), GUIPerson::getStageArrivalPos(), MSStageDriving::loadState(), MSPModel_Striping::moveInDirectionOnLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), MSRouteHandler::parseWalkPositions(), MSStageWaiting::proceed(), MSPerson::replaceWalk(), MSStageTrip::reroute(), MSTransportable::rerouteParkingArea(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), MSStageWaiting::routeOutput(), and MSStageTrip::setArrived().
|
inlinevirtualinherited |
Definition at line 104 of file MSStage.h.
References myArrivalPosLat.
Referenced by MSPerson::checkAccess().
|
inherited |
get arrival time of stage
Definition at line 127 of file MSStage.cpp.
References myArrived.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inline |
Returns the configured speed in this stage.
Definition at line 91 of file MSStageMoving.h.
References mySpeed.
Referenced by MSPModel_Striping::moveInDirectionOnLane().
|
inlineinherited |
Returns the costs of the stage.
Definition at line 271 of file MSStage.h.
References myCosts.
Referenced by MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), and MSStageWalking::routeOutput().
|
inherited |
get departure time of stage
Definition at line 122 of file MSStage.cpp.
References myDeparted.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inline |
Definition at line 132 of file MSStageMoving.h.
References myDepartLane.
Referenced by MSPModel_Striping::add().
|
inline |
Definition at line 120 of file MSStageMoving.h.
References myDepartPos.
Referenced by MSPModel_JuPedSim::add(), MSPModel_NonInteracting::CState::computeDuration(), and MSPModel_NonInteracting::PState::computeDuration().
|
inline |
Definition at line 128 of file MSStageMoving.h.
References myDepartPosLat.
Referenced by MSPModel_JuPedSim::add().
|
inherited |
returns the destination edge
Definition at line 65 of file MSStage.cpp.
References myDestination.
Referenced by MSPModel_JuPedSim::add(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), MSStageDriving::getArrivalPos(), getEdges(), MSStageDriving::getEdges(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSPModel_Striping::moveInDirectionOnLane(), MSRouteHandler::parseWalkPositions(), MSTransportable::proceed(), MSStageDriving::registerWaiting(), MSStageTrip::reroute(), MSTransportable::rerouteParkingArea(), MSStageDriving::routeOutput(), and MSStageWaiting::routeOutput().
|
inlineinherited |
returns the destination stop (if any)
Definition at line 88 of file MSStage.h.
References myDestinationStop.
Referenced by MSRouteHandler::addFlowTransportable(), MSPerson::checkAccess(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), GUIPerson::getDestinationStopID(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSStageDriving::loadState(), MSPModel_Striping::moveInDirectionOnLane(), MSDevice_Transportable::notifyMove(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), MSRouteHandler::parseWalkPositions(), MSStageDriving::proceed(), MSTransportable::proceed(), MSStageDriving::registerWaiting(), MSPerson::replaceWalk(), MSStageTrip::reroute(), MSTransportable::rerouteParkingArea(), MSStageDriving::setArrived(), and MSPerson::MSPersonStage_Access::tripInfoOutput().
|
virtual |
Return the movement directon on the edge.
Reimplemented from MSStage.
Definition at line 70 of file MSStageMoving.cpp.
References myPState, and MSPModel::UNDEFINED_DIRECTION.
|
pure virtualinherited |
get travel distance in this stage
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
inherited |
Returns the value for a given key converted to a double.
| [in] | key | The key to ask for |
| [in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 100 of file Parameterised.cpp.
References myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim::add(), MSVehicleType::build(), EnergyParams::EnergyParams(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), MSActuatedTrafficLightLogic::init(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
|
virtualinherited |
Reimplemented in MSStageDriving, MSStageTrip, and MSStageWaiting.
Definition at line 133 of file MSStage.cpp.
References myArrived, myDeparted, and SUMOTime_MAX.
Referenced by MSStageWaiting::getDuration(), MSStageWalking::getTimeLoss(), getTravelTime(), MSPerson::MSPersonStage_Access::tripInfoOutput(), and MSStageTranship::tripInfoOutput().
|
virtual |
Returns the current edge.
Reimplemented from MSStage.
Definition at line 45 of file MSStageMoving.cpp.
References myCurrentInternalEdge, myRoute, and myRouteStep.
Referenced by MSStageWalking::activateEntryReminders(), MSRouteHandler::addFlowTransportable(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_JuPedSim::execute(), MSPModel_NonInteracting::CState::getAngle(), MSPModel_NonInteracting::PState::getAngle(), MSPModel_NonInteracting::PState::getPosition(), MSStageTranship::moveToNextEdge(), MSStageWalking::moveToNextEdge(), MSStageWalking::proceed(), replaceRoute(), and setRouteIndex().
|
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().
|
virtual |
Returns the offset from the start of the current edge measured in its natural direction.
Reimplemented from MSStage.
Definition at line 65 of file MSStageMoving.cpp.
References myDepartPos, and myPState.
Referenced by MSStageWalking::walkDistance().
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().
|
virtualinherited |
Definition at line 89 of file MSStage.cpp.
References myArrivalPosLat.
Referenced by MSPerson::checkAccess(), and MSStageWalking::proceed().
|
virtual |
the edges of the current stage
Reimplemented from MSStage.
Definition at line 59 of file MSStageMoving.cpp.
References myRoute.
Referenced by MSPModel_JuPedSim::add(), MSPModel_NonInteracting::CState::computeDuration(), MSPModel_JuPedSim::execute(), LIBSUMO_NAMESPACE::Person::getWalkingDistance(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSTransportable::reroute().
|
virtual |
Returns first edge of the containers route.
Reimplemented from MSStage.
Definition at line 54 of file MSStageMoving.cpp.
References myRoute.
Referenced by MSPModel_NonInteracting::CState::computeDuration().
|
inlineinherited |
|
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().
|
virtual |
Returns the current lane.
Reimplemented from MSStage.
Definition at line 101 of file MSStageMoving.cpp.
References myPState.
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().
|
pure virtual |
the maximum speed of the transportable
Implemented in MSStageTranship, and MSStageWalking.
Referenced by MSPModel_JuPedSim::add(), MSPModel_NonInteracting::CState::computeDuration(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_Striping::getNextLane(), MSPModel_NonInteracting::CState::getPosition(), MSPModel_NonInteracting::PState::getSpeed(), MSPModel_Striping::moveInDirectionOnLane(), and MSPModel_Striping::registerCrossingApproach().
|
pure virtual |
Implemented in MSStageTranship, and MSStageWalking.
Referenced by MSPModel_NonInteracting::PState::computeDuration(), MSPModel_JuPedSim::PState::getNextEdge(), MSPModel_NonInteracting::PState::getNextEdge(), and MSPModel_Striping::getNextLane().
|
inlinevirtualinherited |
returns the origin stop (if any). only needed for MSStageTrip
Reimplemented in MSStageDriving, and MSStageTrip.
Definition at line 93 of file MSStage.h.
Referenced by MSPerson::checkAccess(), GUIPerson::getGUIPosition(), MSTransportableControl::loadAnyWaiting(), MSStageDriving::loadState(), MSStageDriving::proceed(), and MSTransportable::proceed().
|
virtualinherited |
Returns the value for a given key.
| [in] | key | The key to ask for |
| [in] | defaultValue | The default value to return if no value is 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().
|
inherited |
Returns the inner key/value map.
Definition at line 124 of file Parameterised.cpp.
References myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNEEdgeType::GNEEdgeType(), GNERoute::GNERoute(), GNERoute::GNERoute(), MSActuatedTrafficLightLogic::init(), MSRailCrossing::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), NIImporter_OpenStreetMap::insertEdge(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNEVType::overwriteVType(), setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
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().
Returns the position of the container.
Implements MSStage.
Definition at line 76 of file MSStageMoving.cpp.
References Position::INVALID, and myPState.
|
inline |
Definition at line 49 of file MSStageMoving.h.
References myPState.
Referenced by GUIPerson::drawAction_drawWalkingareaPath(), MSPerson::getNextEdgePtr(), MSPerson::isJammed(), LIBSUMO_NAMESPACE::Person::moveTo(), and MSPerson::Influencer::postProcessRemoteControl().
|
inline |
Definition at line 112 of file MSStageMoving.h.
References myRoute.
Referenced by MSPModel_JuPedSim::add(), GUIPerson::drawGLAdditional(), MSPModel_JuPedSim::execute(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSTransportable::reroute().
|
inlinevirtualinherited |
return index of current edge within route
Reimplemented in MSStageWalking.
Definition at line 205 of file MSStage.h.
Referenced by MSPModel_Striping::getNextLane().
|
inline |
Definition at line 116 of file MSStageMoving.h.
References myRouteStep.
Referenced by MSPModel_JuPedSim::execute(), LIBSUMO_NAMESPACE::Person::moveToXY(), and MSTransportable::reroute().
|
virtual |
Returns the speed of the transportable.
Reimplemented from MSStage.
Definition at line 96 of file MSStageMoving.cpp.
References myPState.
|
pure virtualinherited |
return (brief) string representation of the current stage
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
Referenced by LIBSUMO_NAMESPACE::Person::getStage().
|
pure virtualinherited |
return string summary of the current stage
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
|
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().
|
virtualinherited |
Reimplemented in MSStageDriving, and MSStageWalking.
Definition at line 154 of file MSStage.cpp.
|
virtual |
Returns the cumulative time the transportable spent waiting.
Reimplemented from MSStage.
Definition at line 91 of file MSStageMoving.cpp.
References myPState.
Referenced by MSStageWalking::tripInfoOutput().
|
virtualinherited |
Reimplemented in MSStageDriving, MSStageTrip, and MSStageWaiting.
Definition at line 139 of file MSStage.cpp.
References getDuration().
|
inlineinherited |
Definition at line 283 of file MSStage.h.
References myTrip.
Referenced by MSPerson::checkAccess(), and MSTransportable::reroute().
|
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().
|
virtual |
Returns the time the transportable spent waiting.
Reimplemented from MSStage.
Definition at line 86 of file MSStageMoving.cpp.
References myPState.
|
inherited |
Returns whether the parameter is set.
| [in] | key | The key to ask for |
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().
|
inlinevirtualinherited |
initialization, e.g. for param-related events
Reimplemented in MSStageDriving.
|
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().
|
inlinevirtualinherited |
Whether the transportable waits for a vehicle.
Reimplemented in MSStageDriving.
|
virtualinherited |
Whether the transportable waits for the given vehicle.
Reimplemented in MSStageDriving.
Definition at line 166 of file MSStage.cpp.
|
inlinevirtualinherited |
Whether the transportable is walking.
Reimplemented in MSStageTrip, and MSStageWalking.
|
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.
|
inlineinherited |
Definition at line 263 of file MSStage.h.
References myParametersSet.
|
inherited |
Adds or appends all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 65 of file Parameterised.cpp.
References getParameter(), hasParameter(), and setParameter().
Referenced by NBEdge::append().
|
pure virtual |
move forward and return whether the transportable arrived
Implemented in MSStageTranship, and MSStageWalking.
Referenced by MSPModel_Striping::arriveAndAdvance(), and MSPModel_JuPedSim::execute().
|
pure virtualinherited |
proceeds to this stage
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
References MSStage().
|
virtual |
Definition at line 115 of file MSStageMoving.cpp.
References MSEdge::addTransportable(), getEdge(), myRoute, myRouteStep, and MSEdge::removeTransportable().
|
pure virtualinherited |
Called on writing vehroute output.
| [in] | isPerson | Whether we are writing person or container info |
| [in] | os | The stream to write the information into |
| [in] | withRouteLength | whether route length shall be written |
| [in] | previous | The previous stage for additional info such as from edge |
| IOError | not yet implemented |
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
References MSStage().
|
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.
|
inlineinherited |
Definition at line 108 of file MSStage.h.
References myArrivalPos.
Referenced by MSStageTrip::reroute(), and MSTransportable::rerouteParkingArea().
|
virtualinherited |
logs end of the step
Reimplemented in MSStageDriving, and MSStageTrip.
Definition at line 160 of file MSStage.cpp.
References myArrived.
Referenced by MSTransportable::proceed(), MSStageDriving::setArrived(), and MSStageTrip::setArrived().
|
inlineinherited |
Sets the costs of the stage.
| [in] | costs | The new stage costs |
Definition at line 279 of file MSStage.h.
References myCosts.
Referenced by MSStageTrip::reroute().
|
inherited |
|
inline |
Definition at line 124 of file MSStageMoving.h.
References myDepartPos.
Referenced by MSRouteHandler::addFlowTransportable().
|
inherited |
Definition at line 188 of file MSStage.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), myArrivalPos, myDestination, and myDestinationStop.
Referenced by MSTransportable::rerouteParkingArea().
|
inlinevirtualinherited |
Reimplemented in MSStageDriving, and MSStageTrip.
Definition at line 220 of file MSStage.h.
References UNUSED_PARAMETER.
|
virtualinherited |
Sets a parameter.
| [in] | key | The parameter's name |
| [in] | value | The 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().
|
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().
|
inherited |
set the given key/value vector in map<string, string> format
Definition at line 152 of file Parameterised.cpp.
References myMap.
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
| [in] | paramsString | A serialized key-value map |
| [in] | kvsep | The separater between key and value |
| [in] | sep | The 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().
|
inline |
Definition at line 53 of file MSStageMoving.h.
References myPState.
Referenced by MSPModel_JuPedSim::remove().
|
virtual |
place transportable on a previously passed edge
Definition at line 106 of file MSStageMoving.cpp.
References MSEdge::addTransportable(), getEdge(), myRoute, myRouteStep, and MSEdge::removeTransportable().
|
inlinevirtualinherited |
sets the walking speed (ignored in other stages)
Reimplemented in MSStageWalking.
|
inlineinherited |
Definition at line 287 of file MSStage.h.
References myTrip.
Referenced by MSPerson::checkAccess(), and MSStageTrip::reroute().
|
pure virtualinherited |
Called on writing tripinfo output.
| [in] | os | The stream to write the information into |
| IOError | not yet implemented |
Implemented in MSPerson::MSPersonStage_Access, MSStageDriving, MSStageTranship, MSStageTrip, MSStageWaiting, and MSStageWalking.
|
inherited |
Removes a parameter.
| [in] | key | The 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().
|
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().
|
inherited |
Adds or updates all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inlineinherited |
Definition at line 259 of file MSStage.h.
References myParametersSet.
Referenced by MSStageTrip::reroute(), MSStageTrip::routeOutput(), and MSStageWalking::routeOutput().
|
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().
|
staticinherited |
sentinel value
Definition at line 72 of file MSStage.h.
Referenced by MSRouteHandler::addStop(), and unspecifiedArrivalPos().
|
protectedinherited |
the longitudinal position at which we want to arrive
Definition at line 308 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSPerson::MSPersonStage_Access::clone(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), equals(), MSStageDriving::getAngle(), MSStageWaiting::getAngle(), getArrivalPos(), MSStageDriving::getArrivalPos(), MSStageTranship::getArrivalPos(), MSStageWalking::getArrivalPos(), getEdgePos(), MSStageDriving::getEdgePos(), MSStageDriving::getPosition(), MSStageWaiting::getPosition(), MSStage(), MSStageTranship::MSStageTranship(), MSStageWalking::MSStageWalking(), MSStageWaiting::proceed(), MSStageTrip::reroute(), MSStageDriving::routeOutput(), MSStageTrip::routeOutput(), MSStageWalking::routeOutput(), setArrivalPos(), MSStageDriving::setArrived(), setDestination(), MSStageTranship::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), MSStageWalking::tripInfoOutput(), unspecifiedArrivalPos(), and MSStageWalking::walkDistance().
|
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().
|
protectedinherited |
the time at which this stage ended
Definition at line 317 of file MSStage.h.
Referenced by MSStageDriving::getAngle(), getArrived(), MSStageDriving::getDirection(), MSStageTranship::getDistance(), getDuration(), MSStageDriving::getDuration(), MSStageDriving::getEdge(), MSStageDriving::getEdgePos(), MSStageDriving::getPosition(), MSStageDriving::getTimeLoss(), MSStageWalking::getTimeLoss(), MSStageDriving::getTravelTime(), MSStageDriving::isWaiting4Vehicle(), MSStageDriving::loadState(), MSStage(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSStageDriving::saveState(), setArrived(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), MSStageWalking::tripInfoOutput(), and MSStageWalking::walkDistance().
|
protectedinherited |
The assigned or calculated costs.
Definition at line 326 of file MSStage.h.
Referenced by getCosts(), MSStage(), and setCosts().
|
protected |
The current internal edge this transportable is on or nullptr.
Definition at line 167 of file MSStageMoving.h.
Referenced by getEdge(), MSStageWalking::loadState(), and MSStageWalking::moveToNextEdge().
|
protectedinherited |
the time at which this stage started
Definition at line 314 of file MSStage.h.
Referenced by getDeparted(), MSStageTranship::getDistance(), getDuration(), MSPerson::MSPersonStage_Access::getPosition(), MSPerson::MSPersonStage_Access::getSpeed(), MSStageDriving::getTravelTime(), MSStageDriving::getWaitingTime(), MSStageDriving::loadState(), MSStageWaiting::loadState(), MSStageWalking::loadState(), MSStage(), MSPerson::MSPersonStage_Access::proceed(), MSStageDriving::proceed(), MSStageTranship::proceed(), MSStageWaiting::proceed(), MSStageWalking::proceed(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSStageDriving::saveState(), MSStageWaiting::saveState(), MSStageWalking::saveState(), setDeparted(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), and MSStageWalking::tripInfoOutput().
|
protected |
the depart lane or -1
Definition at line 179 of file MSStageMoving.h.
Referenced by MSStageWalking::clone(), equals(), getDepartLane(), and MSStageMoving().
|
protected |
the depart position
Definition at line 173 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageWalking::clone(), equals(), getDepartPos(), getEdgePos(), MSStageMoving(), MSStageTranship::MSStageTranship(), MSStageWalking::MSStageWalking(), MSStageTranship::proceed(), MSStageWalking::proceed(), setDepartPos(), MSStageTranship::tripInfoOutput(), MSStageWalking::tripInfoOutput(), and MSStageWalking::walkDistance().
|
protected |
the lateral depart position
Definition at line 176 of file MSStageMoving.h.
Referenced by MSStageWalking::clone(), equals(), getDepartPosLat(), MSStageMoving(), and MSStageWalking::proceed().
|
protectedinherited |
the next edge to reach by getting transported
Definition at line 302 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSPerson::MSPersonStage_Access::clone(), MSStageDriving::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), equals(), MSStageDriving::getAngle(), MSStageWaiting::getAngle(), getDestination(), MSStageTrip::getDestinationDescription(), getEdge(), MSStageDriving::getEdge(), getFromEdge(), MSStageDriving::getPosition(), MSStageWaiting::getPosition(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::isWaitingFor(), MSStageWaiting::loadState(), MSStage(), MSPerson::MSPersonStage_Access::proceed(), MSStageTrip::routeOutput(), MSStageTrip::setArrived(), and setDestination().
|
protectedinherited |
the stop to reach by getting transported (if any)
Definition at line 305 of file MSStage.h.
Referenced by MSStageDriving::abort(), MSStageDriving::canLeaveVehicle(), MSPerson::MSPersonStage_Access::clone(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), equals(), MSStageWaiting::getAngle(), MSStageTrip::getDestinationDescription(), getDestinationStop(), MSStageDriving::isWaitingFor(), MSStageWaiting::loadState(), MSStageTranship::moveToNextEdge(), MSStageWalking::moveToNextEdge(), MSStage(), MSPerson::MSPersonStage_Access::proceed(), MSStageWaiting::proceed(), MSStageDriving::registerWaiting(), MSStageTrip::reroute(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), and setDestination().
|
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().
|
privateinherited |
The key->value map.
Definition at line 135 of file Parameterised.h.
Referenced by clearParameter(), getDouble(), getParameter(), getParametersMap(), getParametersStr(), hasParameter(), Parameterised(), setParameter(), setParameters(), setParameters(), setParametersStr(), unsetParameter(), and writeParams().
|
protectedinherited |
|
protected |
state that is to be manipulated by MSPModel
Definition at line 155 of file MSStageMoving.h.
Referenced by MSStageWalking::abort(), getAngle(), getDirection(), getEdgePos(), getLane(), getPosition(), getPState(), getSpeed(), getTotalWaitingTime(), getWaitingTime(), MSStageWalking::loadState(), MSStageWalking::moveToNextEdge(), MSStageMoving(), MSStageTranship::proceed(), MSStageWalking::proceed(), MSStageWalking::saveState(), setPState(), and ~MSStageMoving().
|
protected |
The route of the container.
Definition at line 158 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageWalking::clone(), equals(), getEdge(), getEdges(), getFromEdge(), MSStageTranship::getNextRouteEdge(), MSStageWalking::getNextRouteEdge(), getRoute(), MSStageWalking::getRoutePosition(), MSStageWalking::loadState(), MSStageWalking::moveToNextEdge(), MSStageMoving(), MSStageTranship::MSStageTranship(), MSStageTranship::proceed(), MSStageWalking::proceed(), replaceRoute(), MSStageTranship::routeOutput(), MSStageWalking::routeOutput(), MSStageWalking::saveState(), setRouteIndex(), and MSStageWalking::walkDistance().
|
protected |
The original route id.
Definition at line 161 of file MSStageMoving.h.
Referenced by MSStageWalking::clone(), equals(), and MSStageMoving().
|
protected |
current step
Definition at line 164 of file MSStageMoving.h.
Referenced by getEdge(), MSStageTranship::getNextRouteEdge(), MSStageWalking::getNextRouteEdge(), MSStageWalking::getRoutePosition(), getRouteStep(), MSStageWalking::loadState(), MSStageWalking::moveToNextEdge(), MSStageMoving(), MSStageTranship::proceed(), MSStageWalking::proceed(), replaceRoute(), MSStageWalking::saveState(), setRouteIndex(), and MSStageWalking::walkDistance().
|
protected |
the speed of the transportable
Definition at line 170 of file MSStageMoving.h.
Referenced by MSStageTranship::clone(), MSStageWalking::clone(), equals(), getConfiguredSpeed(), MSStageTranship::getDistance(), MSStageTranship::getMaxSpeed(), MSStageWalking::getMaxSpeed(), MSStageMoving(), MSStageWalking::MSStageWalking(), MSStageWalking::proceed(), MSStageTranship::routeOutput(), MSStageWalking::routeOutput(), MSStageWalking::setSpeed(), and MSStageTranship::tripInfoOutput().
|
protectedinherited |
|
protectedinherited |
The type of this stage.
Definition at line 320 of file MSStage.h.
Referenced by MSStageWaiting::abort(), MSStageWaiting::clone(), equals(), MSStageWaiting::getDuration(), getStageType(), MSStage(), MSStageWaiting::routeOutput(), and MSStageWaiting::tripInfoOutput().
|
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().