Learn R Programming

irace (version 1.0)

hook.run.default: hook.run.default

Description

hook.run.default is the default hookRun function. You can use it as an advanced example of how to create your own hooRun function.

Usage

hook.run.default(instance, candidate, extra.params, config)

Arguments

instance
A string containing the name of the instance (or filename and full path in case the instance is a file).
candidate
The candidate configuration that must be run.
extra.params
Extra parameters (like instance-specific ones) to be passed when evaluating this candidate.
config
options passed when invoking irace.

Value

  • If hookEvaluate is NULL, then this function returns the output of evaluating the candidate, which must be a numerical value.

    Otherwise, it returns a string. By the default, this string is the actual command-line call to the hook-run program. This information is only used for debugging purposes if hookEvaluate fails later.