mets::feasible_solution Class Reference

interface of a feasible solution space to be searched with tabu search. More...

#include <mets.h>

Inherited by mets::mana_feasible_solution.

Inheritance diagram for mets::feasible_solution:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~feasible_solution ()
 Virtual dtor.
virtual gol_type cost_function () const=0
 Cost function to be minimized.
virtual feasible_solutionoperator= (const feasible_solution &other)=0
 Assignment operator.

Detailed Description

interface of a feasible solution space to be searched with tabu search.

Definition at line 152 of file mets.h.


Constructor & Destructor Documentation

virtual mets::feasible_solution::~feasible_solution (  )  [inline, virtual]

Virtual dtor.

Definition at line 158 of file mets.h.


Member Function Documentation

virtual gol_type mets::feasible_solution::cost_function (  )  const [pure virtual]

Cost function to be minimized.

The cost function is the target that the tabu-search tries to minimize.

Referenced by mets::noimprove_termination_criteria::operator()(), mets::best_ever_criteria::operator()(), mets::simulated_annealing::search(), and mets::local_search::search().

virtual feasible_solution& mets::feasible_solution::operator= ( const feasible_solution other  )  [pure virtual]

Assignment operator.

The assigment operator is needed to save the best solution so far.


The documentation for this class was generated from the following file:
Generated on Tue Nov 21 00:58:28 2006 for METSlib by  doxygen 1.5.1