readScenario: readScenario

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
  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.

Author(s)

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

See Also

checkScenario to check that the scenario is valid. defaultScenario to set the scenario to the default. printScenario to print the scenario.


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