EMANE
1.2.1
|
A running average statistic wrapper. More...
#include <runningaverage.h>
Public Member Functions | |
RunningAverage () | |
void | update (T value) |
void | registerStatistic (StatisticNumeric< T > *p) |
A running average statistic wrapper.
Definition at line 48 of file runningaverage.h.
|
inline |
Creates a RunningAverage instance
Definition at line 54 of file runningaverage.h.
|
inline |
Assign the underlying statistic to hold the running average
p | Pointer to a numeric statistic |
Definition at line 96 of file runningaverage.h.
|
inline |
Updates the running average
value | New value to add to running average |
Definition at line 68 of file runningaverage.h.