Vita
Public Member Functions | List of all members
vita::replacement::family_competition< T > Class Template Reference

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_
 

Detailed Description

template<class T>
class vita::replacement::family_competition< T >

A family competition replacement scheme.

Template Parameters
Ttype 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).

See also
"Replacement Strategies to Preserve Useful Diversity in Steady-State Genetic Algorithms" - Lozano, Herrera, Cano - 2003.

Definition at line 65 of file evolution_replacement.h.


The documentation for this class was generated from the following file: