Learn R Programming

caRamel (version 1.4)

Cinterp: Interpolation in simplexes of the objective space

Description

proposes n new candidates by interpolation in simplexes of the objective space

Usage

Cinterp(param, crit, simplices, volume, n)

Value

xnew : matrix [ n , NPar ] of new vectors

pcrit : matrix [ n , NObj ] estimated positions of new sets in the goal space

Arguments

param

: matrix [ NPoints , NPar ] of already evaluated parameters

crit

: matrix [ Npoints , NObj ] of associated criteria

simplices

: matrix [ NSimp , NObj+1 ] containing all or part of the triangulation of the space of the objectives

volume

: matrix [ NSimp , 1 ] giving the volume of each simplex (measure of the probability of interpolating in this simplex)

n

: number of new vectors to generate

Author

Fabrice Zaoui

Examples

Run this code
# Definition of the parameters
param <- matrix(rexp(100), 100, 1)
crit <- matrix(rexp(200), 100, 2)
simplices <- matrix(c(15,2,1,15,22,1,18,15,2,17,13,14), nrow = 4, ncol = 3)
volume <- runif(4)
n <- 5
# Call the function
res <- Cinterp(param, crit, simplices, volume, n)

Run the code above in your browser using DataLab