Vita
|
A family competition replacement scheme. 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_ |
A family competition replacement scheme.
T | type of program (individual/team). |
We assume that the parents would be ones of the members of the population closest to the new elements. In this way, children compete with their parents to be included in the population.
A child replaces the worst parent if the former has a higher fitness (deterministic crowding and elitist recombination); if elitism is false
, the winner of the parent-offspring tournament is chosen by using a probability proportional to the fitness (probabistic crowding).
Definition at line 65 of file evolution_replacement.h.