#include <mets.h>
Inherited by mets::best_ever_criteria.
Inheritance diagram for mets::aspiration_criteria_chain:


Public Member Functions | |
| aspiration_criteria_chain (aspiration_criteria_chain *next=0) | |
| Constructor. | |
| aspiration_criteria_chain (const aspiration_criteria_chain &other) | |
| purposely not implemented (see Effective C++) | |
| aspiration_criteria_chain & | operator= (const aspiration_criteria_chain &other) |
| purposely not implemented (see Effective C++) | |
| virtual | ~aspiration_criteria_chain () |
| Virtual destructor. | |
| virtual bool | operator() (feasible_solution &fs, abstract_search &as) |
| The function that decides if we shoud accept a tabu move. | |
Protected Attributes | |
| aspiration_criteria_chain * | next_m |
An aspiration criteria is a criteria used to override the tabu list. When the aspiration criteria is met a move is made even if it's in the tabu-list
Aspiration critera can be chained so a criteria can decorate another criteria
Definition at line 446 of file mets.h.
| mets::aspiration_criteria_chain::aspiration_criteria_chain | ( | aspiration_criteria_chain * | next = 0 |
) | [inline, explicit] |
| mets::aspiration_criteria_chain::aspiration_criteria_chain | ( | const aspiration_criteria_chain & | other | ) |
purposely not implemented (see Effective C++)
| virtual mets::aspiration_criteria_chain::~aspiration_criteria_chain | ( | ) | [inline, virtual] |
| aspiration_criteria_chain& mets::aspiration_criteria_chain::operator= | ( | const aspiration_criteria_chain & | other | ) |
purposely not implemented (see Effective C++)
| bool mets::aspiration_criteria_chain::operator() | ( | feasible_solution & | fs, | |
| abstract_search & | as | |||
| ) | [virtual] |
The function that decides if we shoud accept a tabu move.
| fs | The current working solution. | |
| as | The search instance. |
Reimplemented in mets::best_ever_criteria.
Definition at line 124 of file tabu-search.cc.
References next_m.
Referenced by mets::best_ever_criteria::operator()().
1.5.1