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

Exponentialy weighted moving average implementation. More...

Public Types

typedef std::unique_ptr< Frame > PFrame
 

Public Member Functions

 EWMASlidingWindow (double alpha)
 
void add (PFrame sketch)
 
PFrame forecast () const
 

Public Attributes

PFrame ewma_
 
const double decay_
 
int counter_
 

Detailed Description

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

Exponentialy weighted moving average implementation.


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