initializeoga:
--------------------------------------------------------------------------
Initializeoga creates a matrix of random permutations with a number
of rows equal to the populationSize and a number columns equal to the
size of the permutation plus 1 for the f(x) value which is found by
applying the evalFN. This initization function is used with an
order-based representation.
Since version 7.
--------------------------------------------------------------------------
Form:
[pop] = initializeoga(num,bounds,evalFN,evalOps,options)
--------------------------------------------------------------------------
------
Inputs
------
num the size of the population, i.e. the number to create
bounds the number of permutations in an individual (e.g., number
of cities in a tsp
evalFN the evaluation fn, usually the name of the .m file for
evaluation
evalOps any options to be passed to the eval function defaults []
options options to the initialize function, ie. [eps float/binary
prec] where eps is the epsilon value and the second option
is 1 for orderOps, prec is the precision of the variables
defaults [1e-6 1]
-------
Outputs
-------
pop the initial, evaluated, random population
--------------------------------------------------------------------------