#include <EliteSelectStrategy.h>
Inherits ISelectStrategy.
Inheritance diagram for EliteSelectStrategy:
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). |
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.