 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef MSMeanData_Harmonoise_h
19 #define MSMeanData_Harmonoise_h
74 void reset(
bool afterWrite =
false);
97 const double numLanes,
const double defaultTravelTime,
98 const int numVehicles = -1)
const;
105 void notifyMoveInternal(
const SUMOTrafficObject& veh,
const double ,
const double timeOnLane,
const double meanSpeedFrontOnLane,
const double meanSpeedVehicleOnLane,
const double travelledDistanceFrontOnLane,
const double travelledDistanceVehicleOnLane,
const double );
141 const bool useLanes,
const bool withEmpty,
142 const bool printDefaults,
const bool withInternal,
143 const bool trackVehicles,
144 const double minSamples,
const double maxTravelTime,
145 const std::string& vTypes);
Representation of a vehicle or person.
void addTo(MSMeanData::MeanDataValues &val) const
Add the values to this meanData.
double meanNTemp
Sum of produced noise over time (pow(10, (<NOISE>/10.)))
Representation of a lane in the micro simulation.
MSMeanData::MeanDataValues * createValues(MSLane *const lane, const double length, const bool doAdd) const
Create an instance of MeanDataValues.
Static storage of an output device and its base (abstract) implementation.
Noise data collector for edges/lanes.
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.
void update()
Computes the noise in the last time step.
const MSMeanData_Harmonoise * myParent
The meandata parent.
Data collector for edges/lanes.
MSLaneMeanDataValues(MSLane *const lane, const double length, const bool doAdd, const MSMeanData_Harmonoise *parent)
Constructor.
virtual void detectorUpdate(const SUMOTime step)
Updates the detector.
Data structure for mean (aggregated) edge/lane values.
MSMeanData_Harmonoise & operator=(const MSMeanData_Harmonoise &)
Invalidated assignment operator.
Data structure for mean (aggregated) edge/lane values.
virtual ~MSMeanData_Harmonoise()
Destructor.
void reset(bool afterWrite=false)
Resets values so they may be used for the next interval.
double currentTimeN
Sum of produced noise at this time step(pow(10, (<NOISE>/10.)))
virtual ~MSLaneMeanDataValues()
Destructor.
void notifyMoveInternal(const SUMOTrafficObject &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.
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.