#include <ProcessStatistics.h>
Public Member Functions | |
| void | add (double newval) |
| void | addLog (double newval) |
| void | clear () |
| int | count () |
| void | current (double &mean, double &stddev) |
| void | currentLog (double &mean, double &stddev) |
| double | mean () |
| double | meanLog () |
| ProcessStatistics () | |
| double | stddev () |
| double | stddevLog () |
| RealStatisticalValue | value () |
| RealStatisticalValue | valueLog () |
Protected Attributes | |
| int | _count |
| double | _sumxi |
| double | _sumxi2 |
| QGpCoreTools::ProcessStatistics::ProcessStatistics | ( | ) | [inline] |
{clear();}
| void QGpCoreTools::ProcessStatistics::add | ( | double | newval | ) |
References _count, _sumxi, _sumxi2, and TRACE.
Referenced by MaxEntryList::meanValue().
| void QGpCoreTools::ProcessStatistics::addLog | ( | double | newval | ) |
| void QGpCoreTools::ProcessStatistics::clear | ( | ) | [inline] |
| int QGpCoreTools::ProcessStatistics::count | ( | ) | [inline] |
{return _count;}
| void QGpCoreTools::ProcessStatistics::current | ( | double & | mean, |
| double & | stddev | ||
| ) |
| void QGpCoreTools::ProcessStatistics::currentLog | ( | double & | mean, |
| double & | stddev | ||
| ) |
| double QGpCoreTools::ProcessStatistics::mean | ( | ) | [inline] |
Referenced by stddev(), stddevLog(), value(), and valueLog().
| double QGpCoreTools::ProcessStatistics::meanLog | ( | ) | [inline] |
| double QGpCoreTools::ProcessStatistics::stddev | ( | ) |
| double QGpCoreTools::ProcessStatistics::stddevLog | ( | ) |
References _count, currentLog(), mean(), QGpCoreTools::StatisticalValue< numberType >::setMean(), QGpCoreTools::StatisticalValue< numberType >::setStddev(), QGpCoreTools::StatisticalValue< numberType >::setWeight(), stddev(), and TRACE.
Referenced by MaxEntryList::meanValue().
{
TRACE;
RealStatisticalValue v;
double mean, stddev;
currentLog(mean, stddev);
v.setMean(mean);
v.setStddev(stddev);
v.setWeight(_count);
return v;
}
int QGpCoreTools::ProcessStatistics::_count [protected] |
Referenced by add(), addLog(), current(), currentLog(), stddev(), stddevLog(), value(), and valueLog().
double QGpCoreTools::ProcessStatistics::_sumxi [protected] |
Referenced by add(), addLog(), current(), currentLog(), stddev(), and stddevLog().
double QGpCoreTools::ProcessStatistics::_sumxi2 [protected] |
Referenced by add(), addLog(), current(), currentLog(), stddev(), and stddevLog().