checkScenario: checkScenario

Description Usage Arguments Details Value Author(s) See Also

Description

checkScenario takes a (possibly incomplete) scenario setup of irace, checks for errors and transforms it into a valid scenario.

Usage

1

Arguments

scenario

A list where tagged elements correspond to scenario settings of irace.

Details

This function checks that the directories and the file names provided and required by the irace exist. It also checks that the settings are of the proper type, e.g. that settings expected to be integers are really integers. Finally, it also checks that there is no inconsistency between settings. If an error is found that prevents irace from running properly, it will stop with an error.

Value

The scenario received as a parameter, possibly corrected. Unset scenario settings are set to their default values.

Author(s)

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

See Also

readScenario for reading a configuration scenario from a file. printScenario prints the given scenario. defaultScenario to get the default scenario settings.


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