downsize: Downsizing of a population to only one individual per box up...

View source: R/downsize.R

downsizeR Documentation

Downsizing of a population to only one individual per box up to a given accuracy

Description

reduces the number of individuals in a population to only one individual per box up to a given accuracy

Usage

downsize(points, Fo, prec)

Arguments

points

: matrix of objectives

Fo

: rank on the front of each point (1: dominates on the Pareto)

prec

: (double, length = nobj) desired accuracy for sorting objectives

Value

vector indices

Author(s)

Fabrice Zaoui

Examples

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


caRamel documentation built on Sept. 11, 2024, 7:01 p.m.