Vita
|
The strategy (tournament, fitness proportional...) for the evolution class. More...
#include <evolution_selection.h>
Inherited by vita::selection::alps< T >, vita::selection::pareto< T >, vita::selection::random< T >, and vita::selection::tournament< T >.
Public Types | |
using | parents_t = std::vector< typename population< T >::coord > |
Public Member Functions | |
strategy (const population< T > &, evaluator< T > &, const summary< T > &) | |
Protected Attributes | |
evaluator< T > & | eva_ |
const population< T > & | pop_ |
const summary< T > & | sum_ |
The strategy (tournament, fitness proportional...) for the evolution class.
T | the type of program (individual/team) |
In the strategy design pattern, this class is the strategy interface and evolution is the context.
Definition at line 35 of file evolution_selection.h.
using vita::selection::strategy< T >::parents_t = std::vector<typename population<T>::coord> |
Definition at line 38 of file evolution_selection.h.
|
protected |
Definition at line 44 of file evolution_selection.h.
|
protected |
Definition at line 43 of file evolution_selection.h.
|
protected |
Definition at line 45 of file evolution_selection.h.