mets::threshold_termination_criteria Class Reference
[Common pieces]

#include <mets.h>

Inheritance diagram for mets::threshold_termination_criteria:

Inheritance graph
[legend]
Collaboration diagram for mets::threshold_termination_criteria:

Collaboration graph
[legend]
List of all members.

Detailed Description

Termination criteria based on cost value.

This termination criteria terminates the tabu-search when a certain threshold is reached


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.
void reset ()

Protected Attributes

gol_type level_m


Member Function Documentation

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.

Parameters:
fs The current working solution.
as The search instance.
Returns:
True if we shoud terminate

Reimplemented from mets::termination_criteria_chain.


The documentation for this class was generated from the following file:

Return to METSlib home page