mets::move Class Reference
[Model]

#include <mets.h>

Inheritance diagram for mets::move:

Inheritance graph
[legend]

List of all members.


Detailed Description

Move to be operated on a feasible solution.

You must implement this (one or more types are allowed) for your problem.

You must provide an apply as well as an unapply method.

The unapply method should do the reverse of the apply or, if this is too complex, should return the solution prior to the last apply was called.

Public Member Functions

virtual void apply (feasible_solution &sol)=0
 Operates this move on sol.
virtual void unapply (feasible_solution &sol)=0
 Unapply the (last made) move.
virtual void print (ostream &os) const
 Method usefull for tracing purposes.


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

Return to METSlib home page