All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | Public Attributes | List of all members
Akumuli::QP::DoubleExpSmoothingSlidingWindow< Frame > Struct Template Reference

Holt-Winters moving average implementation. More...

Public Types

typedef std::unique_ptr< Frame > PFrame

Public Member Functions

 DoubleExpSmoothingSlidingWindow (double alpha, double beta)
void add (PFrame value)
PFrame forecast () const

Public Attributes

PFrame baseline_
PFrame slope_
const double alpha_
const double beta_
int counter_

Detailed Description

template<class Frame>
struct Akumuli::QP::DoubleExpSmoothingSlidingWindow< Frame >

Holt-Winters moving average implementation.

Constructor & Destructor Documentation

template<class Frame >
Akumuli::QP::DoubleExpSmoothingSlidingWindow< Frame >::DoubleExpSmoothingSlidingWindow ( double  alpha,
double  beta 


alphasmoothing coefficient

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