| target.evaluator.default {irace} | R Documentation |
target.evaluator.default
Description
target.evaluator.default is the default targetEvaluator function that is
invoked if targetEvaluator is a string (by default
targetEvaluator is NULL and this function is not invoked). You can use it as
an advanced example of how to create your own targetEvaluator function.
Usage
target.evaluator.default(
experiment,
num.configurations,
all.conf.id,
scenario,
target.runner.call
)
Arguments
experiment |
A list describing the experiment. It contains at least:
|
num.configurations |
Number of configurations alive in the race. |
all.conf.id |
Vector of configuration IDs of the alive configurations. |
scenario |
( |
target.runner.call |
String describing the call to |
Value
The function targetEvaluator must return a list with one element
"cost", the numerical value corresponding to the cost measure of the
given configuration on the given instance.
The return list may also contain the following optional elements that are used
by irace for reporting errors in targetEvaluator:
erroris a string used to report an error;
outputRawis a string used to report the raw output of calls to an external program or function;
callis a string used to report how
targetRunnercalled an external program or function.
Author(s)
Manuel López-Ibáñez and Jérémie Dubois-Lacoste