#include <mets.h>
Inherits mets::termination_criteria_chain.
Inheritance diagram for mets::threshold_termination_criteria:


Public Member Functions | |
| threshold_termination_criteria (gol_type level) | |
| threshold_termination_criteria (termination_criteria_chain *next, gol_type level) | |
| bool | operator() (feasible_solution &fs, abstract_search &ts) |
| The function that decides if we shoud terminate the search process. | |
Protected Attributes | |
| gol_type | level_m |
This termination criteria terminates the tabu-search when a certain threshold is reached
Definition at line 1090 of file mets.h.
| bool mets::threshold_termination_criteria::operator() | ( | feasible_solution & | fs, | |
| abstract_search & | ts | |||
| ) | [inline, virtual] |
The function that decides if we shoud terminate the search process.
| fs | The current working solution. | |
| as | The search instance. |
Reimplemented from mets::termination_criteria_chain.
Definition at line 1106 of file mets.h.
References mets::abstract_search::best_cost(), level_m, and mets::termination_criteria_chain::operator()().
1.5.1