In file EO++.h:

template <class EOT> class EOTournament : public EOSelector<EOT>

Selects those who are going to reproduce, eliminates those which are not fit using Tournament selection: a subset of the population of size tournamentSize is chosen, and the best is selected for the population

Inheritance:


Public Methods

EOTournament( unsigned _tSize)
Proportion of guys that are going to be eliminated
virtual void operator) ( EOPop<EOT>& _vEO, EOPop<EOT>& _aVEO)
Returns the genetic pool of the reproducers In this function, the only requisite is that EOT and fitnessT can be used to instantiate evedEO
void tournamentSize( unsigned _size )
Set tourn size
~EOTournament()
Virtual dtor

Inherited from EOSelector:


Documentation

Selects those who are going to reproduce, eliminates those which are not fit using Tournament selection: a subset of the population of size tournamentSize is chosen, and the best is selected for the population
EOTournament( unsigned _tSize)
Proportion of guys that are going to be eliminated

~EOTournament()
Virtual dtor

void tournamentSize( unsigned _size )
Set tourn size

virtual void operator) ( EOPop<EOT>& _vEO, EOPop<EOT>& _aVEO)
Returns the genetic pool of the reproducers In this function, the only requisite is that EOT and fitnessT can be used to instantiate evedEO


This class has no child classes.
Author:
JJ Merelo, 1998

alphabetic index hierarchy of classes


BinOp