Expand description

The algorithm module defines traits and structs for implementing concrete algorithms such as the ga::GeneticAlgorithm and various operators as defined in the operator module.

Structs

The best solution found by the Simulation. If the simulation is not finished this is the best solution of the generation currently evaluated. If the solution is finished this is the overall best solution found by the simulation.

The Evaluated type marks an individual as evaluated. Mostly this means that the genetic::Fitness value has been calculated for this individual.

The EvaluatedPopulation holds the results of the evaluation stage of the genetic algorithm. It is used to pass these values to the operator::SelectionOp to enable this operator to do its job.

Traits

An Algorithm defines the steps to be processed in a simulation::Simulation. The Simulation uses an implementation of an Algorithm to perform one iteration of the evaluation stage.