|
AGX Dynamics 2.41.1.2
|
Pure virtual statistic class containing the fundamentals for implementing a statistics method. More...
#include <Statistic.h>
Inheritance diagram for agxUtil::Statistic:Public Member Functions | |
| virtual | ~Statistic () |
| virtual agx::Real | get () const =0 |
| virtual agx::Real | update (agx::Real observation)=0 |
| Updates the statistic given the current observation and returns the current value of this statistic. | |
Pure virtual statistic class containing the fundamentals for implementing a statistics method.
Definition at line 36 of file Statistic.h.
|
inlinevirtual |
Definition at line 51 of file Statistic.h.
|
pure virtual |
Implemented in agxUtil::ExponentialMovingAverageStatistic, agxUtil::MovingAverageStatistic, and agxUtil::MedianStatistic.
Updates the statistic given the current observation and returns the current value of this statistic.
| observation | - the current observation |
Implemented in agxUtil::ExponentialMovingAverageStatistic, agxUtil::VariableSmoothFactorEMAStatistic, agxUtil::MovingAverageStatistic, and agxUtil::MedianStatistic.