#include <mets.h>
Inherited by mets::mana_feasible_solution.
Inheritance diagram for mets::feasible_solution:

Public Member Functions | |
| virtual | ~feasible_solution () |
| Virtual dtor. | |
| virtual gol_type | cost_function () const=0 |
| Cost function to be minimized. | |
| virtual feasible_solution & | operator= (const feasible_solution &other)=0 |
| Assignment operator. | |
Definition at line 152 of file mets.h.
| virtual mets::feasible_solution::~feasible_solution | ( | ) | [inline, virtual] |
| 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.
1.5.1