This class makes a elite select and bring only the best individual in the next generation. More...
#include <EliteSelectStrategy.h>
Inherits ISelectStrategy.

Public Member Functions | |
| EliteSelectStrategy () | |
| default constructor | |
| virtual | ~EliteSelectStrategy () |
| default destructor | |
| virtual void | select (Generation *oldGeneration, Generation *newGeneration) |
| select the individual in the old generation which should be in the new generation (only the best). | |
This class makes a elite select and bring only the best individual in the next generation.
default constructor
| ~EliteSelectStrategy | ( | ) | [virtual] |
default destructor
| void select | ( | Generation * | oldGeneration, | |
| Generation * | newGeneration | |||
| ) | [virtual] |
select the individual in the old generation which should be in the new generation (only the best).
| oldGeneration | (Generation*) the old generation | |
| newGeneration | (Generation*) the new generation |
Implements ISelectStrategy.
1.6.3