![]() |
SUMO - Simulation of Urban MObility
|
The gui-version of the MSE2Collector. More...
#include <GUIE2Collector.h>
Data Structures | |
class | MyWrapper |
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... | |
typedef std::map< std::string, VehicleInfo * > | VehicleInfoMap |
Public Member Functions | |
void | addTo (const StoringVisitor &cont) const |
Adds this object to the given container. More... | |
virtual GUIDetectorWrapper * | buildDetectorGUIRepresentation () |
Returns the wrapper for this detector. More... | |
const std::string & | getDescription () const |
double | getEndPos () const |
Returns the end position of the detector. More... | |
const std::string & | getID () const |
Returns the id. More... | |
const MSLane * | getLane () const |
Returns the lane the reminder works on. More... | |
std::vector< MSLane * > | getLanes () |
Returns a vector containing pointers to the lanes covered by the detector ordered from its first to its last lane. More... | |
MSLane * | getLastLane () const |
Returns the id of the detector's last lane. More... | |
double | getLength () const |
Returns the length of the detector. More... | |
double | getStartPos () const |
Returns the begin position of the detector. More... | |
virtual DetectorUsage | getUsageType () const |
Returns the detector's usage type. More... | |
GUIE2Collector (const std::string &id, DetectorUsage usage, MSLane *lane, double startPos, double endPos, double detLength, SUMOTime haltingTimeThreshold, double haltingSpeedThreshold, double jamDistThreshold, const std::string &vTypes, bool showDetector) | |
Constructor with given end position and detector length. More... | |
GUIE2Collector (const std::string &id, DetectorUsage usage, std::vector< MSLane *> lanes, double startPos, double endPos, SUMOTime haltingTimeThreshold, double haltingSpeedThreshold, double jamDistThreshold, const std::string &vTypes, bool showDetector) | |
Constructor with a sequence of lanes and given start and end position on the first and last lanes. More... | |
virtual 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 meanLengthOnLane) |
Internal notification about the vehicle moves. More... | |
virtual void | reset () |
Resets all values. More... | |
void | setDescription (const std::string &description) |
void | setID (const std::string &newID) |
resets the id More... | |
~GUIE2Collector () | |
Destructor. More... | |
Methods inherited from MSMoveReminder | |
virtual bool | notifyMove (SUMOVehicle &veh, double oldPos, double newPos, double newSpeed) |
Adds/removes vehicles from the list of vehicles to regard. More... | |
virtual bool | notifyLeave (SUMOVehicle &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0) |
Removes a known vehicle due to its lane-change. More... | |
virtual bool | notifyEnter (SUMOVehicle &veh, MSMoveReminder::Notification reason, const MSLane *enteredLane) |
Adds the vehicle to known vehicles if not beyond the dector. More... | |
Methods inherited from MSDetectorFileOutput. | |
virtual void | detectorUpdate (const SUMOTime step) |
Computes the detector values in each time step. More... | |
virtual void | writeXMLOutput (OutputDevice &dev, SUMOTime startTime, SUMOTime stopTime) |
Write the generated output to the given device. More... | |
virtual void | writeXMLDetectorProlog (OutputDevice &dev) const |
Open the XML-output. More... | |
Methods returning current values | |
int | getCurrentVehicleNumber () const |
Returns the number of vehicles currently on the detector. More... | |
double | getCurrentOccupancy () const |
Returns the current detector occupancy. More... | |
double | getCurrentMeanSpeed () const |
Returns the mean vehicle speed of vehicles currently on the detector. More... | |
double | getCurrentMeanLength () const |
Returns the mean vehicle length of vehicles currently on the detector. More... | |
int | getCurrentJamNumber () const |
Returns the current number of jams. More... | |
int | getCurrentMaxJamLengthInVehicles () const |
Returns the length in vehicles of the currently largest jam. More... | |
double | getCurrentMaxJamLengthInMeters () const |
Returns the length in meters of the currently largest jam. More... | |
int | getCurrentJamLengthInVehicles () const |
Returns the length of all jams in vehicles. More... | |
double | getCurrentJamLengthInMeters () const |
Returns the length of all jams in meters. More... | |
int | getCurrentStartedHalts () const |
Returns the length of all jams in meters. More... | |
int | getCurrentHaltingNumber () const |
Returns the number of current haltings within the area. More... | |
std::vector< std::string > | getCurrentVehicleIDs () const |
Returns the IDs of the vehicles within the area. More... | |
std::vector< VehicleInfo * > | getCurrentVehicles () const |
Returns the VehicleInfos for the vehicles currently on the detector. More... | |
int | getPassedVeh () |
Returns the number of vehicles passed over the sensor (i.e. entered the sensor) More... | |
void | subtractPassedVeh (int passed) |
Subtract the number of vehicles indicated from passed from the sensor count. More... | |
Estimation methods | |
TODO: Need documentation, used for tls control in MSSOTLE2Sensors (->Daniel?) | |
int | getEstimatedCurrentVehicleNumber (double speedThreshold) const |
Returns an estimate of the number of vehicles currently on the detector. More... | |
double | getEstimateQueueLength () const |
Returns an estimate of the lenght of the queue of vehicles currently stopped on the detector. 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 | |
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... | |
Protected Member Functions | |
void | removeFromVehicleUpdateValues (SUMOVehicle &veh) |
Protected Attributes | |
std::string | myDescription |
a description of this moveReminder More... | |
std::string | myID |
The name of the object. More... | |
MSLane *const | myLane |
Lane on which the reminder works. More... | |
Private Attributes | |
bool | myShowDetectorInGUI |
Whether the detector shall be drawn in the gui. More... | |
Virtual methods to implement by derived classes | |
bool | vehicleApplies (const SUMOVehicle &veh) const |
Checks whether the detector measures vehicles of the given type. More... | |
bool | isTyped () const |
Checks whether the detector is type specific. More... | |
std::set< std::string > | myVehicleTypes |
The vehicle types to look for (empty means all) More... | |
The gui-version of the MSE2Collector.
Allows the building of a wrapper (also declared herein) which draws the detector on the gl-canvas. Beside this, the method "amVisible" is overridden to signalise that this detector is not used for simulation- -internal reasons, but is placed over the simulation by the user.
Definition at line 50 of file GUIE2Collector.h.
|
inherited |
Definition at line 158 of file MSE2Collector.h.
|
inherited |
Definition of a vehicle state.
Definition at line 95 of file MSMoveReminder.h.
GUIE2Collector::GUIE2Collector | ( | const std::string & | id, |
DetectorUsage | usage, | ||
MSLane * | lane, | ||
double | startPos, | ||
double | endPos, | ||
double | detLength, | ||
SUMOTime | haltingTimeThreshold, | ||
double | haltingSpeedThreshold, | ||
double | jamDistThreshold, | ||
const std::string & | vTypes, | ||
bool | showDetector | ||
) |
Constructor with given end position and detector length.
[in] | id | The detector's unique id. |
[in] | usage | Information how the detector is used |
[in] | lane | The lane the detector ends |
[in] | startPos | The start position on the lane the detector is placed at |
[in] | endPos | The end position on the lane the detector is placed at |
[in] | length | The length the detector has (heuristic lane selection is done if the continuation is not unique) |
[in] | haltingTimeThreshold | The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed |
[in] | haltingSpeedThreshold | The speed a vehicle's speed must be below to be assigned as jammed |
[in] | jamDistThreshold | The distance between two vehicles in order to not count them to one jam |
[in] | vTypes | Vehicle types, that the detector takes into account |
[in] | friendlyPositioning | Whether positions should be corrected to "snap" on lane beginnings or ends if closer than POS_EPSILON |
[in] | showDetector | Whether the detector should be visible in the GUI |
Definition at line 50 of file GUIE2Collector.cpp.
GUIE2Collector::GUIE2Collector | ( | const std::string & | id, |
DetectorUsage | usage, | ||
std::vector< MSLane *> | lanes, | ||
double | startPos, | ||
double | endPos, | ||
SUMOTime | haltingTimeThreshold, | ||
double | haltingSpeedThreshold, | ||
double | jamDistThreshold, | ||
const std::string & | vTypes, | ||
bool | showDetector | ||
) |
Constructor with a sequence of lanes and given start and end position on the first and last lanes.
[in] | id | The detector's unique id. |
[in] | usage | Information how the detector is used |
[in] | lanes | A sequence of lanes the detector covers (must form a continuous piece) |
[in] | startPos | The position of the detector start on the first lane the detector is placed at |
[in] | endPos | The position of the detector end on the last lane the detector is placed at |
[in] | haltingTimeThreshold | The time a vehicle's speed must be below haltingSpeedThreshold to be assigned as jammed |
[in] | haltingSpeedThreshold | The speed a vehicle's speed must be below to be assigned as jammed |
[in] | jamDistThreshold | The distance between two vehicles in order to not count them to one jam |
[in] | vTypes | Vehicle types, that the detector takes into account |
[in] | friendlyPositioning | Whether positions should be corrected to "snap" on lane beginnings or ends if closer than POS_EPSILON |
[in] | showDetector | Whether the detector should be visible in the GUI |
Definition at line 58 of file GUIE2Collector.cpp.
GUIE2Collector::~GUIE2Collector | ( | ) |
Destructor.
Definition at line 66 of file GUIE2Collector.cpp.
|
inlineinherited |
Adds this object to the given container.
Definition at line 128 of file Named.h.
References Named::StoringVisitor::add().
|
virtual |
Returns the wrapper for this detector.
Reimplemented from MSDetectorFileOutput.
Definition at line 70 of file GUIE2Collector.cpp.
|
virtualinherited |
Computes the detector values in each time step.
This method should be called at the end of a simulation step, when all vehicles have moved. The current values are computed and summed up with the previous.
[in] | currentTime | The current simulation time |
Reimplemented from MSDetectorFileOutput.
Definition at line 754 of file MSE2Collector.cpp.
References MSE2Collector::aggregateOutputValues(), MSE2Collector::buildJam(), MSE2Collector::checkJam(), MSE2Collector::compareMoveNotification(), MSE2Collector::integrateMoveNotification(), MSE2Collector::myCurrentHaltingsNumber, MSE2Collector::myCurrentMeanLength, MSE2Collector::myCurrentMeanSpeed, MSE2Collector::myCurrentStartedHalts, MSE2Collector::myHaltingVehicleDurations, Named::myID, MSE2Collector::myIntervalHaltingVehicleDurations, MSE2Collector::myLeftVehicles, MSE2Collector::myMoveNotifications, MSE2Collector::myNumberOfEnteredVehicles, MSE2Collector::myNumberOfLeftVehicles, MSE2Collector::myNumberOfSeenVehicles, MSE2Collector::myVehicleInfos, MSE2Collector::processJams(), and SIMTIME.
Referenced by MSE2Collector::getUsageType().
|
inlineinherited |
Returns the number of current haltings within the area.
If no vehicle is within the area, 0 is returned.
Definition at line 475 of file MSE2Collector.h.
References MSE2Collector::getCurrentVehicleIDs(), MSE2Collector::getCurrentVehicles(), and MSE2Collector::myCurrentHaltingsNumber.
Referenced by libsumo::LaneArea::getLastStepHaltingNumber().
|
inlineinherited |
Returns the length of all jams in meters.
Definition at line 460 of file MSE2Collector.h.
References MSE2Collector::myCurrentJamLengthInMeters.
Referenced by libsumo::LaneArea::getJamLengthMeters(), and GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the length of all jams in vehicles.
Definition at line 455 of file MSE2Collector.h.
References MSE2Collector::myCurrentJamLengthInVehicles.
Referenced by libsumo::LaneArea::getJamLengthVehicle(), and GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the current number of jams.
Definition at line 440 of file MSE2Collector.h.
References MSE2Collector::myCurrentJamNo.
Referenced by GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the length in meters of the currently largest jam.
Definition at line 450 of file MSE2Collector.h.
References MSE2Collector::myCurrentMaxJamLengthInMeters.
Referenced by GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the length in vehicles of the currently largest jam.
Definition at line 445 of file MSE2Collector.h.
References MSE2Collector::myCurrentMaxJamLengthInVehicles.
Referenced by GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the mean vehicle length of vehicles currently on the detector.
Definition at line 435 of file MSE2Collector.h.
References MSE2Collector::myCurrentMeanLength.
Referenced by GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the mean vehicle speed of vehicles currently on the detector.
Definition at line 430 of file MSE2Collector.h.
References MSE2Collector::myCurrentMeanSpeed.
Referenced by libsumo::LaneArea::getLastStepMeanSpeed(), GUIE2Collector::MyWrapper::getParameterWindow(), and MSSOTLE2Sensors::meanVehiclesSpeed().
|
inlineinherited |
Returns the current detector occupancy.
Definition at line 425 of file MSE2Collector.h.
References MSE2Collector::myCurrentOccupancy.
Referenced by libsumo::LaneArea::getLastStepOccupancy(), and GUIE2Collector::MyWrapper::getParameterWindow().
|
inlineinherited |
Returns the length of all jams in meters.
Definition at line 465 of file MSE2Collector.h.
References MSE2Collector::myCurrentStartedHalts.
Referenced by GUIE2Collector::MyWrapper::getParameterWindow().
|
inherited |
Returns the IDs of the vehicles within the area.
Definition at line 1276 of file MSE2Collector.cpp.
References MSE2Collector::myVehicleInfos.
Referenced by MSE2Collector::getCurrentHaltingNumber(), and libsumo::LaneArea::getLastStepVehicleIDs().
|
inherited |
Returns the number of vehicles currently on the detector.
Definition at line 1263 of file MSE2Collector.cpp.
References MSE2Collector::myVehicleInfos.
Referenced by MSSOTLE2Sensors::count(), MSE2Collector::getLastLane(), libsumo::LaneArea::getLastStepVehicleNumber(), GUIE2Collector::MyWrapper::getParameterWindow(), and MSSOTLE2Sensors::meanVehiclesSpeed().
|
inherited |
Returns the VehicleInfos for the vehicles currently on the detector.
Definition at line 1289 of file MSE2Collector.cpp.
References MSE2Collector::myVehicleInfos.
Referenced by MSSOTLE2Sensors::count(), MSE2Collector::getCurrentHaltingNumber(), and MSDelayBasedTrafficLightLogic::proposeProlongation().
|
inlineinherited |
Definition at line 234 of file MSMoveReminder.h.
References MSMoveReminder::myDescription, and MSMoveReminder::removeFromVehicleUpdateValues().
Referenced by MSBaseVehicle::getSingularType(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), and MSMeanData_Net::MSLaneMeanDataValues::write().
|
inlineinherited |
Returns the end position of the detector.
Definition at line 383 of file MSE2Collector.h.
References MSE2Collector::myEndPos.
Referenced by libsumo::LaneArea::getLength().
|
inherited |
Returns an estimate of the number of vehicles currently on the detector.
Definition at line 1303 of file MSE2Collector.cpp.
References MSLane::getSpeedLimit(), MSMoveReminder::myLane, and MSE2Collector::myVehicleInfos.
Referenced by MSE2Collector::subtractPassedVeh().
|
inherited |
Returns an estimate of the lenght of the queue of vehicles currently stopped on the detector.
Definition at line 1327 of file MSE2Collector.cpp.
References MSLane::getLength(), MIN2(), MSMoveReminder::myLane, and MSE2Collector::myVehicleInfos.
Referenced by MSE2Collector::subtractPassedVeh().
|
inlineinherited |
Returns the id.
Definition at line 65 of file Named.h.
References Named::myID.
Referenced by NIImporter_SUMO::_loadNetwork(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), LaneStoringVisitor::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), IntermodalRouter< E, L, N, V >::addAccess(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), NIXMLConnectionsHandler::addCrossing(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), NBEdge::append(), NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), NBPTStopCont::assignPTStopToEdgeOfClosestPlatform(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), 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(), MSLane::checkForPedestrians(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), 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(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBRampsComputer::fulfillsRampConstraints(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), NBEdge::getConnection(), NBEdge::getConnectionRef(), libsumo::TrafficLight::getControlledLinks(), NBEdge::getCrossingAngle(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), libsumo::InductionLoop::getLaneID(), libsumo::LaneArea::getLaneID(), libsumo::Vehicle::getLaneID(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), libsumo::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(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBPTStopCont::getReverseStop(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), libsumo::Vehicle::getRouteID(), MSNet::getStoppingPlaceID(), MSDevice_SSM::getUpstreamVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSTransportable::Stage_Driving::getWaitingDescription(), 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(), MSAbstractLaneChangeModel::laneChangeOutput(), 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(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), 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(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_BTreceiver::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(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLinkAproaches(), 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(), MSLink::removeApproaching(), NBNodeCont::removeIsolatedRoads(), MSVehicle::removePassedDriveItems(), 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::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveGNEConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), NBPTLineCont::reviseStops(), MSPerson::MSPersonStage_Walking::routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), RONet::saveAndRemoveRoutesUntil(), MSDevice_Vehroutes::saveState(), MSDevice::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), MSChargingStation::setEfficency(), GNEJunction::setLogicValid(), MSLane::setManeuverReservation(), 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(), IntermodalRouter< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), GNETLSEditorFrame::updateDescription(), MSVehicle::updateDriveItems(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSBatteryExport::write(), MSEmissionExport::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(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_OpenDrive::writeNormalEdge(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::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 58 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(), MSLaneChanger::getRealLeader(), NBEdge::init(), MSLane::isInsertionSuccess(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inlineinherited |
Returns the lane the reminder works on.
Definition at line 89 of file MSMoveReminder.h.
References MSMoveReminder::myLane.
Referenced by MSDevice_Tripinfo::computeLengthAndDuration(), libsumo::InductionLoop::getLaneID(), libsumo::LaneArea::getLaneID(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), TraCIServerAPI_InductionLoop::getPosition(), libsumo::InductionLoop::getTree(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), MSDevice_Vehroutes::notifyEnter(), MSMeanData_Amitran::MSLaneMeanDataValues::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSMeanData::MeanDataValues::notifyMove(), and MSMeanData::writeEdge().
|
inherited |
Returns a vector containing pointers to the lanes covered by the detector ordered from its first to its last lane.
Definition at line 564 of file MSE2Collector.cpp.
References MSLane::dictionary(), and MSE2Collector::myLanes.
Referenced by MSE2Collector::getLastLane(), MSE2Collector::initAuxiliaries(), and GUIE2Collector::MyWrapper::MyWrapper().
|
inlineinherited |
Returns the id of the detector's last lane.
Definition at line 400 of file MSE2Collector.h.
References MSE2Collector::getCurrentVehicleNumber(), MSE2Collector::getLanes(), MSE2Collector::myLastLane, and MSE2Collector::reset().
|
inlineinherited |
Returns the length of the detector.
Definition at line 391 of file MSE2Collector.h.
References MSE2Collector::myDetectorLength.
Referenced by MSE2Collector::checkPositioning(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIE2Collector::MyWrapper::MyWrapper(), and MSE2Collector::selectLanes().
|
inlineinherited |
Returns the number of vehicles passed over the sensor (i.e. entered the sensor)
Definition at line 493 of file MSE2Collector.h.
References MSE2Collector::myNumberOfEnteredVehicles.
Referenced by MSSOTLE2Sensors::getPassedVeh().
|
inlineinherited |
Returns the begin position of the detector.
Definition at line 374 of file MSE2Collector.h.
References MSE2Collector::myStartPos.
Referenced by libsumo::LaneArea::getLength(), GUIE2Collector::MyWrapper::getParameterWindow(), libsumo::LaneArea::getPosition(), and GUIE2Collector::MyWrapper::MyWrapper().
|
inlinevirtualinherited |
Returns the detector's usage type.
Definition at line 271 of file MSE2Collector.h.
References MSE2Collector::detectorUpdate(), MSE2Collector::VehicleInfo::lastPos, MSE2Collector::myUsage, MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSE2Collector::writeXMLDetectorProlog(), and MSE2Collector::writeXMLOutput().
Referenced by GUIE2Collector::MyWrapper::drawGL().
|
inlineinherited |
Checks whether the detector is type specific.
Definition at line 154 of file MSDetectorFileOutput.h.
References MSDetectorFileOutput::myVehicleTypes.
Referenced by MSMeanData_Amitran::MSLaneMeanDataValues::write().
|
virtualinherited |
Adds the vehicle to known vehicles if not beyond the dector.
If the vehicles is within the detector are, it is added to the list of known vehicles. The method returns true as long as the vehicle is not beyond the detector.
[in] | veh | The entering vehicle. |
[in] | reason | how the vehicle enters the lane |
Reimplemented from MSMoveReminder.
Definition at line 679 of file MSE2Collector.cpp.
References Named::getID(), SUMOVehicle::getID(), SUMOVehicle::getLane(), SUMOVehicle::isOnRoad(), MSE2Collector::makeVehicleInfo(), Named::myID, MSMoveReminder::myLane, MSE2Collector::myLanes, MSE2Collector::myVehicleInfos, SIMTIME, and MSDetectorFileOutput::vehicleApplies().
Referenced by MSE2Collector::getUsageType().
|
virtualinherited |
Removes a known vehicle due to its lane-change.
If the reported vehicle is known, it is removed from the list of vehicles to regard (myKnownVehicles).
[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 639 of file MSE2Collector.cpp.
References Named::getID(), SUMOVehicle::getID(), MAX2(), Named::myID, MSMoveReminder::myLane, MSE2Collector::myLanes, MSE2Collector::myNumberOfLeftVehicles, MSE2Collector::myOffsets, MSE2Collector::myVehicleInfos, MSMoveReminder::NOTIFICATION_JUNCTION, and SIMTIME.
Referenced by MSE2Collector::getUsageType().
|
virtualinherited |
Adds/removes vehicles from the list of vehicles to regard.
As soon as the reported vehicle enters the detector area (position>myStartPos) it is added to the list of vehicles to regard (myKnownVehicles). It is removed from this list if it leaves the detector (position<length>myEndPos). The method returns true as long as the vehicle is not beyond the detector.
[in] | veh | The vehicle in question. |
[in] | oldPos | Position before the move-micro-timestep. |
[in] | newPos | Position after the move-micro-timestep. Note that this position is given in reference to the begin of the entry lane of the vehicle. |
[in] | newSpeed | Unused here. |
Reimplemented from MSMoveReminder.
Definition at line 574 of file MSE2Collector.cpp.
References MSE2Collector::VehicleInfo::distToDetectorEnd, MSE2Collector::VehicleInfo::entryOffset, MSE2Collector::VehicleInfo::exitOffset, Named::getID(), SUMOVehicle::getID(), MSVehicleType::getLength(), SUMOVehicle::getVehicleType(), MSE2Collector::VehicleInfo::hasEntered, MSE2Collector::makeMoveNotification(), MSE2Collector::myDetectorLength, Named::myID, MSMoveReminder::myLane, MSE2Collector::myLeftVehicles, MSE2Collector::myMoveNotifications, MSE2Collector::myNumberOfEnteredVehicles, MSE2Collector::myNumberOfSeenVehicles, MSE2Collector::myVehicleInfos, and SIMTIME.
Referenced by MSE2Collector::getUsageType().
|
inlinevirtualinherited |
Internal notification about the vehicle moves.
Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from it's reminder-container.
[in] | veh | Vehicle that asks this reminder. |
[in] | frontOnLane | time the front of the vehicle spent on the lane. |
[in] | timeOnLane | time some part of the vehicle spent on the lane. |
[in] | meanSpeedFrontOnLane | Average speed for the time that the front is on the lane. |
[in] | meanSpeedVehicleOnLane | Average speed for the time that the vehicle is on the lane (with front or back). |
[in] | travelledDistanceFrontOnLane | distance travelled while overlapping with the lane. |
[in] | travelledDistanceVehicleOnLane | distance travelled while front was on the lane. |
[in] | meanLengthOnLane | the average length of the vehicle's part on the lane during the last step (==complete length in meso case) |
Reimplemented in MSMeanData::MeanDataValueTracker, MSDevice_Tripinfo, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.
Definition at line 212 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
Referenced by MSMeanData::MeanDataValues::notifyMove(), and MSMoveReminder::updateDetector().
|
protectedinherited |
Definition at line 93 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::getDescription(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), and MSMoveReminder::updateDetector().
|
virtualinherited |
Resets all values.
This method is called on initialisation and as soon as the values were written. Values for the next interval may be collected, then. The list of known vehicles stays untouched.
Reimplemented from MSDetectorFileOutput.
Definition at line 1234 of file MSE2Collector.cpp.
References MSE2Collector::myIntervalHaltingVehicleDurations, MSE2Collector::myJamLengthInMetersSum, MSE2Collector::myJamLengthInVehiclesSum, MSE2Collector::myMaxJamInMeters, MSE2Collector::myMaxJamInVehicles, MSE2Collector::myMaxOccupancy, MSE2Collector::myMaxVehicleNumber, MSE2Collector::myMeanMaxJamInMeters, MSE2Collector::myMeanMaxJamInVehicles, MSE2Collector::myMeanVehicleNumber, MSE2Collector::myNumberOfEnteredVehicles, MSE2Collector::myNumberOfLeftVehicles, MSE2Collector::myNumberOfSeenVehicles, MSE2Collector::myOccupancySum, MSE2Collector::myPastIntervalStandingDurations, MSE2Collector::myPastStandingDurations, MSE2Collector::mySpeedSum, MSE2Collector::myStartedHalts, MSE2Collector::myTimeSamples, MSE2Collector::myTotalTimeLoss, and MSE2Collector::myVehicleSamples.
Referenced by MSE2Collector::getLastLane(), MSE2Collector::MSE2Collector(), and MSE2Collector::writeXMLOutput().
|
inlineinherited |
Definition at line 230 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 73 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBNodeCont::remapIDs(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), NBEdgeCont::rename(), and IntermodalRouter< E, L, N, V >::splitEdge().
|
inlineinherited |
Subtract the number of vehicles indicated from passed from the sensor count.
[in] | passed | - int that indicates the number of vehicles to subtract |
Definition at line 501 of file MSE2Collector.h.
References MSE2Collector::addDetectorToLanes(), MSE2Collector::aggregateOutputValues(), MSE2Collector::buildJam(), MSE2Collector::calculateSegmentTimeLoss(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSE2Collector::checkJam(), MSE2Collector::checkPositioning(), MSE2Collector::getEstimatedCurrentVehicleNumber(), MSE2Collector::getEstimateQueueLength(), MSE2Collector::initAuxiliaries(), MSE2Collector::integrateMoveNotification(), MSE2Collector::VehicleInfo::length, MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSE2Collector::myNumberOfEnteredVehicles, MSE2Collector::processJams(), MSE2Collector::recalculateDetectorLength(), MSE2Collector::selectLanes(), and MSE2Collector::snap().
|
inherited |
Definition at line 50 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MSMoveReminder::notifyLeave(), and MEVehicle::updateDetectorForWriting().
|
inlineinherited |
Checks whether the detector measures vehicles of the given type.
[in] | veh | the vehicle of which the type is checked. |
Definition at line 145 of file MSDetectorFileOutput.h.
References MSVehicleType::getID(), SUMOVehicle::getVehicleType(), and MSDetectorFileOutput::myVehicleTypes.
Referenced by MSMeanData::MeanDataValues::notifyEnter(), MSMeanData_Amitran::MSLaneMeanDataValues::notifyEnter(), MSInductLoop::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), and MSInstantInductLoop::notifyMove().
|
virtualinherited |
Open the XML-output.
The implementing function should open an xml element using OutputDevice::writeXMLHeader.
[in] | dev | The output device to write the root into |
IOError | If an error on writing occurs |
Implements MSDetectorFileOutput.
Definition at line 1148 of file MSE2Collector.cpp.
References OutputDevice::writeXMLHeader().
Referenced by MSE2Collector::getUsageType().
|
virtualinherited |
Write the generated output to the given device.
[in] | dev | The output device to write the data into |
[in] | startTime | First time step the data were gathered |
[in] | stopTime | Last time step the data were gathered |
IOError | If an error on writing occurs |
Implements MSDetectorFileOutput.
Definition at line 1153 of file MSE2Collector.cpp.
References Named::getID(), MAX2(), MSE2Collector::myHaltingVehicleDurations, MSE2Collector::myIntervalHaltingVehicleDurations, MSE2Collector::myJamLengthInMetersSum, MSE2Collector::myJamLengthInVehiclesSum, MSE2Collector::myMaxJamInMeters, MSE2Collector::myMaxJamInVehicles, MSE2Collector::myMaxOccupancy, MSE2Collector::myMaxVehicleNumber, MSE2Collector::myMeanMaxJamInMeters, MSE2Collector::myMeanMaxJamInVehicles, MSE2Collector::myMeanVehicleNumber, MSE2Collector::myNumberOfEnteredVehicles, MSE2Collector::myNumberOfLeftVehicles, MSE2Collector::myNumberOfSeenVehicles, MSE2Collector::myOccupancySum, MSE2Collector::myPastIntervalStandingDurations, MSE2Collector::myPastStandingDurations, MSE2Collector::mySpeedSum, MSE2Collector::myStartedHalts, MSE2Collector::myTimeSamples, MSE2Collector::myTotalTimeLoss, MSE2Collector::myVehicleSamples, MSE2Collector::reset(), STEPS2TIME, and time2string().
Referenced by MSE2Collector::getUsageType().
|
protectedinherited |
a description of this moveReminder
Definition at line 246 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
protectedinherited |
The name of the object.
Definition at line 135 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(), GNEPOILane::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(), GNEPOILane::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 244 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 |
Whether the detector shall be drawn in the gui.
Definition at line 110 of file GUIE2Collector.h.
Referenced by GUIE2Collector::MyWrapper::drawGL().
|
protectedinherited |
The vehicle types to look for (empty means all)
Definition at line 161 of file MSDetectorFileOutput.h.
Referenced by MSDetectorFileOutput::isTyped(), MSDetectorFileOutput::MSDetectorFileOutput(), and MSDetectorFileOutput::vehicleApplies().