Abstract class for calculating statistical data. More...
#include "data-calculator.h"
Inheritance diagram for ns3::StatisticalSummary: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 43 of file data-calculator.h.
|
inlinevirtual |
Destructor.
Definition at line 49 of file data-calculator.h.
|
pure virtual |
Returns the number of observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Returns the maximum of the values.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Returns the mean of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Returns the minimum of the values.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Returns the standard deviation of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.
Referenced by ns3::OmnetDataOutput::OmnetOutputCallback::OutputStatistic(), and ns3::SqliteDataOutput::SqliteOutputCallback::OutputStatistic().
Here is the caller graph for this function:
|
pure virtual |
Returns the variance of the (weighted) observations.
Implemented in ns3::MinMaxAvgTotalCalculator< T >, ns3::MinMaxAvgTotalCalculator< double >, and ns3::MinMaxAvgTotalCalculator< uint32_t >.