libqi-api
2.0.6.8
|
Stores min, max and sum of values fed to it. More...
#include <stats.hpp>
Public Member Functions | |
MinMaxSum () | |
MinMaxSum (float minValue, float maxValue, float cumulatedValue) | |
const float & | minValue () const |
const float & | maxValue () const |
const float & | cumulatedValue () const |
void | push (float val, bool init=false) |
void | reset () |
std::string | asString (unsigned int count) const |
qi::MinMaxSum::MinMaxSum | ( | ) | [inline] |
qi::MinMaxSum::MinMaxSum | ( | float | minValue, |
float | maxValue, | ||
float | cumulatedValue | ||
) | [inline] |
std::string qi::MinMaxSum::asString | ( | unsigned int | count | ) | const [inline] |
const float& qi::MinMaxSum::cumulatedValue | ( | ) | const [inline] |
const float& qi::MinMaxSum::maxValue | ( | ) | const [inline] |
const float& qi::MinMaxSum::minValue | ( | ) | const [inline] |
void qi::MinMaxSum::push | ( | float | val, |
bool | init = false |
||
) | [inline] |
void qi::MinMaxSum::reset | ( | ) | [inline] |