#include <HeuristicAverage.h>
Inheritance diagram for HeuristicAverage:
Public Methods | |
HeuristicAverage (SimulationStatus *status) | |
char * | GetName () |
float | Analyze (unsigned int participant) |
float | NormalizeRating (float rating) |
Protected Methods | |
long | AverageHitTime (unsigned int participant, unsigned int sampleSize) |
Protected Attributes | |
SimulationStatus * | status |
|
Constructor
|
|
Analyze the performance of the given participant.
Implements Heuristic. |
|
Calculate the average time to between hits.
|
|
Get the name of the current heuristic.
Implements Heuristic. |
|
Modify the given rating to ensure it stays within normal boundaries (0.0 to 1.0).
|
|
|