TournamentSelect - Tournament selector, takes individuals from one population and puts them into another
my $selector = new TournamentSelection $popSize 7; my @newPop = $selector->apply( @pop ); #Creates a new population from old
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 http://www.fsf.org/licenses/gpl.txt
CVS Info: $Date: 2002/05/29 10:02:11 $ $Header: /cvsroot/opeal/opeal/TournamentSelect.pm,v 1.3 2002/05/29 10:02:11 jmerelo Exp $ $Author: jmerelo $