Main Page | Modules | Namespace List | Data Structures | File List | Data Fields | Globals

Stats Class Reference
[Statistics Collection]

#include <Stats.h>


Public Member Functions

 Stats (int numLevels)
 ~Stats ()
void startLevelTimer ()
void stopLevelTimer (int level)
void startCompTimer ()
void stopCompTimer (int level)
void updateSExt (int level, int s_ext)
void updateIExt (int level, int i_ext)
void updateNumNodes (int level, int numNodes)
void updateNumComp (int level, int numNodes)
void printStats (ofstream &output)

Private Attributes

int numLevels
double * levelTime
double * compTime
int * s_ext
int * i_ext
int * numNodes
int * numComp
clock_t levelStartTime
clock_t compStartTime


Constructor & Destructor Documentation

Stats::Stats int  numLevels  ) 
 

Definition at line 41 of file Stats.cpp.

Stats::~Stats  ) 
 

Definition at line 62 of file Stats.cpp.


Member Function Documentation

void Stats::printStats ofstream &  output  ) 
 

Definition at line 116 of file Stats.cpp.

Referenced by main().

void Stats::startCompTimer  ) 
 

Definition at line 84 of file Stats.cpp.

Referenced by FindSequentialPatterns().

void Stats::startLevelTimer  ) 
 

Definition at line 72 of file Stats.cpp.

Referenced by FindSequentialPatterns(), and StartMining().

void Stats::stopCompTimer int  level  ) 
 

Definition at line 89 of file Stats.cpp.

Referenced by FindSequentialPatterns().

void Stats::stopLevelTimer int  level  ) 
 

Definition at line 77 of file Stats.cpp.

Referenced by FindSequentialPatterns(), and StartMining().

void Stats::updateIExt int  level,
int  i_ext
 

Definition at line 101 of file Stats.cpp.

Referenced by FindSequentialPatterns().

void Stats::updateNumComp int  level,
int  numNodes
 

Definition at line 111 of file Stats.cpp.

Referenced by FindSequentialPatterns().

void Stats::updateNumNodes int  level,
int  numNodes
 

Definition at line 106 of file Stats.cpp.

Referenced by FindSequentialPatterns(), and StartMining().

void Stats::updateSExt int  level,
int  s_ext
 

Definition at line 96 of file Stats.cpp.

Referenced by FindSequentialPatterns(), and StartMining().


Field Documentation

clock_t Stats::compStartTime [private]
 

Definition at line 79 of file Stats.h.

Referenced by startCompTimer(), and stopCompTimer().

double* Stats::compTime [private]
 

Definition at line 73 of file Stats.h.

Referenced by printStats(), Stats(), stopCompTimer(), and ~Stats().

int* Stats::i_ext [private]
 

Definition at line 75 of file Stats.h.

Referenced by printStats(), Stats(), updateIExt(), and ~Stats().

clock_t Stats::levelStartTime [private]
 

Definition at line 78 of file Stats.h.

Referenced by startLevelTimer(), and stopLevelTimer().

double* Stats::levelTime [private]
 

Definition at line 72 of file Stats.h.

Referenced by printStats(), Stats(), stopLevelTimer(), and ~Stats().

int* Stats::numComp [private]
 

Definition at line 77 of file Stats.h.

Referenced by printStats(), Stats(), updateNumComp(), and ~Stats().

int Stats::numLevels [private]
 

Definition at line 71 of file Stats.h.

Referenced by printStats(), and Stats().

int* Stats::numNodes [private]
 

Definition at line 76 of file Stats.h.

Referenced by printStats(), Stats(), updateNumNodes(), and ~Stats().

int* Stats::s_ext [private]
 

Definition at line 74 of file Stats.h.

Referenced by printStats(), Stats(), updateSExt(), and ~Stats().


The documentation for this class was generated from the following files:
Generated on Thu Mar 11 12:01:54 2004 for SPAM by doxygen 1.3.4