glotzmath::Statistic Class Reference

A histogram. More...

#include <Statistic.h>

Inheritance diagram for glotzmath::Statistic:

glotzutil::Listable glotzmath::Mean glotzmath::Variance

List of all members.

Public Member Functions

 Statistic ()
 Statistic (const Statistic &)
virtual ~Statistic ()
virtual void AddData (double)
virtual void Clear ()
virtual StatisticClone ()
 Clone Constructor.
virtual double GetValue ()
virtual std::map
< double, double > 
GetHistogram ()
virtual std::string GetName ()
virtual void CombineWith (Statistic *)


Detailed Description

A histogram.

Constructor & Destructor Documentation

glotzmath::Statistic::Statistic (  ) 

glotzmath::Statistic::Statistic ( const Statistic s  ) 

glotzmath::Statistic::~Statistic (  )  [virtual]


Member Function Documentation

void glotzmath::Statistic::AddData ( double   )  [virtual]

Reimplemented in glotzmath::Mean, and glotzmath::Variance.

void glotzmath::Statistic::Clear (  )  [virtual]

Reimplemented in glotzmath::Mean, and glotzmath::Variance.

Statistic * glotzmath::Statistic::Clone (  )  [virtual]

Clone Constructor.

Returns:
A new copy of the object

Reimplemented from glotzutil::Listable.

Reimplemented in glotzmath::Mean, and glotzmath::Variance.

double glotzmath::Statistic::GetValue (  )  [virtual]

Reimplemented in glotzmath::Mean, and glotzmath::Variance.

std::map< double, double > glotzmath::Statistic::GetHistogram (  )  [virtual]

std::string glotzmath::Statistic::GetName (  )  [virtual]

Reimplemented in glotzmath::Mean, and glotzmath::Variance.

void glotzmath::Statistic::CombineWith ( Statistic s  )  [virtual]

Reimplemented in glotzmath::Mean, and glotzmath::Variance.


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:53:41 2009 by  doxygen 1.5.3