Vita
|
Tournament based replacement scheme (aka kill tournament). More...
#include <evolution_replacement.h>
Inherits vita::replacement::strategy< T >.
Public Member Functions | |
void | run (const typename strategy< T >::parents_t &, const typename strategy< T >::offspring_t &, summary< T > *) |
Public Member Functions inherited from vita::replacement::strategy< T > | |
strategy (population< T > &, evaluator< T > &) | |
Additional Inherited Members | |
Public Types inherited from vita::replacement::strategy< T > | |
using | offspring_t = typename recombination::strategy< T >::offspring_t |
using | parents_t = typename selection::strategy< T >::parents_t |
Protected Attributes inherited from vita::replacement::strategy< T > | |
evaluator< T > & | eva_ |
population< T > & | pop_ |
Tournament based replacement scheme (aka kill tournament).
T | type of program (individual/team) |
This strategy select an individual for replacement by kill tournament: pick a number of individuals at random and replace the worst.
Definition at line 87 of file evolution_replacement.h.