#include <termination-criteria.hh>
Inheritance diagram for mets::noimprove_termination_criteria:


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, gol_type epsilon=1e-7) | |
| noimprove_termination_criteria (termination_criteria_chain *next, int max, gol_type epsilon=1e-7) | |
| bool | operator() (const feasible_solution &fs) |
| Alternate function that decides if we shoud terminate the search process. | |
| void | reset () |
| Reset the criterion to its initial state. | |
| int | second_guess () |
| int | iteration () |
| int | resets () |
Protected Attributes | |
| gol_type | best_cost_m |
| int | max_noimprove_m |
| int | iterations_left_m |
| int | total_iterations_m |
| int | resets_m |
| int | second_guess_m |
| gol_type | epsilon_m |
| bool mets::noimprove_termination_criteria::operator() | ( | const feasible_solution & | fs | ) | [virtual] |
Alternate function that decides if we shoud terminate the search process.
(chain of responsibility)
| fs | The current working solution. |
Reimplemented from mets::termination_criteria_chain.
| void mets::noimprove_termination_criteria::reset | ( | ) | [inline, virtual] |
Reset the criterion to its initial state.
(chain of responsibility)
Reimplemented from mets::termination_criteria_chain.
Return to METSlib home page