Description Usage Arguments Examples
View source: R/gaRWselection.R View source: R/mate.R
In Roulette Wheel Selection method, the chromosomes are selected based on their probabilities that are proportional to their fitness value. whole population in partitioned on the wheel and each sector represents an individual. The proportion of individual's fitness to the total fitness values of whole population decides the probability of selection of that individual in the next generation.
1 | gaRWselection(population, fitnessVec, eliteRate)
|
population |
a matrix of size n*p |
fitnessVec |
a vector with length n |
eliteRate |
a proportion between zero and one |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.