|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
easylocal::AbstractTester Class Reference#include <EasyLocal.h>
Inheritance diagram for easylocal::AbstractTester
[legend]List of all members.Public Methods
Protected Attributes
Detailed Description
This class represent the interface between the tester and the interpreter of the batch experiment language.
Definition at line 1042 of file EasyLocal.h.
Constructor & Destructor Documentation
easylocal::AbstractTester::~AbstractTester (
|
) [inline, virtual]
|
|
Member Function Documentation
int easylocal::AbstractTester::AddRunnerToSolver (
|
std::string name,
|
|
std::string type ) [pure virtual]
|
|
|
Adds the runner identified by the name and the type passed as parameter to the attached solver. -
Parameters:
-
name
|
the name of the runner to add |
type
|
the type of the runner to add |
Reimplemented in easylocal::Tester. |
void easylocal::AbstractTester::LoadInstance (
|
std::string id ) [pure virtual]
|
|
|
Loads an input instance identified by the string passed as parameter. -
Parameters:
-
id
|
the instance identifier. |
Reimplemented in easylocal::Tester. |
void easylocal::AbstractTester::SetLogFile (
|
std::string s )
|
|
|
Sets the name of the file to be used as log for the experiments. -
Parameters:
-
Definition at line 75 of file EasyLocal.cpp. |
void easylocal::AbstractTester::SetOutputPrefix (
|
std::string s )
|
|
|
Sets the prefix for the output file. Therefore, if during a batch of experiments is required to provide also the output, it will be written on files whose name starts with the given prefix. -
Parameters:
-
Definition at line 85 of file EasyLocal.cpp. |
void easylocal::AbstractTester::SetPlotPrefix (
|
std::string s )
|
|
|
Sets the prefix for the plot file. If plotting is required, the tester will write it on a set of files whose name starts with the given prefix. -
Parameters:
-
Definition at line 94 of file EasyLocal.cpp. |
void easylocal::AbstractTester::SetRunningParameters (
|
std::string name,
|
|
std::string type,
|
|
const ParameterBox & pb ) [pure virtual]
|
|
|
Sets the parameter of the runner specified by the pair (name, type). They will be passed as a parameter box that contains them. -
Parameters:
-
name
|
the name of the runner to set |
type
|
the type of the runner to set |
pb
|
a parameter box containing the parameters to set |
Reimplemented in easylocal::Tester. |
void easylocal::AbstractTester::SetSolverTrials (
|
unsigned int t )
|
|
|
Sets the number of experiments the solver shall perform. -
Parameters:
-
Definition at line 66 of file EasyLocal.cpp. |
void easylocal::AbstractTester::StartSolver (
|
) [pure virtual]
|
|
|
Starts the solving procedure and collects the results.
Reimplemented in easylocal::Tester. |
Member Data Documentation
std::ostream * easylocal::AbstractTester::logstream [protected]
|
|
|
An output stream where to write running information.
Definition at line 1070 of file EasyLocal.h. |
std::string easylocal::AbstractTester::output_file_prefix [protected]
|
|
|
The file prefix to be used for writing the outcome of each trial.
Definition at line 1071 of file EasyLocal.h. |
std::string easylocal::AbstractTester::plot_file_prefix [protected]
|
|
|
The prefix to be used for writing the progress of each run in a plot file.
Definition at line 1073 of file EasyLocal.h. |
unsigned int easylocal::AbstractTester::trials [protected]
|
|
|
Number of trials the solver will be run
Definition at line 1069 of file EasyLocal.h. |
The documentation for this class was generated from the following files:
|