|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
easylocal::MoveTester Class Template Reference#include <EasyLocal.h>
Inheritance diagram for easylocal::MoveTester
[legend]Collaboration diagram for easylocal::MoveTester:
[legend]List of all members.Public Methods
Protected Methods
Protected Attributes
Detailed Description
template<class Input, class Output, class State, class Move> class easylocal::MoveTester
A Move Tester allows to test the behavior of a given neighborhood explorer.
Definition at line 990 of file EasyLocal.h.
Constructor & Destructor Documentation
template<class Input, class Output, class State, class Move> |
easylocal::MoveTester< Input, Output, State, Move >::MoveTester<Input, Output, State, Move> (
|
StateManager< Input, State > * sm,
|
|
OutputManager< Input, Output, State > * om,
|
|
NeighborhoodExplorer< Input, State, Move > * ne,
|
|
std::string nm,
|
|
Input * in = NULL )
|
|
|
Constructs a move tester by providing it links to a state manager, an output manager, a neighborhood explorer, a name and an input object. -
Parameters:
-
sm
|
a pointer to a compatible state manager |
om
|
a pointer to a compatible output manager |
ne
|
a pointer to a compatible neighborhood explorer |
nm
|
the name of the move tester |
in
|
a pointer to an input object |
Definition at line 2037 of file EasyLocalTemplates.cpp. |
Member Function Documentation
template<class Input, class Output, class State, class Move> |
void easylocal::MoveTester< Input, Output, State, Move >::ExecuteChoice (
|
State & st ) [protected]
|
|
template<class Input, class Output, class State, class Move> |
void easylocal::MoveTester< Input, Output, State, Move >::RunTestMenu (
|
State & st ) [virtual]
|
|
template<class Input, class Output, class State, class Move> |
void easylocal::MoveTester< Input, Output, State, Move >::SetInput (
|
Input * in ) [virtual]
|
|
template<class Input, class Output, class State, class Move> |
void easylocal::MoveTester< Input, Output, State, Move >::ShowMenu (
|
) [protected]
|
|
Member Data Documentation
template<class Input, class Output, class State, class Move> |
int easylocal::MoveTester<Input, Output, State, Move>::choice [protected]
|
|
|
The option currently chosen from the menu.
Definition at line 1008 of file EasyLocal.h. |
template<class Input, class Output, class State, class Move> |
Output easylocal::MoveTester<Input, Output, State, Move>::out [protected]
|
|
template<class Input, class Output, class State, class Move> |
Input * easylocal::MoveTester<Input, Output, State, Move>::p_in [protected]
|
|
|
A pointer to the input object.
Definition at line 1006 of file EasyLocal.h. |
template<class Input, class Output, class State, class Move> |
NeighborhoodExplorer< Input, State, Move > * easylocal::MoveTester<Input, Output, State, Move>::p_nhe [protected]
|
|
|
A pointer to the attached neighborhood explorer.
Definition at line 1001 of file EasyLocal.h. |
template<class Input, class Output, class State, class Move> |
OutputManager< Input, Output, State > * easylocal::MoveTester<Input, Output, State, Move>::p_om [protected]
|
|
|
A pointer to the attached output manager.
Definition at line 1004 of file EasyLocal.h. |
template<class Input, class Output, class State, class Move> |
StateManager< Input, State > * easylocal::MoveTester<Input, Output, State, Move>::p_sm [protected]
|
|
|
A pointer to the attached state manager.
Definition at line 999 of file EasyLocal.h. |
The documentation for this class was generated from the following files:
|