Algorithm::Evolutionary::Op::RouletteWheel - Fitness-proportional selection, using a roulette wheel
use Algorithm::Evolutionary::Op::RouletteWheel; my $popSize = 100; my $selector = new Algorithm::Evolutionary::Op::RouletteWheel $popSize;
Algorithm::Evolutionary::Op::Base
Roulette wheel selection tries to select as many copies of the individual as it corresponds to its fitness. It is used in the canonical GA. Some information on this method of selection can be found in http://www.geatbx.com/docu/algselct.html#nameselectionrws
Creates a new roulette wheel 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/06/21 07:00:15 $ $Header: /cvsroot/opeal/opeal/Algorithm/Evolutionary/Op/RouletteWheel.pm,v 1.3 2002/06/21 07:00:15 jmerelo Exp $ $Author: jmerelo $ $Revision: 1.3 $ $Name $
1 POD Error
The following errors were encountered while parsing the POD:
alternative text 'http://www.geatbx.com/docu/algselct.html#nameselectionrws' contains non-escaped | or /
To install Algorithm::Evolutionary, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Evolutionary
CPAN shell
perl -MCPAN -e shell install Algorithm::Evolutionary
For more information on module installation, please visit the detailed CPAN module installation guide.