View source: R/readConfiguration.R
checkScenario | R Documentation |
Checks for errors a (possibly incomplete) scenario setup of irace and transforms it into a valid scenario.
checkScenario(scenario = defaultScenario())
scenario |
( |
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.
The scenario received as a parameter, possibly corrected. Unset scenario settings are set to their default values.
Manuel López-Ibáñez and Jérémie Dubois-Lacoste
readScenario()
for reading a configuration scenario from a file.
printScenario()
prints the given scenario.
defaultScenario()
returns the default scenario settings of irace.
checkScenario()
to check that the scenario is valid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.