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

Generic piecewise aggregate approximation. More...

#include <paa.h>

Inheritance diagram for Akumuli::QP::PAA< State >:
Akumuli::QP::Node

Public Member Functions

 PAA (std::shared_ptr< Node > next)
 
bool average_samples (aku_Sample const &margin)
 
virtual void complete ()
 Complete adding values.
 
virtual bool put (const aku_Sample &sample)
 
virtual void set_error (aku_Status status)
 
virtual int get_requirements () const
 

Public Attributes

std::shared_ptr< Nodenext_
 
std::unordered_map
< aku_ParamId, State > 
counters_
 

Additional Inherited Members

- Public Types inherited from Akumuli::QP::Node
enum  QueryFlags { EMPTY = 0, GROUP_BY_REQUIRED = 1, TERMINAL = 2 }
 

Detailed Description

template<class State>
struct Akumuli::QP::PAA< State >

Generic piecewise aggregate approximation.

Member Function Documentation

template<class State>
virtual int Akumuli::QP::PAA< State >::get_requirements ( ) const
inlinevirtual

This method returns set of flags that describes its functioning.

Implements Akumuli::QP::Node.

template<class State>
virtual bool Akumuli::QP::PAA< State >::put ( const aku_Sample &  sample)
inlinevirtual

Process value, return false to interrupt process. Empty sample can be sent to flush all updates.

Implements Akumuli::QP::Node.


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