powered by
reduces the number of individuals in a population to only one individual per box up to a given accuracy
downsize(points, Fo, prec)
vector indices
: matrix of objectives
: rank on the front of each point (1: dominates on the Pareto)
: (double, length = nobj) desired accuracy for sorting objectives
Fabrice Zaoui
# Definition of the parameters points <- matrix(rexp(200), 100, 2) prec <- c(1.e-3, 1.e-3) Fo <- sample(1:100, 100) # Call the function res <- downsize(points, Fo, prec)
Run the code above in your browser using DataLab