cga | R Documentation |
Performs a Compact Genetic Algorithm (CGA) search for a given chromosome size, population size (mutation rate), and an objective function.
cga(chsize, popsize, evalFunc)
chsize |
Number of bits. |
popsize |
Size of population. The value is used for mutating the probability vector by 1/popsize. |
evalFunc |
Objective function. |
Binary vector of size chsize.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.