TournamentSelect- Tournament selector, takes individuals from one population and puts them into another

SYNOPSIS my $selector = new TournamentSelection $popSize 7; my @newPop = $selector->apply( @pop ); #Creates a new population from old =cut


One of the possible selectors used for selecting the pool of individuals that are going to be the parents of the following generation. Takes a set of individuals randomly out of the population, and select a few of the best.


Creates a new tournament selector


Applies the tournament selection to a population, returning another of the said size


  This file is released under the GPL. See the LICENSE file included in this distribution,
  or go to
  CVS Info: $Date: 2001/11/29 16:57:26 $ 
  $Header: /cvsroot/opeal/opeal/,v 1.2 2001/11/29 16:57:26 jmerelo Exp $ 
  $Author: jmerelo $