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