#include <GenerationalEvolution.h>
Inheritance diagram for Teem::SimpleEvolutionRun:
To be used for single individual experiment.
Public Member Functions | |
SimpleEvolutionRun () | |
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 | 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. |