Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

LStat Class Reference

#include <lstat.h>

Inheritance diagram for LStat:

TStat List of all members.

Public Member Functions

 LStat (char *n=0)
virtual ~LStat (void)
virtual void accum (double x)
double num (void)
double maxval (void)
double minval (void)
double mean (void)
double var (void)
double sDev (void)
double rMeanSq (void)
void dumpStats (void)
virtual void reset (void)

Static Public Member Functions

static void resetAll (void)

Protected Member Functions

void SetN (double x)
void SetMax (double x)
void SetMin (double x)
void SetVar (double x)
void SetMean (double x)
void SetFullDump (bool d)

Detailed Description

Time-insensitive statistics


Constructor & Destructor Documentation

LStat::LStat char *  n = 0  ) 
 

Constructor. Creates a statitical gatherer

Parameters:
n descriptive name

LStat::~LStat void   )  [virtual]
 

Destructor. Automatically dumps statistical data


Member Function Documentation

void LStat::accum double  x  )  [virtual]
 

Stores a new value in the statistical object

Parameters:
x value to account for

Reimplemented in TStat.

double LStat::maxval void   ) 
 

Returns:
maximum sample value

double LStat::mean void   ) 
 

Returns:
the unbiased average estimator

double LStat::minval void   ) 
 

Returns:
minimum sample value

double LStat::num void   ) 
 

Returns:
number of samples collected

void LStat::reset void   )  [virtual]
 

Reset this statistical gatherer.

Reimplemented in TStat.

void LStat::resetAll void   )  [static]
 

Reset all statistical gatherers.

double LStat::rMeanSq void   ) 
 

Returns:
mean root square

double LStat::sDev void   ) 
 

Returns:
unbiased standard deviation estimator

double LStat::var void   ) 
 

Returns:
the unbiased variance estimator


The documentation for this class was generated from the following files:
Generated on Fri Jan 19 15:35:17 2007 by  doxygen 1.4.2