ResultAssigner | R Documentation |
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.
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 via requireNamespace()
.
new()
Creates a new instance of this R6 class.
ResultAssigner$new(label = NA_character_, man = NA_character_)
label
(character(1)
)
Label for this object.
man
(character(1)
)
String in the format [pkg]::[topic]
pointing to a manual page for this object.
assign_result()
Assigns the result, i.e., the final point(s) to the instance.
ResultAssigner$assign_result(instance)
instance
(bbotk::OptimInstanceBatchSingleCrit | bbotk::OptimInstanceBatchMultiCrit)
The bbotk::OptimInstance the final result should be assigned to.
format()
Helper for print outputs.
ResultAssigner$format()
(character(1)
).
print()
Print method.
ResultAssigner$print()
(character()
).
clone()
The objects of this class are cloneable with this method.
ResultAssigner$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Result Assigner:
mlr_result_assigners
,
mlr_result_assigners_archive
,
mlr_result_assigners_surrogate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.