GlidingAverageMeasurement.
bool isAccurateValue(double factor=0.1) const
Is value accurate.
static tarch::logging::Log _log
GlidingAverageMeasurement(double weight=DefaultWeight, int maxEntries=16)
Construct a measurement with a gliding measurement.
bool hasFullSetOfMeasurements() const
~GlidingAverageMeasurement()=default
std::string toString() const
int getObservationSpan() const
std::vector< double > _values
Data.
const double _weight
The weights q determine the weight via $q^0,q^1,q^2,...$.
double getStandardDeviation() const
To compute the standard deviation, we rely on the formula.
static constexpr double DefaultWeight
double getValue() const
Return the value of the gliding value.
void setValue(const double &value)
Set the value.