27 #ifndef STANDARTGENERATIONSIZESTRATEGY_H_
28 #define STANDARTGENERATIONSIZESTRATEGY_H_
double m_best_first
the best value of the first generation
Definition: StandartGenerationSizeStrategy.h:79
virtual ~StandartGenerationSizeStrategy()
default destructor
Definition: StandartGenerationSizeStrategy.cpp:51
double m_best_new
the best value of the new generation.
Definition: StandartGenerationSizeStrategy.h:89
bool m_firstIsSet
is the first generation over?
Definition: StandartGenerationSizeStrategy.h:64
virtual int calcGenerationSize(Generation *oldGeneration)
this function calculate the new generation size
Definition: StandartGenerationSizeStrategy.cpp:55
int m_startSize
the start size of the first generation
Definition: StandartGenerationSizeStrategy.h:69
This interface is to specify how big the next generation should be.
Definition: IGenerationSizeStrategy.h:36
The Generation class.
Definition: Generation.h:53
double m_best_old
the best value of the last generation.
Definition: StandartGenerationSizeStrategy.h:84
int m_numGeneration
the number of generation
Definition: StandartGenerationSizeStrategy.h:74
this class calculate the new generation size over the enhancement speed
Definition: StandartGenerationSizeStrategy.h:39