Container around a data.table::data.table which stores all performed function calls of the Objective.
The data is stored in a private
.data field that contains a
data.table::data.table which logs all performed function calls of the Objective.
This data.table::data.table is accessed with the public
$data() method. New
values can be added with the
$add_evals() method. This however is usually
done through the evaluation of the OptimInstance by the Optimizer.
Creates a new instance of this R6 class.
MboDummyArchive$new( archive, codomain = archive$codomain, search_space = archive$search_space )
Adds function evaluations to the archive table.
MboDummyArchive$add_evals(xdt, xss_trafoed = NULL, ydt)
Returns the best scoring evaluation. For single-crit optimization, the solution that minimizes / maximizes the objective function. For multi-crit optimization, the Pareto set / front.
MboDummyArchive$best(m = NULL)
Take only batches
m into account. Default is all batches.
Returns a data.table::data.table which contains all performed Objective function calls.
MboDummyArchive$data(unnest = NULL)
The objects of this class are cloneable with this method.
MboDummyArchive$clone(deep = FALSE)
Whether to make a deep clone.