#include <mets.h>
This termination criteria terminates the tabu-search after "max" number of itarations without a single global improvement.
Public Member Functions | |
noimprove_termination_criteria (int max) | |
noimprove_termination_criteria (termination_criteria_chain *next, int max) | |
bool | operator() (feasible_solution &fs, abstract_search &ts) |
The function that decides if we shoud terminate the search process. | |
void | reset () |
Protected Attributes | |
gol_type | best_cost_m |
int | max_noimprove_m |
int | iterations_left_m |
bool mets::noimprove_termination_criteria::operator() | ( | feasible_solution & | fs, | |
abstract_search & | ts | |||
) | [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.
Return to METSlib home page