Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

SgStatisticsExt< VALUE, COUNT > Class Template Reference

Extended version of SgStatistics. More...

#include <SgStatistics.h>

List of all members.

Public Member Functions

 SgStatisticsExt ()
void Add (VALUE val)
void Clear ()
bool IsDefined () const
VALUE Mean () const
COUNT Count () const
VALUE Max () const
VALUE Min () const
VALUE Deviation () const
VALUE Variance () const
void Write (std::ostream &out) const

Private Attributes

SgStatistics< VALUE, COUNT > m_statistics
VALUE m_max
VALUE m_min

Detailed Description

template<typename VALUE, typename COUNT>
class SgStatisticsExt< VALUE, COUNT >

Extended version of SgStatistics.

Also stores minimum and maximum values. The template parameters are the floating point type and the counter type, depending on the precision-memory tradeoff.

Definition at line 373 of file SgStatistics.h.


Constructor & Destructor Documentation

template<typename VALUE , typename COUNT >
SgStatisticsExt< VALUE, COUNT >::SgStatisticsExt (  ) 

Definition at line 407 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::Clear().


Member Function Documentation

template<typename VALUE, typename COUNT >
void SgStatisticsExt< VALUE, COUNT >::Add ( VALUE  val  ) 
template<typename VALUE , typename COUNT >
void SgStatisticsExt< VALUE, COUNT >::Clear (  ) 
template<typename VALUE , typename COUNT >
COUNT SgStatisticsExt< VALUE, COUNT >::Count (  )  const

Definition at line 431 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_statistics.

template<typename VALUE , typename COUNT >
VALUE SgStatisticsExt< VALUE, COUNT >::Deviation (  )  const

Definition at line 437 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_statistics.

template<typename VALUE , typename COUNT >
bool SgStatisticsExt< VALUE, COUNT >::IsDefined (  )  const
template<typename VALUE , typename COUNT >
VALUE SgStatisticsExt< VALUE, COUNT >::Max (  )  const

Definition at line 449 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_max.

template<typename VALUE , typename COUNT >
VALUE SgStatisticsExt< VALUE, COUNT >::Mean (  )  const

Definition at line 455 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_statistics.

template<typename VALUE , typename COUNT >
VALUE SgStatisticsExt< VALUE, COUNT >::Min (  )  const

Definition at line 461 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_min.

template<typename VALUE , typename COUNT >
VALUE SgStatisticsExt< VALUE, COUNT >::Variance (  )  const

Definition at line 467 of file SgStatistics.h.

References SgStatisticsExt< VALUE, COUNT >::m_statistics.

template<typename VALUE , typename COUNT >
void SgStatisticsExt< VALUE, COUNT >::Write ( std::ostream &  out  )  const

Member Data Documentation

template<typename VALUE, typename COUNT>
VALUE SgStatisticsExt< VALUE, COUNT >::m_max [private]
template<typename VALUE, typename COUNT>
VALUE SgStatisticsExt< VALUE, COUNT >::m_min [private]
template<typename VALUE, typename COUNT>
SgStatistics<VALUE,COUNT> SgStatisticsExt< VALUE, COUNT >::m_statistics [private]

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


Sun Mar 13 2011 Doxygen 1.7.1