Vita
|
The replacement strategy (random, tournament...) for the vita::evolution_strategy class. More...
#include <evolution_replacement.h>
Inherited by vita::replacement::alps< T >, vita::replacement::family_competition< T >, vita::replacement::pareto< T >, and vita::replacement::tournament< T >.
Public Types | |
using | offspring_t = typename recombination::strategy< T >::offspring_t |
using | parents_t = typename selection::strategy< T >::parents_t |
Public Member Functions | |
strategy (population< T > &, evaluator< T > &) | |
Protected Attributes | |
evaluator< T > & | eva_ |
population< T > & | pop_ |
The replacement strategy (random, tournament...) for the vita::evolution_strategy class.
T | type of program (individual/team). |
In the strategy design pattern, this class is the strategy interface and vita::evolution is the context.
Definition at line 33 of file evolution_replacement.h.
using vita::replacement::strategy< T >::offspring_t = typename recombination::strategy<T>::offspring_t |
Definition at line 36 of file evolution_replacement.h.
using vita::replacement::strategy< T >::parents_t = typename selection::strategy<T>::parents_t |
Definition at line 37 of file evolution_replacement.h.
|
protected |
Definition at line 43 of file evolution_replacement.h.
|
protected |
Definition at line 42 of file evolution_replacement.h.