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.