Learn R Programming

SPOT (version 2.4.2)

funBBOBCall: funBBOBCall

Description

Call (external) BBOB Function. Call the generator from the smoof package for the noiseless function set of the real-parameter Black-Box Optimization Benchmarking (BBOB).

Usage

funBBOBCall(x, opt = list(), ...)

Arguments

x

matrix of points to evaluate with the function. Rows for points and columns for dimension.

opt

list with the following entries

dimensions

[integer(1)] Problem dimension. Integer value between 2 and 40.

fid

[integer(1)] Function identifier. Integer value between 1 and 24.

iid

[integer(1)] Instance identifier. Integer value greater than or equal 1.

...

further arguments

Value

1-column matrix with resulting function values

Examples

Run this code
# NOT RUN {
## Call the first instance of the 2D Sphere function
library(smoof)
set.seed(123)
x <- matrix(c(1,2),1,2)
funBBOBCall(x, opt = list(dimensions = 2L, fid = 1L, iid =1L))
## Use \code{\link{spot}}. Note the additional \code{opt} argument:
spot(x=NULL, funBBOBCall, 
       lower = c(-2,-3), upper = c(1,2),
       control=list(funEvals=15), 
       opt = list(dimensions = 2L, fid = 1L, iid = 1L ))
# }

Run the code above in your browser using DataLab