target.runner.default: target.runner.default

Description Usage Arguments Value Author(s)

Description

target.runner.default is the default targetRunner function. You can use it as an advanced example of how to create your own targetRunner function.

Usage

1
target.runner.default(experiment, scenario)

Arguments

experiment

A list describing the experiment. It contains at least:

  • id.configurationAn alphanumeric string that uniquely identifies a configuration;

  • id.instanceAn alphanumeric string that uniquely identifies a pair (instance, seed);

  • seedSeed for the random number generator to be used for this evaluation, ignore the seed for deterministic algorithms;

  • instanceString giving the instance to be used for this evaluation;

  • extra.paramsUser-defined parameters associated to the instance;

  • configuration1-row data frame with a column per parameter name;

  • switchesVector of parameter switches (labels) in the order of parameters used in configuration.

scenario

Options passed when invoking irace.

Value

If targetEvaluator is NULL, then the targetRunner function must return a list with at least one element "cost", the numerical value corresponding to the evaluation of the given configuration on the given instance.

If the scenario option maxTime is non-zero, then the list must contain at least another element "time" that reports the execution time for this call to targetRunner.

The return list may also contain the following optional elements that are used by irace for reporting errors in targetRunner:

Author(s)

Manuel López-Ibáñez and Jérémie Dubois-Lacoste


MLopez-Ibanez/iracelhs documentation built on May 15, 2019, 1:57 a.m.