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: 2001/11/29 16:57:26 $ 
  $Header: /cvsroot/opeal/opeal/TournamentSelect.pm,v 1.2 2001/11/29 16:57:26 jmerelo Exp $ 
  $Author: jmerelo $