![]() |
SUMO - Simulation of Urban MObility
|
A device which collects info on the vehicle trip (mainly on departure and arrival) More...
#include <MSDevice_Tripinfo.h>


Public Types | |
| enum | Notification { NOTIFICATION_DEPARTED, NOTIFICATION_JUNCTION, NOTIFICATION_SEGMENT, NOTIFICATION_LANE_CHANGE, NOTIFICATION_TELEPORT, NOTIFICATION_PARKING, NOTIFICATION_ARRIVED, NOTIFICATION_VAPORIZED, NOTIFICATION_TELEPORT_ARRIVED, NOTIFICATION_PARKING_REROUTE } |
| Definition of a vehicle state. More... | |
Public Member Functions | |
| void | addTo (const StoringVisitor &cont) const |
| Adds this object to the given container. More... | |
| const std::string | deviceName () const |
| return the name for this type of device More... | |
| void | generateOutput () const |
| Called on writing tripinfo output. More... | |
| const std::string & | getDescription () const |
| SUMOVehicle & | getHolder () const |
| Returns the vehicle that holds this device. More... | |
| const std::string & | getID () const |
| Returns the id. More... | |
| const MSLane * | getLane () const |
| Returns the lane the reminder works on. More... | |
| virtual std::string | getParameter (const std::string &key) const |
| try to retrieve the given parameter from this device. Throw exception for unsupported key More... | |
| void | loadState (const SUMOSAXAttributes &attrs) |
| Loads the state of the device from the given description. More... | |
| void | saveState (OutputDevice &out) const |
| Saves the state of the device. More... | |
| void | setDescription (const std::string &description) |
| void | setID (const std::string &newID) |
| resets the id More... | |
| virtual void | setParameter (const std::string &key, const std::string &value) |
| try to set the given parameter for this device. Throw exception for unsupported key More... | |
| void | updateStatistics (SUMOTime timeLoss) const |
| update tripinfo statistics More... | |
| ~MSDevice_Tripinfo () | |
| Destructor. More... | |
Methods called on vehicle movement / state change, overwriting MSDevice | |
| bool | notifyMove (SUMOVehicle &veh, double oldPos, double newPos, double newSpeed) |
| Checks for waiting steps when the vehicle moves. More... | |
| bool | notifyEnter (SUMOVehicle &veh, MSMoveReminder::Notification reason, const MSLane *enteredLane=0) |
| Saves departure info on insertion. More... | |
| bool | notifyLeave (SUMOVehicle &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0) |
| Saves arrival info. More... | |
Interface methods, to be derived by subclasses | |
| void | updateDetector (SUMOVehicle &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp) |
Static Public Member Functions | |
| static void | addPedestrianData (double walkLength, SUMOTime walkDuration) |
| record tripinfo data for pedestrians More... | |
| static void | buildVehicleDevices (SUMOVehicle &v, std::vector< MSDevice * > &into) |
| Build devices for the given vehicle, if needed. More... | |
| static bool | checkOptions (OptionsCont &oc) |
| check device-specific options More... | |
| static void | generateOutputForUnfinished () |
| generate output for vehicles which are still in the network More... | |
| static double | getAvgDepartDelay () |
| static double | getAvgDuration () |
| static double | getAvgRouteLength () |
| accessors for GUINet-Parameters More... | |
| static double | getAvgTimeLoss () |
| static double | getAvgWaitingTime () |
| static double | getAvgWalkDuration () |
| static double | getAvgWalkRouteLength () |
| static std::mt19937 * | getEquipmentRNG () |
| template<class T > | |
| static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
| get an identifier for Named-like object which may be Null More... | |
| static void | insertOptions (OptionsCont &oc) |
| Inserts options for building devices. More... | |
| static std::string | printStatistics () |
| get statistics for printing to stdout More... | |
Protected Member Functions | |
| void | notifyMoveInternal (const SUMOVehicle &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double) |
| Internal notification about the vehicle moves, see MSMoveReminder::notifyMoveInternal() More... | |
| void | removeFromVehicleUpdateValues (SUMOVehicle &veh) |
Static Protected Member Functions | |
Helper methods for device assignment | |
| static void | insertDefaultAssignmentOptions (const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc) |
| Adds common command options that allow to assign devices to vehicles. More... | |
| static bool | equippedByDefaultAssignmentOptions (const OptionsCont &oc, const std::string &deviceName, SUMOVehicle &v) |
| Determines whether a vehicle should get a certain device. More... | |
Protected Attributes | |
| std::string | myDescription |
| a description of this moveReminder More... | |
| SUMOVehicle & | myHolder |
| The vehicle that stores the device. More... | |
| std::string | myID |
| The name of the object. More... | |
| MSLane *const | myLane |
| Lane on which the reminder works. More... | |
Private Types | |
| typedef std::set< const MSDevice_Tripinfo *, Named::NamedLikeComparatorIdLess< MSDevice_Tripinfo > > | DeviceSet |
| devices which may still need to produce output More... | |
Private Member Functions | |
| void | computeLengthAndDuration (double &routeLength, SUMOTime &duration) const |
| MSDevice_Tripinfo (SUMOVehicle &holder, const std::string &id) | |
| Constructor. More... | |
| MSDevice_Tripinfo () | |
| dummy constructor More... | |
| MSDevice_Tripinfo (const MSDevice_Tripinfo &) | |
| Invalidated copy constructor. More... | |
| MSDevice_Tripinfo & | operator= (const MSDevice_Tripinfo &) |
| Invalidated assignment operator. More... | |
Private Attributes | |
| std::string | myArrivalLane |
| The lane the vehicle arrived at. More... | |
| double | myArrivalPos |
| The position on the lane the vehicle arrived at. More... | |
| double | myArrivalPosLat |
| The lateral position on the lane the vehicle arrived at. More... | |
| double | myArrivalSpeed |
| The speed when arriving. More... | |
| SUMOTime | myArrivalTime |
| The vehicle's arrival time. More... | |
| std::string | myDepartLane |
| The lane the vehicle departed at. More... | |
| double | myDepartPosLat |
| The lateral depart position. More... | |
| double | myDepartSpeed |
| The speed on departure. More... | |
| SUMOTime | myMesoTimeLoss |
| The time loss when compared to the desired and allowed speed. More... | |
| SUMOTime | myWaitingTime |
| The overall waiting time. More... | |
Static Private Attributes | |
| static DeviceSet | myPendingOutput |
| static SUMOTime | myTotalDepartDelay |
| static SUMOTime | myTotalDuration |
| static double | myTotalRouteLength |
| static SUMOTime | myTotalTimeLoss |
| static SUMOTime | myTotalWaitingTime |
| static SUMOTime | myTotalWalkDuration |
| static double | myTotalWalkRouteLength |
| static double | myVehicleCount |
| global tripinfo statistics More... | |
| static int | myWalkCount |
A device which collects info on the vehicle trip (mainly on departure and arrival)
Each device collects departure time, lane and speed and the same for arrival.
Definition at line 54 of file MSDevice_Tripinfo.h.
|
private |
devices which may still need to produce output
Definition at line 221 of file MSDevice_Tripinfo.h.
|
inherited |
Definition of a vehicle state.
Definition at line 96 of file MSMoveReminder.h.
| MSDevice_Tripinfo::~MSDevice_Tripinfo | ( | ) |
|
private |
Constructor.
| [in] | holder | The vehicle that holds this device |
| [in] | id | The ID of the device |
Definition at line 81 of file MSDevice_Tripinfo.cpp.
|
private |
dummy constructor
Referenced by buildVehicleDevices(), and deviceName().
|
private |
Invalidated copy constructor.
|
static |
record tripinfo data for pedestrians
Definition at line 279 of file MSDevice_Tripinfo.cpp.
References myTotalWalkDuration, myTotalWalkRouteLength, and myWalkCount.
Referenced by MSPerson::MSPersonStage_Walking::tripInfoOutput().
|
inlineinherited |
Adds this object to the given container.
Definition at line 129 of file Named.h.
References Named::StoringVisitor::add().
|
static |
Build devices for the given vehicle, if needed.
The options are read and evaluated whether a tripinfo-device shall be built for the given vehicle.
The built device is stored in the given vector.
| [in] | v | The vehicle for which a device may be built |
Definition at line 69 of file MSDevice_Tripinfo.cpp.
References SUMOVehicle::getID(), OptionsCont::getOptions(), MSDevice_Tripinfo(), and myPendingOutput.
Referenced by MSDevice::buildVehicleDevices().
|
staticinherited |
check device-specific options
Definition at line 74 of file MSDevice.cpp.
References MSDevice_Routing::checkOptions().
Referenced by MSFrame::checkOptions().
|
private |
Definition at line 168 of file MSDevice_Tripinfo.cpp.
References MSRoute::begin(), SUMOVehicle::getCurrentRouteEdge(), MSNet::getCurrentTimeStep(), SUMOVehicle::getDepartPos(), SUMOVehicle::getDeparture(), MSRoute::getDistanceBetween(), SUMOVehicle::getEdge(), MSLane::getEdge(), MSNet::getInstance(), MSMoveReminder::getLane(), MSEdge::getLength(), SUMOVehicle::getPositionOnLane(), SUMOVehicle::getRoute(), MSGlobals::gUseMesoSim, MSGlobals::gUsingInternalLanes, MSNet::hasInternalLinks(), MSEdge::isInternal(), myArrivalPos, myArrivalTime, MSDevice::myHolder, and NOT_ARRIVED.
Referenced by deviceName(), generateOutput(), and updateStatistics().
|
inlinevirtual |
return the name for this type of device
Implements MSDevice.
Definition at line 134 of file MSDevice_Tripinfo.h.
References computeLengthAndDuration(), generateOutput(), loadState(), MSDevice_Tripinfo(), notifyMoveInternal(), and saveState().
|
staticprotectedinherited |
Determines whether a vehicle should get a certain device.
| [in] | oc | The options container to get the information about assignment from |
| [in] | deviceName | The name of the device type |
| [in] | v | The vehicle to determine whether it shall be equipped or not |
Definition at line 111 of file MSDevice.cpp.
References TplConvert::_2bool(), MSDevice::deviceName(), OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), SUMOVehicle::getID(), MSNet::getInstance(), OptionsCont::getOptions(), Parameterised::getParameter(), SUMOVehicle::getParameter(), MSVehicleType::getParameter(), MSVehicleControl::getQuota(), OptionsCont::getStringVector(), MSNet::getVehicleControl(), SUMOVehicle::getVehicleType(), OptionsCont::isSet(), Parameterised::knowsParameter(), MSDevice::myEquipmentRNG, MSDevice::myExplicitIDs, and RandHelper::rand().
Referenced by MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_BTsender::buildVehicleDevices(), MSDevice_BTreceiver::buildVehicleDevices(), MSDevice_Emissions::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), and MSDevice::setParameter().
|
virtual |
Called on writing tripinfo output.
| [in] | os | The stream to write the information into |
| IOError | not yet implemented |
Reimplemented from MSDevice.
Definition at line 195 of file MSDevice_Tripinfo.cpp.
References computeLengthAndDuration(), DELTA_T, MSRoute::end(), SUMOVehicle::getChosenSpeedFactor(), SUMOVehicle::getDepartDelay(), SUMOVehicle::getDepartPos(), SUMOVehicle::getDeparture(), OutputDevice::getDeviceByOption(), SUMOVehicle::getDevices(), SUMOVehicle::getEdge(), SUMOVehicle::getID(), MSVehicleType::getID(), SUMOVehicle::getNumberReroutes(), OptionsCont::getOptions(), SUMOVehicle::getRoute(), SUMOVehicle::getVehicleType(), MSGlobals::gLateralResolution, MSGlobals::gUseMesoSim, myArrivalLane, myArrivalPos, myArrivalPosLat, myArrivalSpeed, myArrivalTime, myDepartLane, myDepartPosLat, myDepartSpeed, MSDevice::myHolder, myMesoTimeLoss, myPendingOutput, myWaitingTime, OutputDevice::openTag(), time2string(), updateStatistics(), and OutputDevice::writeAttr().
Referenced by deviceName(), and generateOutputForUnfinished().
|
static |
generate output for vehicles which are still in the network
Definition at line 246 of file MSDevice_Tripinfo.cpp.
References OutputDevice::closeTag(), generateOutput(), OutputDevice::getDeviceByOption(), OptionsCont::getOptions(), SUMOVehicle::hasDeparted(), MSDevice::myHolder, and myPendingOutput.
Referenced by MSNet::closeSimulation().
|
static |
Definition at line 344 of file MSDevice_Tripinfo.cpp.
References myTotalDepartDelay, myVehicleCount, and STEPS2TIME.
Referenced by GUINet::getAvgDepartDelay(), and printStatistics().
|
static |
Definition at line 315 of file MSDevice_Tripinfo.cpp.
References myTotalDuration, myVehicleCount, and STEPS2TIME.
Referenced by GUINet::getAvgDuration(), GUINet::getAvgTripSpeed(), and printStatistics().
|
static |
accessors for GUINet-Parameters
Definition at line 306 of file MSDevice_Tripinfo.cpp.
References myTotalRouteLength, and myVehicleCount.
Referenced by GUINet::getAvgRouteLength(), GUINet::getAvgTripSpeed(), and printStatistics().
|
static |
Definition at line 334 of file MSDevice_Tripinfo.cpp.
References myTotalTimeLoss, myVehicleCount, and STEPS2TIME.
Referenced by GUINet::getAvgTimeLoss(), and printStatistics().
|
static |
Definition at line 324 of file MSDevice_Tripinfo.cpp.
References myTotalWaitingTime, myVehicleCount, and STEPS2TIME.
Referenced by GUINet::getAvgWaitingTime(), and printStatistics().
|
static |
Definition at line 363 of file MSDevice_Tripinfo.cpp.
References myTotalWalkDuration, myWalkCount, and STEPS2TIME.
Referenced by printStatistics().
|
static |
Definition at line 354 of file MSDevice_Tripinfo.cpp.
References myTotalWalkRouteLength, and myWalkCount.
Referenced by printStatistics().
|
inlineinherited |
Definition at line 235 of file MSMoveReminder.h.
References MSMoveReminder::myDescription, and MSMoveReminder::removeFromVehicleUpdateValues().
Referenced by MSBaseVehicle::getSingularType(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), and MSMeanData_Net::MSLaneMeanDataValues::write().
|
inlinestaticinherited |
Definition at line 91 of file MSDevice.h.
References MSDevice::deviceName(), and MSDevice::myEquipmentRNG.
Referenced by NLBuilder::loadAndRun(), and GUILoadThread::run().
|
inlineinherited |
Returns the vehicle that holds this device.
Definition at line 118 of file MSDevice.h.
References MSDevice::myHolder.
Referenced by MSChargingStation::addChargeValueForOutput().
|
inlineinherited |
Returns the id.
Definition at line 66 of file Named.h.
References Named::myID.
Referenced by NIImporter_SUMO::_loadNetwork(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), TraCIServerAPI_Lane::StoringVisitor::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), IntermodalRouter< E, L, N, V >::addAccess(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSNet::addBusStop(), MSNet::addChargingStation(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSNet::addContainerStop(), NIXMLConnectionsHandler::addCrossing(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), MSNet::addParkingArea(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), ROVehicle::addStop(), MSVehicle::addStop(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), NBPTStopCont::assignPTStopToEdgeOfClosestPlatform(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), NLDetectorBuilder::buildE2Detector(), NIVissimConnection::buildEdgeConnections(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), NBEdgeCont::checkOverlap(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedSUMOTLDef::collectEdges(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBEdge::computeAngle(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistricts(), NBEdge::divideOnEdges(), NBEdge::divideSelectedLanesOnEdges(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTrafficLightLogic::SwitchCommand::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), TraCIServerAPI_Vehicle::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBRampsComputer::fulfillsRampConstraints(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), TraCI_Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), MSNet::getBusStopID(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSNet::getChargingStationID(), NBEdge::getConnection(), NBEdge::getConnectionRef(), MSNet::getContainerStopID(), NBEdge::getCrossingAngle(), RODFNet::getDetectorEdge(), TraCI_Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), TraCI_InductionLoop::getLaneID(), TraCI_LaneArea::getLaneID(), TraCI_Vehicle::getLaneID(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), TraCI_Lane::getLinks(), MSLane::getLinkTo(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), MSNet::getParkingAreaID(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBPTStopCont::getReverseStop(), TraCI_Vehicle::getRoadID(), TraCI_Vehicle::getRouteID(), MSDevice_SSM::getUpstreamVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NBEdge::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicle(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), RODFNet::isSource(), MSSOTLTrafficLightLogic::isThresholdPassed(), NBNodeCont::joinJunctions(), NBEdgeCont::joinSameNodeConnectingEdges(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), NBEdge::MainDirections::MainDirections(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), GNEJunction::markAsModified(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), NBRampsComputer::moveRampRight(), MSPModel_Striping::PState::moveToNextLane(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIXMLEdgesHandler::myEndElement(), NIImporter_SUMO::myEndElement(), NIXMLConnectionsHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), MSPModel_Striping::nextBlocking(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GUIViewTraffic::onGamingClick(), GNEViewNet::onLeftBtnPress(), MSLink::opened(), RORouteHandler::openRoute(), Named::ComparatorIdLess::operator()(), NBTurningDirectionsComputer::combination_by_angle_sorter::operator()(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSEdge::by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NLTriggerBuilder::parseAndBuildCalibrator(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSDevice_SSM::processEncounters(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Person::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSPModel_Striping::PState::PState(), NBEdgeCont::recheckLanes(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBNodeCont::remapIDs(), NBEdgeCont::remapIDs(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), NBNodeCont::removeIsolatedRoads(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIImporter_DlrNavteq::ConnectedLanesHandler::report(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingZone(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveGNEConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), NBPTLineCont::reviseStops(), RONet::saveAndRemoveRoutesUntil(), MSDevice_Vehroutes::saveState(), MSDevice::saveState(), saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), MSChargingStation::setEfficency(), GNEJunction::setLogicValid(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBEdgeCont::splitAt(), MSStopOut::stopEnded(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSSOTLTrafficLightLogic::updateCTS(), GNETLSEditorFrame::updateDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), TraCIServerAPI_Vehicle::vtdMap(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSEmissionExport::write(), MSBatteryExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), NBSign::writeAsPOI(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_SUMO::writeInternalConnections(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 59 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), GUIVehicle::getParameterWindow(), NBEdge::init(), MSLane::isInsertionSuccess(), MSPModel_Striping::PState::moveToNextLane(), operator<<(), TraCIServerAPI_Vehicle::processSet(), NBEdge::recheckLanes(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), MSAbstractLaneChangeModel::updateShadowLane(), and TraCIServerAPI_Vehicle::vtdMap().
|
inlineinherited |
Returns the lane the reminder works on.
Definition at line 90 of file MSMoveReminder.h.
References MSMoveReminder::myLane.
Referenced by computeLengthAndDuration(), TraCI_InductionLoop::getLaneID(), TraCI_LaneArea::getLaneID(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), TraCIServerAPI_InductionLoop::getPosition(), TraCIServerAPI_InductionLoop::getTree(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), MSDevice_Vehroutes::notifyEnter(), MSMeanData_Amitran::MSLaneMeanDataValues::notifyEnter(), notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), notifyLeave(), MSMeanData::MeanDataValues::notifyMove(), and MSMeanData::writeEdge().
|
inlinevirtualinherited |
try to retrieve the given parameter from this device. Throw exception for unsupported key
Reimplemented in MSDevice_Routing, MSDevice_Bluelight, MSDevice_Example, MSDevice_Transportable, and MSDevice_Battery.
Definition at line 153 of file MSDevice.h.
References MSDevice::deviceName().
|
staticprotectedinherited |
Adds common command options that allow to assign devices to vehicles.
| [in] | deviceName | The name of the device type |
| [in] | optionsTopic | The options topic into which the options shall be added |
!! describe
!! describe
!! describe
Definition at line 97 of file MSDevice.cpp.
References OptionsCont::addDescription(), OptionsCont::addSynonyme(), and OptionsCont::doRegister().
Referenced by MSDevice_Battery::insertOptions(), MSDevice_Bluelight::insertOptions(), MSDevice_Example::insertOptions(), MSDevice_BTsender::insertOptions(), MSDevice_BTreceiver::insertOptions(), MSDevice_Emissions::insertOptions(), MSDevice_Routing::insertOptions(), MSDevice_SSM::insertOptions(), and MSDevice::setParameter().
|
staticinherited |
Inserts options for building devices.
Definition at line 61 of file MSDevice.cpp.
References MSDevice_Battery::insertOptions(), MSDevice_Bluelight::insertOptions(), MSDevice_Example::insertOptions(), MSDevice_BTsender::insertOptions(), MSDevice_BTreceiver::insertOptions(), MSDevice_Emissions::insertOptions(), MSDevice_Routing::insertOptions(), and MSDevice_SSM::insertOptions().
Referenced by MSFrame::fillOptions().
|
virtual |
Loads the state of the device from the given description.
| [in] | attrs | XML attributes describing the current state |
Reimplemented from MSDevice.
Definition at line 386 of file MSDevice_Tripinfo.cpp.
References SUMOSAXAttributes::getString(), myDepartLane, myDepartPosLat, myDepartSpeed, and SUMO_ATTR_STATE.
Referenced by deviceName().
|
virtual |
Saves departure info on insertion.
| [in] | veh | The entering vehicle. |
| [in] | reason | how the vehicle enters the lane |
Reimplemented from MSMoveReminder.
Definition at line 133 of file MSDevice_Tripinfo.cpp.
References Named::getID(), MSMoveReminder::getLane(), SUMOVehicle::getSpeed(), MSGlobals::gUseMesoSim, myDepartLane, myDepartPosLat, myDepartSpeed, and MSMoveReminder::NOTIFICATION_DEPARTED.
|
virtual |
Saves arrival info.
| [in] | veh | The leaving vehicle. |
| [in] | lastPos | Position on the lane when leaving. |
| [in] | isArrival | whether the vehicle arrived at its destination |
| [in] | isLaneChange | whether the vehicle changed from the lane |
Reimplemented from MSMoveReminder.
Definition at line 146 of file MSDevice_Tripinfo.cpp.
References SUMOVehicle::getArrivalPos(), MSNet::getCurrentTimeStep(), Named::getID(), MSNet::getInstance(), MSMoveReminder::getLane(), SUMOVehicle::getPositionOnLane(), SUMOVehicle::getSpeed(), MSGlobals::gUseMesoSim, myArrivalLane, myArrivalPos, myArrivalPosLat, myArrivalSpeed, myArrivalTime, MSDevice::myHolder, MSMoveReminder::NOTIFICATION_ARRIVED, and MSMoveReminder::NOTIFICATION_VAPORIZED.
|
virtual |
Checks for waiting steps when the vehicle moves.
| [in] | veh | Vehicle that asks this reminder. |
| [in] | oldPos | Position before move. |
| [in] | newPos | Position after move with newSpeed. |
| [in] | newSpeed | Moving speed. |
Reimplemented from MSMoveReminder.
Definition at line 103 of file MSDevice_Tripinfo.cpp.
References DELTA_T, SUMOVehicle::isStopped(), myWaitingTime, and SUMO_const_haltingSpeed.
|
protectedvirtual |
Internal notification about the vehicle moves, see MSMoveReminder::notifyMoveInternal()
Reimplemented from MSMoveReminder.
Definition at line 115 of file MSDevice_Tripinfo.cpp.
References SUMOVehicle::getEdge(), MSEdge::getVehicleMaxSpeed(), SUMOVehicle::getWaitingTime(), myMesoTimeLoss, myWaitingTime, and TIME2STEPS.
Referenced by deviceName().
|
private |
Invalidated assignment operator.
|
static |
get statistics for printing to stdout
Definition at line 286 of file MSDevice_Tripinfo.cpp.
References getAvgDepartDelay(), getAvgDuration(), getAvgRouteLength(), getAvgTimeLoss(), getAvgWaitingTime(), getAvgWalkDuration(), getAvgWalkRouteLength(), gPrecision, and myWalkCount.
Referenced by MSNet::closeSimulation().
|
protectedinherited |
Definition at line 94 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::getDescription(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), and MSMoveReminder::updateDetector().
|
virtual |
Saves the state of the device.
| [in] | out | The OutputDevice to write the information into |
Reimplemented from MSDevice.
Definition at line 373 of file MSDevice_Tripinfo.cpp.
References OutputDevice::closeTag(), Named::getID(), myDepartLane, myDepartPosLat, myDepartSpeed, OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_DEVICE, toString(), and OutputDevice::writeAttr().
Referenced by deviceName().
|
inlineinherited |
Definition at line 231 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().
|
inlineinherited |
resets the id
| [in] | newID | The new id of this object |
Definition at line 74 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBNodeCont::remapIDs(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), and NBEdgeCont::rename().
|
inlinevirtualinherited |
try to set the given parameter for this device. Throw exception for unsupported key
Reimplemented in MSDevice_Routing, MSDevice_Bluelight, MSDevice_Example, and MSDevice_Battery.
Definition at line 158 of file MSDevice.h.
References MSDevice::deviceName(), MSDevice::equippedByDefaultAssignmentOptions(), MSDevice::insertDefaultAssignmentOptions(), and UNUSED_PARAMETER.
|
inherited |
Definition at line 51 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MSMoveReminder::notifyLeave(), and MEVehicle::updateDetectorForWriting().
| void MSDevice_Tripinfo::updateStatistics | ( | SUMOTime | timeLoss | ) | const |
update tripinfo statistics
Definition at line 264 of file MSDevice_Tripinfo.cpp.
References computeLengthAndDuration(), SUMOVehicle::getDepartDelay(), MSDevice::myHolder, myTotalDepartDelay, myTotalDuration, myTotalRouteLength, myTotalTimeLoss, myTotalWaitingTime, myVehicleCount, and myWaitingTime.
Referenced by generateOutput().
|
private |
The lane the vehicle arrived at.
Definition at line 206 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), and notifyLeave().
|
private |
The position on the lane the vehicle arrived at.
Definition at line 209 of file MSDevice_Tripinfo.h.
Referenced by computeLengthAndDuration(), generateOutput(), and notifyLeave().
|
private |
The lateral position on the lane the vehicle arrived at.
Definition at line 212 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), and notifyLeave().
|
private |
The speed when arriving.
Definition at line 215 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), and notifyLeave().
|
private |
The vehicle's arrival time.
Definition at line 203 of file MSDevice_Tripinfo.h.
Referenced by computeLengthAndDuration(), generateOutput(), and notifyLeave().
|
private |
The lane the vehicle departed at.
Definition at line 191 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().
|
private |
The lateral depart position.
Definition at line 197 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().
|
private |
The speed on departure.
Definition at line 194 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), loadState(), notifyEnter(), and saveState().
|
protectedinherited |
a description of this moveReminder
Definition at line 247 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
protectedinherited |
The vehicle that stores the device.
Definition at line 187 of file MSDevice.h.
Referenced by MSDevice_Vehroutes::addRoute(), MSDevice_Transportable::addTransportable(), computeLengthAndDuration(), generateOutput(), generateOutputForUnfinished(), MSDevice::getHolder(), MSDevice_Routing::getParameter(), MSDevice_Vehroutes::notifyEnter(), notifyLeave(), MSDevice_Routing::preInsertionReroute(), MSDevice_Transportable::removeTransportable(), MSDevice_Routing::reroute(), MSDevice_Routing::setParameter(), MSDevice_SSM::updateAndWriteOutput(), updateStatistics(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writeXMLRoute(), and MSDevice_Vehroutes::~MSDevice_Vehroutes().
|
protectedinherited |
The name of the object.
Definition at line 136 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), METriggeredCalibrator::execute(), MSCalibrator::execute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NBEdge::getLaneIDInsecure(), ROEdge::getStoredEffort(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSCalibrator::init(), NBEdge::init(), MSLane::isInsertionSuccess(), MSCalibrator::myStartElement(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), Named::setID(), MSSOTLTrafficLightLogic::setToATargetPhase(), NBEdge::splitGeometry(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSXMLRawOut::writeLane(), NBNode::writeLogic(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
Lane on which the reminder works.
Definition at line 245 of file MSMoveReminder.h.
Referenced by MSE2Collector::getEstimatedCurrentVehicleNumber(), MSE2Collector::getEstimateQueueLength(), MSMoveReminder::getLane(), MSMoveReminder::MSMoveReminder(), MSInductLoop::notifyEnter(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSMeanData::MeanDataValues::notifyMove(), MSE2Collector::notifyMove(), and MSMeanData::MeanDataValueTracker::reset().
|
private |
The time loss when compared to the desired and allowed speed.
Definition at line 218 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), and notifyMoveInternal().
|
staticprivate |
Definition at line 223 of file MSDevice_Tripinfo.h.
Referenced by buildVehicleDevices(), generateOutput(), generateOutputForUnfinished(), and ~MSDevice_Tripinfo().
|
staticprivate |
Definition at line 231 of file MSDevice_Tripinfo.h.
Referenced by getAvgDepartDelay(), and updateStatistics().
|
staticprivate |
Definition at line 228 of file MSDevice_Tripinfo.h.
Referenced by getAvgDuration(), and updateStatistics().
|
staticprivate |
Definition at line 227 of file MSDevice_Tripinfo.h.
Referenced by getAvgRouteLength(), and updateStatistics().
|
staticprivate |
Definition at line 230 of file MSDevice_Tripinfo.h.
Referenced by getAvgTimeLoss(), and updateStatistics().
|
staticprivate |
Definition at line 229 of file MSDevice_Tripinfo.h.
Referenced by getAvgWaitingTime(), and updateStatistics().
|
staticprivate |
Definition at line 235 of file MSDevice_Tripinfo.h.
Referenced by addPedestrianData(), and getAvgWalkDuration().
|
staticprivate |
Definition at line 234 of file MSDevice_Tripinfo.h.
Referenced by addPedestrianData(), and getAvgWalkRouteLength().
|
staticprivate |
global tripinfo statistics
Definition at line 226 of file MSDevice_Tripinfo.h.
Referenced by getAvgDepartDelay(), getAvgDuration(), getAvgRouteLength(), getAvgTimeLoss(), getAvgWaitingTime(), and updateStatistics().
|
private |
The overall waiting time.
Definition at line 200 of file MSDevice_Tripinfo.h.
Referenced by generateOutput(), notifyMove(), notifyMoveInternal(), and updateStatistics().
|
staticprivate |
Definition at line 233 of file MSDevice_Tripinfo.h.
Referenced by addPedestrianData(), getAvgWalkDuration(), getAvgWalkRouteLength(), and printStatistics().