NAME

    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


Base Class

OpBase


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.

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/05/29 10:02:11 $ 
  $Header: /cvsroot/opeal/opeal/TournamentSelect.pm,v 1.3 2002/05/29 10:02:11 jmerelo Exp $ 
  $Author: jmerelo $