sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::ExpMovingAvg Class Reference

#include <sot/core/exp-moving-avg.hh>

Inheritance diagram for dynamicgraph::sot::ExpMovingAvg:

Public Member Functions

 ExpMovingAvg (const std::string &n)
 
virtual ~ExpMovingAvg (void)
 
void setAlpha (const double &alpha_)
 

Public Attributes

SignalPtr< dynamicgraph::Vector, int > updateSIN
 
SignalTimeDependent< int, int > refresherSINTERN
 
SignalTimeDependent< dynamicgraph::Vector, int > averageSOUT
 

Protected Member Functions

dynamicgraph::Vector & update (dynamicgraph::Vector &res, const int &inTime)
 

Protected Attributes

dynamicgraph::Vector average
 
double alpha
 
bool init
 

Constructor & Destructor Documentation

◆ ExpMovingAvg()

dynamicgraph::sot::ExpMovingAvg::ExpMovingAvg ( const std::string &  n)

◆ ~ExpMovingAvg()

virtual dynamicgraph::sot::ExpMovingAvg::~ExpMovingAvg ( void  )
virtual

Member Function Documentation

◆ setAlpha()

void dynamicgraph::sot::ExpMovingAvg::setAlpha ( const double &  alpha_)

◆ update()

dynamicgraph::Vector& dynamicgraph::sot::ExpMovingAvg::update ( dynamicgraph::Vector &  res,
const int &  inTime 
)
protected

Member Data Documentation

◆ alpha

double dynamicgraph::sot::ExpMovingAvg::alpha
protected

◆ average

dynamicgraph::Vector dynamicgraph::sot::ExpMovingAvg::average
protected

◆ averageSOUT

SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ExpMovingAvg::averageSOUT

◆ init

bool dynamicgraph::sot::ExpMovingAvg::init
protected

◆ refresherSINTERN

SignalTimeDependent<int, int> dynamicgraph::sot::ExpMovingAvg::refresherSINTERN

◆ updateSIN

SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ExpMovingAvg::updateSIN

The documentation for this class was generated from the following file: