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


Public Member Functions | |
| 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) | |
| bool | operator() (const feasible_solution &fs) |
| Alternate function that decides if we shoud terminate the search process. More... | |
| void | reset () |
| Reset the criterion to its initial state. More... | |
Public Member Functions inherited from mets::termination_criteria_chain | |
| termination_criteria_chain (termination_criteria_chain *next=0) | |
| Constructor. More... | |
| termination_criteria_chain (const termination_criteria_chain &) | |
| purposely not implemented (see Effective C++) | |
| termination_criteria_chain & | operator= (const termination_criteria_chain &) |
| virtual | ~termination_criteria_chain () |
| Virtual destructor. | |
Protected Attributes | |
| gol_type | level_m |
| gol_type | epsilon_m |
Protected Attributes inherited from mets::termination_criteria_chain | |
| termination_criteria_chain * | next_m |
Termination criteria based on cost value.
This termination criteria terminates the tabu-search when a certain threshold is reached
|
inlinevirtual |
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.
|
inlinevirtual |
Reset the criterion to its initial state.
(chain of responsibility)
Reimplemented from mets::termination_criteria_chain.
Return to METSlib home page