Learn R Programming

irace (version 3.4.1)

checkIraceScenario: Test that the given irace scenario can be run.

Description

checkIraceScenario tests that the given irace scenario can be run by checking the scenario settings provided and trying to run the target-algorithm.

Usage

checkIraceScenario(scenario, parameters = NULL)

Value

returns TRUE if succesful and gives an error and returns FALSE otherwise.

Arguments

scenario

(list())
Data structure containing irace settings. The data structure has to be the one returned by the function defaultScenario or readScenario.

parameters

(list())
Data structure containing the parameter space definition. The data structure has to similar to the one returned by the function readParameters.

Author

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

Details

Provide the parameters argument only if the parameter list should not be obtained from the parameter file given by the scenario. If the parameter list is provided it will not be checked. This function will try to execute the target-algorithm.

See Also

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.