|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
easylocal::MultiRunnerSolver Class Template Reference#include <EasyLocal.h>
Inheritance diagram for easylocal::MultiRunnerSolver
[legend]Collaboration diagram for easylocal::MultiRunnerSolver:
[legend]List of all members.Public Methods
Protected Methods
Protected Attributes
Detailed Description
template<class Input, class Output, class State> class easylocal::MultiRunnerSolver
A Multi Runner solver handles a set of runners.
Definition at line 887 of file EasyLocal.h.
Constructor & Destructor Documentation
template<class Input, class Output, class State> |
easylocal::MultiRunnerSolver< Input, Output, State >::MultiRunnerSolver<Input, Output, State> (
|
StateManager< Input, State > * sm,
|
|
OutputManager< Input, Output, State > * om,
|
|
Input * in = NULL,
|
|
Output * out = NULL ) [protected]
|
|
|
Constructs a multi runner solver by providing it links to a state manager, an output manager, an input, and an output object. -
Parameters:
-
sm
|
a pointer to a compatible state manager |
om
|
a pointer to a compatible output manager |
in
|
a pointer to an input object |
out
|
a pointer to an output object |
Definition at line 1821 of file EasyLocalTemplates.cpp. |
Member Function Documentation
template<class Input, class Output, class State> |
void easylocal::MultiRunnerSolver< Input, Output, State >::AddRunner (
|
Runner< Input, State > * r )
|
|
|
Adds the given runner to the list of the managed runners. -
Parameters:
-
r
|
a pointer to a compatible runner to add |
Definition at line 1845 of file EasyLocalTemplates.cpp. |
template<class Input, class Output, class State> |
void easylocal::MultiRunnerSolver< Input, Output, State >::ClearRunners (
|
)
|
|
template<class Input, class Output, class State> |
unsigned long easylocal::MultiRunnerSolver< Input, Output, State >::NumberOfIterations (
|
) const [protected, virtual]
|
|
template<class Input, class Output, class State> |
void easylocal::MultiRunnerSolver< Input, Output, State >::SetRunner (
|
Runner< Input, State > * r,
|
|
unsigned int i )
|
|
|
Sets the i-th runner managed by the solver to the passed parameter. -
Parameters:
-
r
|
a pointer to a compatible runner |
i
|
the runner position to set with r |
Definition at line 1833 of file EasyLocalTemplates.cpp. |
Member Data Documentation
template<class Input, class Output, class State> |
std::vector< Runner< Input, State > * > easylocal::MultiRunnerSolver<Input, Output, State>::runners [protected]
|
|
|
The vector of the linked runners.
Definition at line 902 of file EasyLocal.h. |
template<class Input, class Output, class State> |
unsigned int easylocal::MultiRunnerSolver<Input, Output, State>::start_runner [protected]
|
|
|
The index of the runner to start with.
Definition at line 900 of file EasyLocal.h. |
template<class Input, class Output, class State> |
unsigned long easylocal::MultiRunnerSolver<Input, Output, State>::total_iterations [protected]
|
|
|
The overall number of iterations performed by all the managed runners.
Definition at line 897 of file EasyLocal.h. |
The documentation for this class was generated from the following files:
|