 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef METriggeredCalibrator_h
17 #define METriggeredCalibrator_h
42 const MSEdge*
const edge,
const double pos,
43 const std::string& aXMLFilename,
44 const std::string& outputFilename,
45 const SUMOTime freq,
const double length,
47 const std::string& vTypes);
A vehicle from the mesoscopic point of view.
bool tryEmit(MESegment *s, MEVehicle *vehicle)
SUMOTime execute(SUMOTime currentTime)
A single mesoscopic segment (cell)
SUMOTime myFrequency
The frequeny with which to check for calibration.
Writes routes of vehicles passing a certain edge.
int remainingVehicleCapacity() const
returns the number of vehicles (of the current type) that still fit onto the segment
Calibrates the flow on a segment to a specified one.
MESegment * mySegment
mesoscopic edge segment the calibrator lies on
virtual ~METriggeredCalibrator()
void reset()
reset collected vehicle data
int nVehVaporized
The number of vehicles that left this lane within the sample interval.
A road/street connecting two junctions.
MSMeanData_Net::MSLaneMeanDataValues myEdgeMeanData
accumlated data for the whole edge
bool invalidJam() const
returns whether the segment is jammed although it should not be
int maximumInflow() const
returns the maximum number of vehicles that could enter from upstream until the calibrator is activat...
void updateMeanData()
do nothing
int nVehEntered
The number of vehicles that entered this lane within the sample interval.
Calibrates the flow on a segment to a specified one.
METriggeredCalibrator(const std::string &id, const MSEdge *const edge, const double pos, const std::string &aXMLFilename, const std::string &outputFilename, const SUMOTime freq, const double length, const MSRouteProbe *probe, const std::string &vTypes)
SUMOTime getMinimumHeadwayTime() const
return the minimum headway-time with which vehicles may enter or leave this segment