decrease_pop | R Documentation |
decreases the population of parameters sets
decrease_pop(matobj, minmax, prec, archsize, popsize)
matobj |
: matrix of objectives, dimension (ngames, nobj) |
minmax |
: vector of booleans, of dimension nobj: TRUE if maximization of the objective, FALSE otherwise |
prec |
: nobj dimension vector: accuracy |
archsize |
: integer: archive size |
popsize |
: integer: population size |
A list containing two elements:
indices of individuals in the updated Pareto front
indices of individuals in the updated population
Fabrice Zaoui
# Definition of the parameters
matobj <- matrix(rexp(200), 100, 2)
prec <- c(1.e-3, 1.e-3)
archsize <- 100
minmax <- c(FALSE, FALSE)
popsize <- 100
# Call the function
res <- decrease_pop(matobj, minmax, prec, archsize, popsize)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.