#include <moTS.h>
Inheritance diagram for moTS< M >:

Public Member Functions | |
| moTS (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval) | |
| Constructor of a moTS specifying all the boxes. | |
| moTS (moMoveExpl< M > &__move_expl, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval) | |
| Constructor with less parameters. | |
| bool | operator() (EOT &__sol) |
| Function which launchs the Tabu Search. | |
Private Types | |
| typedef M::EOType | EOT |
| Alias for the type. | |
| typedef EOT::Fitness | Fitness |
| Alias for the fitness. | |
Private Attributes | |
| moMoveExpl< M > & | move_expl |
| Neighborhood explorer. | |
| moSolContinue< EOT > & | cont |
| Stop criterion. | |
| eoEvalFunc< EOT > & | full_eval |
| Full evaluation function. | |
Generic algorithm that describes a tabu search.
Definition at line 29 of file moTS.h.
| moTS< M >::moTS | ( | moMoveInit< M > & | __move_init, | |
| moNextMove< M > & | __next_move, | |||
| moMoveIncrEval< M > & | __incr_eval, | |||
| moTabuList< M > & | __tabu_list, | |||
| moAspirCrit< M > & | __aspir_crit, | |||
| moSolContinue< EOT > & | __cont, | |||
| eoEvalFunc< EOT > & | __full_eval | |||
| ) | [inline] |
Constructor of a moTS specifying all the boxes.
In this constructor, a moTSMoveLoopExpl is instanciated.
| __move_init | move initialisation | |
| __next_move | neighborhood explorer | |
| __incr_eval | efficient evaluation | |
| __tabu_list | tabu list | |
| __aspir_crit | aspiration criterion | |
| __cont | stop criterion | |
| __full_eval | full evaluation function |
| moTS< M >::moTS | ( | moMoveExpl< M > & | __move_expl, | |
| moSolContinue< EOT > & | __cont, | |||
| eoEvalFunc< EOT > & | __full_eval | |||
| ) | [inline] |
Constructor with less parameters.
The explorer is given in the parameters.
| __move_expl | the explorer (generally different that a moTSMoveLoopExpl) | |
| __cont | stop criterion | |
| __full_eval | full evaluation function |
Function which launchs the Tabu Search.
Algorithm of the tabu search. As a moSA or a moHC, it can be used for HYBRIDATION in an evolutionary algorithm. For security a lock (pthread_mutex_t) is closed during the algorithm.
| __sol | a solution to improve. |
Implements eoUF< M::EOType &, bool >.
Definition at line 85 of file moTS.h.
References moTS< M >::cont, moTS< M >::full_eval, and moTS< M >::move_expl.
1.4.7