debugVisualizeRBF: Optional visualization of surrogate models for 2-dimensional...

Description Usage Arguments Value

View source: R/defaultDebugRBF.R

Description

Optional visualization of surrogate models for 2-dimensional problems, d=2.

Usage

1
debugVisualizeRBF(cobra, fitnessSurrogate, A, Fres)

Arguments

fitnessSurrogate

The surrogate model for the objective function

A

The whole population of solutions which is a matrix of n times d, where n is the number of solutions and d is the dimension of problem, here d=2

Fres

The objective value on the evaluated solutions A

cobra

parameter list, we need here

DEBUG_RBF$overlayTrueZ

=T: overlay the true objective function

DEBUG_RBF$DO_SNAPSHOT

=T: do rgl.snapshot every DEBUG_RBF$every iteration and store it in sprintf("images.d/%s-%03d.png",cobra$fname,npts)

DEBUG_RBF$every

see above

Value

cobra, an object of class COBRA, with modified items:

TrueZ

True objective values of the evaluated points used for viusalization

TrueFeas

A vector of values 0: for infeasible evaluated points or 1: for feasible points.

globalDevice

This function is called only if cobra$DEBUG_RBF$active==T. An assertion fires if cobra$dimension!=2 or if cobra$rescale==F.


SACOBRA documentation built on March 26, 2020, 7:15 p.m.