Abstract result assigner class.
A result assigner is responsible for assigning the final optimization result to the bbotk::OptimInstance. Normally, it is only used within an OptimizerMbo.
See also
Other Result Assigner:
mlr_result_assigners
,
mlr_result_assigners_archive
,
mlr_result_assigners_surrogate
Active bindings
label
(
character(1)
)
Label for this object.man
(
character(1)
)
String in the format[pkg]::[topic]
pointing to a manual page for this object.packages
(
character()
)
Set of required packages. A warning is signaled if at least one of the packages is not installed, but loaded (not attached) later on-demand viarequireNamespace()
.
Methods
Method new()
Creates a new instance of this R6 class.
Usage
ResultAssigner$new(label = NA_character_, man = NA_character_)
Method assign_result()
Assigns the result, i.e., the final point(s) to the instance.
Arguments
instance
(bbotk::OptimInstanceBatchSingleCrit | bbotk::OptimInstanceBatchMultiCrit |bbotk::OptimInstanceAsyncSingleCrit | bbotk::OptimInstanceAsyncMultiCrit)
The bbotk::OptimInstance the final result should be assigned to.