![]() |
![]()
| ![]() |
![]()
NAMEAlgorithm::Evolutionary::Op::RouletteWheel - Fitness-proportional selection, using a roulette wheel. SYNOPSISuse Algorithm::Evolutionary::Op::RouletteWheel; my $popSize = 100; my $selector = new Algorithm::Evolutionary::Op::RouletteWheel $popSize; Base ClassAlgorithm::Evolutionary::Op::Selector DESCRIPTIONRoulette 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 this GA tutorial <http://www.geatbx.com/docu/algselct.html#nameselectionrws> METHODSnew( $output_population_size )Creates a new roulette wheel selector applyApplies the tournament selection to a population, returning another of the said size See AlsoAlgorithm::Evolutionary::Op::TournamentSelect is another option for selecting a pool of individuals CopyrightThis file is released under the GPL. See the LICENSE file included in this distribution, or go to http://www.fsf.org/licenses/gpl.txt
|