target.runner.default
is the default targetRunner function. You can use it as
an advanced example of how to create your own targetRunner function.
target.runner.default(experiment, scenario)
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.