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