decrease_pop {caRamel}R Documentation

Decreasing of the population of parameters sets

Description

decreases the population of parameters sets

Usage

decrease_pop(matobj, minmax, prec, archsize, popsize)

Arguments

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

Value

A list containing two elements:

ind_arch

indices of individuals in the updated Pareto front

ind_pop

indices of individuals in the updated population

Author(s)

Fabrice Zaoui

Examples

# 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)


[Package caRamel version 1.2 Index]