target.evaluator.default | R Documentation |
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.
target.evaluator.default( experiment, num.configurations, all.conf.id, scenario, target.runner.call )
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 |
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
:
error
is a string used to report an error;
outputRaw
is a string used to report the raw output of calls to an external program or function;
call
is a string used to report how targetRunner
called
an external program or function.
Manuel López-Ibáñez and Jérémie Dubois-Lacoste
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.