20 #ifndef MSMeanData_Harmonoise_h 21 #define MSMeanData_Harmonoise_h 80 void reset(
bool afterWrite =
false);
103 const double numLanes,
const double defaultTravelTime,
104 const int numVehicles = -1)
const;
111 void notifyMoveInternal(
const SUMOVehicle& veh,
const double ,
const double timeOnLane,
const double meanSpeedFrontOnLane,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane,
const double );
147 const bool useLanes,
const bool withEmpty,
148 const bool printDefaults,
const bool withInternal,
149 const bool trackVehicles,
150 const double minSamples,
const double maxTravelTime,
151 const std::string& vTypes);
const MSMeanData_Harmonoise * myParent
The meandata parent.
Data collector for edges/lanes.
void reset(bool afterWrite=false)
Resets values so they may be used for the next interval.
void write(OutputDevice &dev, const SUMOTime period, const double numLanes, const double defaultTravelTime, const int numVehicles=-1) const
Writes output values into the given stream.
virtual ~MSMeanData_Harmonoise()
Destructor.
MSMeanData_Harmonoise(const std::string &id, const SUMOTime dumpBegin, const SUMOTime dumpEnd, const bool useLanes, const bool withEmpty, const bool printDefaults, const bool withInternal, const bool trackVehicles, const double minSamples, const double maxTravelTime, const std::string &vTypes)
Constructor.
Noise data collector for edges/lanes.
MSLaneMeanDataValues(MSLane *const lane, const double length, const bool doAdd, const MSMeanData_Harmonoise *parent)
Constructor.
void update()
Computes the noise in the last time step.
Representation of a vehicle.
Data structure for mean (aggregated) edge/lane values.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const double length, const bool doAdd) const
Create an instance of MeanDataValues.
Data structure for mean (aggregated) edge/lane values.
void notifyMoveInternal(const SUMOVehicle &veh, const double, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double)
Internal notification about the vehicle moves.
virtual void detectorUpdate(const SUMOTime step)
Updates the detector.
virtual ~MSLaneMeanDataValues()
Destructor.
double meanNTemp
Sum of produced noise over time (pow(10, (<NOISE>/10.)))
void addTo(MSMeanData::MeanDataValues &val) const
Add the values to this meanData.
double currentTimeN
Sum of produced noise at this time step(pow(10, (<NOISE>/10.)))
MSMoveReminder & operator=(const MSMoveReminder &)
Static storage of an output device and its base (abstract) implementation.
Representation of a lane in the micro simulation.