preCICE v3.1.2
|
#include <Statistics.hpp>
Public Member Functions | |
void | operator() (double value) |
Accumulates value. | |
double | min () const |
Returns the minimum of all accumulated values. | |
double | max () const |
Returns the maximum of all accumulated values. | |
double | mean () const |
Returns the mean of all accumulated values. | |
double | variance () const |
Returns the sample variance based on all accumulated values. | |
std::size_t | count () const |
Returns how many values have been accumulated. | |
bool | empty () const |
Returns count == 0. | |
Private Attributes | |
boost::accumulators::accumulator_set< double, boost::accumulators::stats< boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::lazy_variance > > | _acc |
Accunulates distance measures and provides statistics based on them.
Definition at line 20 of file Statistics.hpp.
|
inline |
Returns how many values have been accumulated.
Definition at line 53 of file Statistics.hpp.
|
inline |
Returns count == 0.
Definition at line 59 of file Statistics.hpp.
|
inline |
Returns the maximum of all accumulated values.
Definition at line 35 of file Statistics.hpp.
|
inline |
Returns the mean of all accumulated values.
Definition at line 41 of file Statistics.hpp.
|
inline |
Returns the minimum of all accumulated values.
Definition at line 29 of file Statistics.hpp.
|
inline |
Accumulates value.
Definition at line 23 of file Statistics.hpp.
|
inline |
Returns the sample variance based on all accumulated values.
Definition at line 47 of file Statistics.hpp.
|
private |
Definition at line 70 of file Statistics.hpp.