cga {eive} | R Documentation |
Compact Genetic Algorithm
Description
Performs a Compact Genetic Algorithm (CGA) search for a given chromosome size, population size (mutation rate), and an objective function.
Usage
cga(chsize, popsize, evalFunc)
Arguments
chsize |
Number of bits. |
popsize |
Size of population. The value is used for mutating the probability vector by 1/popsize. |
evalFunc |
Objective function. |
Value
Binary vector of size chsize.
[Package eive version 3.1.3 Index]