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