Public Types | Public Member Functions | List of all members
imeas::IDataStatistics Class Referenceabstract

Common interace for simple data statistics. More...

#include <IDataStatistics.h>

Inheritance diagram for imeas::IDataStatistics:
istd::IChangeable istd::IPolymorphic imeas::CSimpleDataStatistics

Public Types

enum  SupportedStatFeatures { SSF_BOUNDARIES = 1 << 0, SSF_STD_DEVIATION = 1 << 1, SSF_AVERAGE = 1 << 2, SSF_MEDIAN = 1 << 3 }
 

Public Member Functions

virtual int GetSupportedStatFeatures () const =0
 Get set of supported statistical features. More...
 
virtual istd::CRange GetDataBoundaries () const =0
 Get the range of values in the data sequence. More...
 
virtual double GetStandardDeviation () const =0
 Get data variance. More...
 
virtual double GetAverage () const =0
 Get data average. More...
 
virtual double GetMedian () const =0
 Get data median. More...
 

Detailed Description

Common interace for simple data statistics.

: think about moving it to imath.

Definition at line 18 of file IDataStatistics.h.

Member Enumeration Documentation

Enumerator
SSF_BOUNDARIES 
SSF_STD_DEVIATION 
SSF_AVERAGE 
SSF_MEDIAN 

Definition at line 21 of file IDataStatistics.h.

Member Function Documentation

virtual double imeas::IDataStatistics::GetAverage ( ) const
pure virtual

Get data average.

Implemented in imeas::CSimpleDataStatistics.

virtual istd::CRange imeas::IDataStatistics::GetDataBoundaries ( ) const
pure virtual

Get the range of values in the data sequence.

Implemented in imeas::CSimpleDataStatistics.

virtual double imeas::IDataStatistics::GetMedian ( ) const
pure virtual

Get data median.

Implemented in imeas::CSimpleDataStatistics.

virtual double imeas::IDataStatistics::GetStandardDeviation ( ) const
pure virtual

Get data variance.

Implemented in imeas::CSimpleDataStatistics.

virtual int imeas::IDataStatistics::GetSupportedStatFeatures ( ) const
pure virtual

Get set of supported statistical features.

Implemented in imeas::CSimpleDataStatistics.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy