initialize {adana} | R Documentation |
Initialize function
Description
The initialize function is a function that wraps various initialization functions.
Usage
initialize(initfunc, n, m, type, ...)
Arguments
initfunc |
Initialization function |
n |
Population size |
m |
Chromosome length (number of variables) |
type |
Type of output matrix |
... |
Further arguments passed to or from other methods. |
Value
The output matrix includes only chromosomes of initial population when type=2
, otherwise The output matrix includes
chromosomes of initial population and additional two empty columns for generation number and fitness values.
Author(s)
Zeynel Cebeci & Erkut Tekeli
See Also
initbin
,
initval
,
initperm
,
initnorm
Examples
initpop = initialize(initfunc=initbin, n=6, m=4)
initpop
[Package adana version 1.1.0 Index]