26 #ifndef GRALE_MULTIFITNESSHISTORY_H
28 #define GRALE_MULTIFITNESSHISTORY_H
30 #include "graleconfig.h"
31 #include "fitnesshistory.h"
36 class GRALE_IMPORTEXPORT MultiFitnessHistory :
public errut::ErrorBase
39 MultiFitnessHistory(
int numFitnessComponents,
int historySize,
float threshold);
40 ~MultiFitnessHistory();
42 void reset(
int historySize,
float threshold);
43 void reset(
float threshold);
45 void processValue(
int fitnessComponent,
float x) { m_fitnessHistories[fitnessComponent]->processValue(x); }
48 void printDebugInfo();
50 std::vector<FitnessHistory *> m_fitnessHistories;
55 #endif // GRALE_MULTIFITNESSHISTORY_H