Learn R Programming

irace (version 2.1)

target.runner.default: target.runner.default

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

target.runner.default(experiment, scenario)

Arguments

experiment
A list describing the experiment. It should contain at least:
  • instanceA string containing the name of the instance (or filename and full path in case the instance is a file).
  • idA numeric identifier for the candidate configuration that is evaluated.
  • configurationThe candidate configuration that must be run.
  • seedA random seed
  • extra.paramsExtra parameters (like instance-specific ones) to be passed when evaluating this candidate configuration.
  • switchesCommand-line switches that correspond to each parameter
scenario
options passed when invoking irace.

Value

If targetEvaluator is NULL, then this function returns the output of evaluating the candidate configuration, which must be a numerical value.If maxTime, then this function returns the output of evaluating the candidate configuration and the execution time, if targetEvaluator is not NULL, this function must return only the execution time.Otherwise, it returns a string. By the default, this string is the actual command-line call to the target-runner program. This information is only used for debugging purposes if targetEvaluator fails later.