Termination criteria based on cost value. More...
#include <termination-criteria.hh>

Public Member Functions | |
| 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. | |
| threshold_termination_criteria (gol_type level, gol_type epsilon=1e-7) | |
| threshold_termination_criteria (termination_criteria_chain *next, gol_type level, gol_type epsilon=1e-7) | |
Protected Attributes | |
| gol_type | epsilon_m |
| gol_type | level_m |
Termination criteria based on cost value.
This termination criteria terminates the tabu-search when a certain threshold is reached
Definition at line 184 of file termination-criteria.hh.
| mets::threshold_termination_criteria::threshold_termination_criteria | ( | gol_type | level, |
| gol_type | epsilon = 1e-7 |
||
| ) | [inline] |
Definition at line 188 of file termination-criteria.hh.
| mets::threshold_termination_criteria::threshold_termination_criteria | ( | termination_criteria_chain * | next, |
| gol_type | level, | ||
| gol_type | epsilon = 1e-7 |
||
| ) | [inline] |
Definition at line 195 of file termination-criteria.hh.
| bool mets::threshold_termination_criteria::operator() | ( | const feasible_solution & | fs | ) | [inline, 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.
Definition at line 202 of file termination-criteria.hh.
| void mets::threshold_termination_criteria::reset | ( | ) | [inline, virtual] |
Reset the criterion to its initial state.
(chain of responsibility)
Reimplemented from mets::termination_criteria_chain.
Definition at line 213 of file termination-criteria.hh.
Definition at line 218 of file termination-criteria.hh.
Definition at line 217 of file termination-criteria.hh.