![]() |
Ultra 0.9.4
|
#include <evolution_strategy.h>
Public Member Functions | |
| std_es (const problem &, E &) | |
| template<SizedRandomAccessPopulation P> | |
| auto | operations (P &, const evolution_status< individual_t, fitness_t > &) const |
| template<LayeredPopulation P> | |
| auto | operations (P &, typename P::layer_iter, const evolution_status< individual_t, fitness_t > &) const |
| template<SizedRandomAccessPopulation P> | |
| auto | operations (P &pop, const evolution_status< individual_t, fitness_t > &starting_status) const |
| template<LayeredPopulation P> | |
| auto | operations (P &pop, typename P::layer_iter iter, const evolution_status< individual_t, fitness_t > &starting_status) const |
| Public Member Functions inherited from ultra::evolution_strategy< E > | |
| template<Population P> | |
| void | init (P &) const |
| template<Population P> | |
| P * | refinement_subgroup (P &) const noexcept |
| template<Population P> | |
| void | after_generation (P &, const summary< individual_t, fitness_t > &) |
| const problem & | get_problem () const noexcept |
| template<Population P> | |
| std::size_t | max_parallelism (const P &) const noexcept |
| template<LayeredPopulation P> | |
| bool | valid_layer (P &pop, typename P::layer_iter iter) |
| template<Population P> | |
| P * | refinement_subgroup (P &pop) const noexcept |
| template<Population P> | |
| std::size_t | max_parallelism (const P &pop) const noexcept |
| template<Population P> | |
| void | after_generation (P &pop, const summary< individual_t, fitness_t > &sum) |
Additional Inherited Members | |
| Public Types inherited from ultra::evolution_strategy< E > | |
| using | evaluator_type = E |
| using | fitness_t = evaluator_fitness_t<E> |
| using | individual_t = evaluator_individual_t<E> |
| Static Public Member Functions inherited from ultra::evolution_strategy< E > | |
| static parameters | shape (const parameters &p) |
| Protected Member Functions inherited from ultra::evolution_strategy< E > | |
| evolution_strategy (const problem &, E &) | |
| Static Protected Member Functions inherited from ultra::evolution_strategy< E > | |
| template<LayeredPopulation P> | |
| static bool | valid_layer (P &, typename P::layer_iter) |
| Protected Attributes inherited from ultra::evolution_strategy< E > | |
| E & | eva_ |
| const problem & | prob_ |
Standard evolution strategy.
|
nodiscard |
Assembles a standard evolutionary step.
| P | population type |
| [in] | pop | the population |
| [in] | starting_status | evolutionary status snapshot |
Implements a steady-state evolutionary loop:
|
nodiscard |
Assembles a standard evolutionary step for a layered population.
| P | population type |
| [in] | pop | the population |
| [in] | iter | iterator to the active layer |
| [in] | starting_status | evolutionary status snapshot |
| auto ultra::std_es< E >::operations | ( | P & | pop, |
| const evolution_status< individual_t, fitness_t > & | starting_status ) const |
Assembles a standard evolutionary step.
| P | population type |
| [in] | pop | the population |
| [in] | starting_status | evolutionary status snapshot |
Implements a steady-state evolutionary loop:
| auto ultra::std_es< E >::operations | ( | P & | pop, |
| typename P::layer_iter | iter, | ||
| const evolution_status< individual_t, fitness_t > & | starting_status ) const |
Assembles a standard evolutionary step for a layered population.
| P | population type |
| [in] | pop | the population |
| [in] | iter | iterator to the active layer |
| [in] | starting_status | evolutionary status snapshot |