irace (version 3.3)

readScenario: readScenario

Description

readScenario reads the scenario to be used by irace from a file.

Usage

readScenario(filename = "", scenario = list())

Arguments

filename

A filename from which the scenario will be read. If empty, the default scenarioFile is used. An example scenario file is provided in system.file(package="irace", "templates/scenario.txt.tmpl").

scenario

A list where tagged elements correspond to scenario settings for irace. This is an initial scenario that is overwritten for every parameter specified in the file to be read.

Value

The scenario list read from the file. The scenario parameter not present in the file are not present in the list, that is, they are NULL.

See Also

printScenario

prints the given scenario.

defaultScenario

returns the default scenario settings of irace.

checkScenario

to check that the scenario is valid.