Vita
|
Progressively evolves a population of programs over a series of generations. More...
#include <evolution.h>
Public Types | |
using | after_generation_callback_t = std::function< void(const population< T > &, const summary< T > &)> |
Public Member Functions | |
evolution & | after_generation (after_generation_callback_t) |
evolution (const problem &, evaluator< T > &) | |
bool | is_valid () const |
const summary< T > & | run (unsigned) |
template<class S > | |
const summary< T > & | run (unsigned, S) |
Progressively evolves a population of programs over a series of generations.
T | type of individual |
ES | evolution strategy in use |
The evolutionary search uses the Darwinian principle of natural selection (survival of the fittest) and analogs of various naturally occurring operations, including crossover (sexual recombination), mutation...
Definition at line 39 of file evolution.h.
using vita::evolution< T, ES >::after_generation_callback_t = std::function<void(const population<T> &, const summary<T> &)> |
Definition at line 42 of file evolution.h.