17 #include <core/selection_algorithm.h> 18 #include <core/properties.h> 27 "Minimum fitness for the genotypes participating the selection");
32 PROPERTY(
mutation_only,
bool,
false,
"Use only mutation (no crossover)");
A population implementation encapsulates the fixed-size set of genotypes, together with the rules for...
Definition: darwin.h:161
Roulette wheel selection configuration.
Definition: roulette_selection.h:23
Definition: cgp_islands_selection.cpp:26
bool mutation_only
"Use only mutation (no crossover)"
Definition: roulette_selection.h:32
float elite_percentage
"Elite percentage"
Definition: roulette_selection.h:29
Selection Algorithm interface.
Definition: selection_algorithm.h:41
float elite_min_fitness
"Elite minimum fitness"
Definition: roulette_selection.h:30
The foundation for data structures supporting runtime reflection.
Definition: properties.h:388
void createNextGeneration(selection::GenerationFactory *next_generation) override
Create a new generation of genotypes.
Definition: roulette_selection.cpp:39
float min_fitness
"Minimum fitness for the genotypes participating the selection"
Definition: roulette_selection.h:27
void newPopulation(darwin::Population *population) override
Prepare the selection for a new population.
Definition: roulette_selection.cpp:32
Roulette wheel selection.
Definition: roulette_selection.h:39