Abstract class for calculating statistical data. More...
#include "data-calculator.h"
Public Member Functions | |
virtual | ~StatisticalSummary () |
Destructor. | |
virtual long | getCount () const =0 |
Returns the number of observations. | |
virtual double | getMax () const =0 |
Returns the maximum of the values. | |
virtual double | getMean () const =0 |
Returns the mean of the (weighted) observations. | |
virtual double | getMin () const =0 |
Returns the minimum of the values. | |
virtual double | getSqrSum () const =0 |
virtual double | getStddev () const =0 |
Returns the standard deviation of the (weighted) observations. | |
virtual double | getSum () const =0 |
virtual double | getVariance () const =0 |
Returns the variance of the (weighted) observations. | |
Abstract class for calculating statistical data.
Definition at line 39 of file data-calculator.h.
|
inlinevirtual |
Destructor.
Definition at line 45 of file data-calculator.h.
|
pure virtual |
Returns the number of observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Returns the maximum of the values.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Returns the mean of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic().
|
pure virtual |
Returns the minimum of the values.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Returns the standard deviation of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
|
pure virtual |
Returns the variance of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, ns3::MinMaxAvgTotalCalculator< uint32_t >, and ns3::MinMaxAvgTotalCalculator< uint64_t >.