Documentation of selrws
Global Index (all files) (short | long)
| Local contents
| Local Index (files in subdir) (short | long)
NewChromIx = selrws(FitnV, Nsel, Dummy);
SELection by Roulette Wheel Selection
This function performs selection with Roulette wheel selection.
This function selects a given number of individuals Nsel from a
population. FitnV is a column vector containing the fitness
values of the individuals in the population.
Syntax: NewChrIx = selrws(FitnV, Nsel)
FitnV - Column vector containing the fitness values of the
individuals in the population.
Nsel - Number of individuals to be selected
NewChromIx- Column vector containing the indexes of the selected
individuals relative to the original population, shuffeld.
The new population, ready for mating, can be obtained
by calculating OldChrom(NewChromIx,:).
See also: selection, selsus, sellocal, seltrunc, seltour
This document is part of version 3.8
GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
The Genetic and Evolutionary Algorithm Toolbox is not public domain
© 1994-2006 Hartmut Pohlheim, All Rights Reserved,