GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ALGORITHM::EVOLUTIONARY::OP::TOURNAMENT_SELECTION (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



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



Base Class

Algorithm::Evolutionary::Op::Selector

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 the best.

METHODS

new( CW$output_population_size, CW$tournament_size )

Creates a new tournament selector

apply( CW$ref_to_population[, CW$output_size || @$ref_to_population] )

Applies the tournament selection to a population, returning another of the same size by default or whatever size is selected. Please bear in mind that, unlike other selectors, this one uses a reference to population instead of a population array.

See Also

Algorithm::Evolutionary::Op::RouleteWheel is another option for selecting a pool of individuals

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



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ALGORITHM::EVOLUTIONARY::OP::TOURNAMENT_SELECTION (3) 2014-10-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.