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