Cinterp: Interpolation in simplexes of the objective space

View source: R/Cinterp.R

CinterpR Documentation

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)

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

Value

xnew : matrix [ n , NPar ] of new vectors

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

Author(s)

Fabrice Zaoui

Examples

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


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