Project

General

Profile

BitmapToolkit Scol plugin
DoubleExponentialSmoother< T > Class Template Reference

Double Exponential smoother. More...

#include <Smoothers.h>

Inheritance diagram for DoubleExponentialSmoother< T >:
TSmoother< T > ISmoother

Public Member Functions

 DoubleExponentialSmoother (float alpha=0.5f, float beta=0.5f)
 
void setSmoothingFactor (float alpha, float beta)
 
virtual void pushValue (T val)
 
virtual T getExtrapolatedValue ()
 
virtual T getSmoothedValue ()
 
virtual int getSmootherMethod ()
 
virtual void clearValues ()
 
- Public Member Functions inherited from TSmoother< T >
virtual ~TSmoother ()
 
int getSmootherType ()
 
- Public Member Functions inherited from ISmoother
virtual ~ISmoother ()
 

Protected Attributes

float mAlpha
 
float mBeta
 
value
 
slope
 
bool init
 

Detailed Description

template<typename T>
class DoubleExponentialSmoother< T >

Double Exponential smoother.

Definition at line 76 of file Smoothers.h.

Constructor & Destructor Documentation

◆ DoubleExponentialSmoother()

template<typename T >
DoubleExponentialSmoother< T >::DoubleExponentialSmoother ( float  alpha = 0.5f,
float  beta = 0.5f 
)

Definition at line 79 of file Smoothers.cpp.

Member Function Documentation

◆ clearValues()

template<typename T >
void DoubleExponentialSmoother< T >::clearValues ( )
virtual

Implements TSmoother< T >.

Definition at line 134 of file Smoothers.cpp.

◆ getExtrapolatedValue()

template<typename T >
T DoubleExponentialSmoother< T >::getExtrapolatedValue ( )
virtual

Implements TSmoother< T >.

Definition at line 97 of file Smoothers.cpp.

◆ getSmoothedValue()

template<typename T >
T DoubleExponentialSmoother< T >::getSmoothedValue ( )
virtual

Implements TSmoother< T >.

Definition at line 104 of file Smoothers.cpp.

◆ getSmootherMethod()

template<typename T >
int DoubleExponentialSmoother< T >::getSmootherMethod ( )
virtual

Implements TSmoother< T >.

Definition at line 128 of file Smoothers.cpp.

◆ pushValue()

template<typename T >
void DoubleExponentialSmoother< T >::pushValue ( val)
virtual

Implements TSmoother< T >.

Definition at line 111 of file Smoothers.cpp.

◆ setSmoothingFactor()

template<typename T >
void DoubleExponentialSmoother< T >::setSmoothingFactor ( float  alpha,
float  beta 
)

Definition at line 89 of file Smoothers.cpp.

Member Data Documentation

◆ init

template<typename T >
bool DoubleExponentialSmoother< T >::init
protected

Definition at line 83 of file Smoothers.h.

◆ mAlpha

template<typename T >
float DoubleExponentialSmoother< T >::mAlpha
protected

Definition at line 79 of file Smoothers.h.

◆ mBeta

template<typename T >
float DoubleExponentialSmoother< T >::mBeta
protected

Definition at line 80 of file Smoothers.h.

◆ slope

template<typename T >
T DoubleExponentialSmoother< T >::slope
protected

Definition at line 82 of file Smoothers.h.

◆ value

template<typename T >
T DoubleExponentialSmoother< T >::value
protected

Definition at line 81 of file Smoothers.h.


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