easylocal::irace_stub
What write_irace_stub writes: the program, its parameters and the values to try.
Synopsis
Declared in <easylocal/app/tuning.hpp>
struct irace_stub;
Data Members
| Name | Description |
|---|---|
directory | The directory of the scenario; it is created if needed. |
fixed | The overrides every run starts from, written to fixed.conf: the values changed on the command line when the stub was written. |
instance | An instance for instances.txt; empty: none. |
parameters | The parameters that may be tuned; write_irace_stub leaves out those of the cost (cost.*, which would change what is compared) and the read-only ones. |
program | The program that irace runs, preferably as an absolute path. |
ranges | The values to try, by path, instead of the domains of the schema. |
requirements | The requirements between the parameters, written as irace's forbidden combinations when they refer to tuned parameters; those of the cost are left out. |
runners | The runners irace chooses among, each with its parameters (runners.<name>.*); with one runner there is no choice. |
Non-Member Functions
| Name | Description |
|---|---|
write_irace_stub | Writes the files of an irace scenario for a program to stub.directory, which it creates: parameters.txt (the parameters to tune and, commented out, the others with a range to start from), fixed.conf (the values every run starts from), target-runner (the script irace calls), scenario.txt, instances.txt and configurations.txt. |