irace.cmdline
starts irace using the parameters
of the command line used to invoke R.
irace.cmdline(args = commandArgs(trailingOnly = TRUE))
commandArgs(trailingOnly = TRUE)
The arguments
provided on the R command line as a character vector, e.g.,
c("--scenario", "scenario.txt", "-p", "parameters.txt")
.
Using the default value (not providing the parameter) is the
easiest way to call irace.cmdline
.
None.
The function reads the parameters given on the command line used to invoke R, finds the name of the scenario file, initializes the scenario from the file (with the function readScenario) and possibly from parameters passed on the command line. It finally starts irace by calling irace.main.
irace.main
to start irace with a given scenario.