ga_Population | R Documentation |
Functions for creating a random initial population to be used in genetic algorithms.
gabin_Population(object, ...)
gareal_Population(object, ...)
gaperm_Population(object, ...)
object |
An object of class |
... |
Further arguments passed to or from other methods. |
gabin_Population
generates a random population of object@nBits
binary values;
gareal_Population
generates a random (uniform) population of real values in the range [object@min
, object@max
];
gaperm_Population
generates a random (uniform) population of integer values in the range [object@min
, object@max
].
Return a matrix of dimension object@popSize
times the number of decision variables.
Luca Scrucca
ga
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.