Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

HeuristicAverage.h

Go to the documentation of this file.
00001 
00010 #ifndef __HEURISTIC_AVERAGE_H__
00011 #define __HEURISTIC_AVERAGE_H__
00012 
00013 #include "Heuristic.h"
00014 
00019 class HeuristicAverage : public Heuristic
00020 {
00021 public:
00027     HeuristicAverage(SimulationStatus *status);
00028 
00034     char * GetName()    { return "Average"; }
00035 
00043     float Analyze(unsigned int participant);
00044 
00045 protected:
00046 
00055     long AverageHitTime(unsigned int participant, unsigned int sampleSize);
00056 
00057 private:
00058     long    lastTimes[MAX_PARTICIPANTS];
00059 };
00060 
00061 #endif /* __HEURISTIC_AVERAGE_H__ */

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002