NAME

    Algorithm::Evolutionary::Op::TournamentSelect - Tournament selector, takes individuals from one population
                       and puts them into another


SYNOPSIS my $popSize = 100; my $tournamentSize = 7; my $selector = new Algorithm::Evolutionary::Op::TournamentSelect $popSize, $tournamentSize; my @newPop = $selector->apply( @pop ); #Creates a new population from old


Base Class

Algorithm::Evolutionary::Op::Base


DESCRIPTION

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.


METHODS

new

Creates a new tournament selector

apply

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


Copyright


  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/06/18 08:02:34 $ 
  $Header: /cvsroot/opeal/opeal/Algorithm/Evolutionary/Op/TournamentSelect.pm,v 1.1 2002/06/18 08:02:34 jmerelo Exp $ 
  $Author: jmerelo $