Wraps a single-criteria Objective function with extra services for convenient evaluation. Inherits from OptimInstance.

• Automatic storing of results in an Archive after evaluation.

• Automatic checking for termination. Evaluations of design points are performed in batches. Before a batch is evaluated, the Terminator is queried for the remaining budget. If the available budget is exhausted, an exception is raised, and no further evaluations can be performed from this point on.

## Super class

bbotk::OptimInstance -> OptimInstanceSingleCrit

## Methods

### Public methods

Inherited methods

### Method new()

Creates a new instance of this R6 class.

#### Arguments

xdt

(data.table::data.table())
Set of untransformed points / points from the search space. One point per row, e.g. data.table(x1 = c(1, 3), x2 = c(2, 4)). Column names have to match ids of the search_space. However, xdt can contain additional columns.

y

(numeric(1))
Optimal outcome.

### Method clone()

The objects of this class are cloneable with this method.

#### Usage

OptimInstanceSingleCrit\$clone(deep = FALSE)

#### Arguments

deep

Whether to make a deep clone.