mets::feasible_solution Class Reference
[Model]

#include <mets.h>

List of all members.


Detailed Description

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


Public Member Functions

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


Member Function Documentation

virtual void mets::feasible_solution::copy_from ( const feasible_solution other  )  [pure virtual]

Assignment method.

Needed to save the best solution so far.

You must implement this for your problem.

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

Cost function to be minimized.

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

You must implement this for your problem.


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

Return to METSlib home page