#include <moTabuList.h>

Public Types | |
| typedef M::EOType | EOT |
| Alias for the type. | |
Public Member Functions | |
| virtual void | add (const M &_move, const EOT &_solution)=0 |
| Procedure to add a move in the tabu list. | |
| virtual void | update ()=0 |
| Procedure that updates the tabu list content. | |
| virtual void | init ()=0 |
| Procedure which initialises the tabu list. | |
It is only a description, does nothing... A new object that herits from this class has to be defined in order to be used in a moTS.
Definition at line 46 of file moTabuList.h.
| virtual void moTabuList< M >::add | ( | const M & | _move, | |
| const EOT & | _solution | |||
| ) | [pure virtual] |
Procedure to add a move in the tabu list.
The two parameters have not to be modified so they are constant parameters.
| _move | a new tabu move. | |
| _solution | the origianl solution associated to this move. |
Implemented in moSimpleMoveTabuList< M >, and moSimpleSolutionTabuList< M >.
| virtual void moTabuList< M >::update | ( | ) | [pure virtual] |
Procedure that updates the tabu list content.
Generally, a counter associated to each saved move is decreased by one.
Implemented in moSimpleMoveTabuList< M >, and moSimpleSolutionTabuList< M >.
| virtual void moTabuList< M >::init | ( | ) | [pure virtual] |
Procedure which initialises the tabu list.
Can be useful if the data structure needs to be allocated before being used.
Implemented in moSimpleMoveTabuList< M >, and moSimpleSolutionTabuList< M >.
1.5.4