#include <mets.h>
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_solution & | operator= (const feasible_solution &other) |
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.
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.
Return to METSlib home page