Functions for creating a random initial population to be used in non-dominated genetic algorithms.
nsgabin_Population(object) nsgareal_Population(object)
nsgaperm_Population(object)
Return a matrix of dimension object@popSize
times the number of decision variables.
An object of class nsga-class
, nsga2-class
or nsga3-class
.
Francisco Benitez
nsgabin_Population
generates a random population of object@nBits
binary values;
nsgareal_Population
generates a random (uniform) population of real values in the range [object@lower
, object@upper
];
nsgaperm_Population
generates a random (uniform) population of integer values in the range [object@lower
, object@upper
].
Scrucca, L. (2017) On some extensions to 'GA' package: hybrid optimisation, parallelisation and islands evolution. The R Journal, 9/1, 187-206, doi: 10.32614/RJ-2017-008.
nsga
,
nsga2
and
nsga3