#include <GenerationalEvolution.h>
Inheritance diagram for Teem::SimpleMultiGenomeEvolutionRun:
Conceptually it is single individual, but multiple genomes and decoders are passed to the experiment, so it is effectively multi genome individuals. The experiment needs only to set the fitness of the FIRST genome. All the genome are stored in a single population and are ordered by individual, that is the N genome for the first individual come first, then the N for the second individual, etc.
Public Member Functions | |
SimpleMultiGenomeEvolutionRun () | |
A simple evolution. | |
Protected Member Functions | |
virtual void | evaluatePopulation (Evaluable *fitness) |
Evaluate the whole population and determine individual fitness. | |
virtual void | reproducePopulation (void) |
Reproduce the population according to the parameters reproductionRatio, elitismRatio and crossoverProbability and mutate according to mutate() in Genome. | |
virtual void | createRandomPopulation () |
Create a new random population. | |
virtual void | testBestIndividual (Evaluable *fitness) |
Test the best individual and evaluate it (used to view and evaluate individuals for analysis). Wrapping function. | |
virtual void | testIndividual (Evaluable *fitness, size_t number) |
Test a certain individual and evaluate it (used to view and evaluate individuals for analysis). Wrapping function. |