Public Member Functions | |
void | Update (const T i) |
virtual void | Output (DataOutputCallback &callback) const |
long | getCount () const |
double | getSum () const |
double | getMin () const |
double | getMax () const |
double | getMean () const |
double | getStddev () const |
double | getVariance () const |
double | getSqrSum () const |
Protected Member Functions | |
virtual void | DoDispose (void) |
Protected Attributes | |
uint32_t | m_count |
T | m_total |
T | m_min |
T | m_max |
void ns3::MinMaxAvgTotalCalculator< T >::DoDispose | ( | void | ) | [inline, protected, virtual] |
This method is called by Object::Dispose or by the object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.
It is safe to call GetObject from within this method.
Reimplemented from ns3::DataCalculator.
Reimplemented in ns3::PacketSizeMinMaxAvgTotalCalculator.
long ns3::MinMaxAvgTotalCalculator< T >::getCount | ( | ) | const [inline, virtual] |
Returns the number of the observations.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getMax | ( | ) | const [inline, virtual] |
Returns the maximum of the values.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getMean | ( | ) | const [inline, virtual] |
Returns the mean of the (weighted) observations.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getMin | ( | ) | const [inline, virtual] |
Returns the minimum of the values.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getSqrSum | ( | ) | const [inline, virtual] |
Returns the sum of the squared values.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getStddev | ( | ) | const [inline, virtual] |
Returns the standard deviation of the (weighted) observations.
Implements ns3::StatisticalSummary.
double ns3::MinMaxAvgTotalCalculator< T >::getSum | ( | ) | const [inline, virtual] |
double ns3::MinMaxAvgTotalCalculator< T >::getVariance | ( | ) | const [inline, virtual] |
Returns the variance of the (weighted) observations.
Implements ns3::StatisticalSummary.