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

Simple moving average implementation. More...

Public Types

typedef std::unique_ptr< Frame > PFrame

Public Member Functions

 SMASlidingWindow (uint32_t depth)
void add (PFrame sketch)
PFrame forecast () const

Public Attributes

PFrame sma_
const uint32_t depth_
const double mul_
std::deque< PFrame > queue_

Detailed Description

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

Simple moving average implementation.

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