Public Member Functions | Protected Member Functions | Protected Attributes

ns3::MinMaxAvgTotalCalculator< T > Class Template Reference

Inheritance diagram for ns3::MinMaxAvgTotalCalculator< T >:
Inheritance graph
[legend]
Collaboration diagram for ns3::MinMaxAvgTotalCalculator< T >:
Collaboration graph
[legend]

List of all members.

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
m_total
m_min
m_max

template<typename T = uint32_t>
class ns3::MinMaxAvgTotalCalculator< T >


Member Function Documentation

template<typename T = uint32_t>
long ns3::MinMaxAvgTotalCalculator< T >::getCount (  )  const [inline, virtual]

Returns the number of the observations.

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getMax (  )  const [inline, virtual]

Returns the maximum of the values.

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getMean (  )  const [inline, virtual]

Returns the mean of the (weighted) observations.

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getMin (  )  const [inline, virtual]

Returns the minimum of the values.

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getSqrSum (  )  const [inline, virtual]

Returns the sum of the squared values.

See also:
getWeightedSqrSum()

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getStddev (  )  const [inline, virtual]

Returns the standard deviation of the (weighted) observations.

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getSum (  )  const [inline, virtual]

Returns the sum of the values.

See also:
getWeightedSum()

Implements ns3::StatisticalSummary.

template<typename T = uint32_t>
double ns3::MinMaxAvgTotalCalculator< T >::getVariance (  )  const [inline, virtual]

Returns the variance of the (weighted) observations.

Implements ns3::StatisticalSummary.


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