#include <abstract-search.hh>
Inheritance diagram for mets::best_ever_solution:


Public Member Functions | |
| best_ever_solution (evaluable_solution &best) | |
| The mets::evaluable_solution will be stored as a reference: please provide an instance that is not modified/needed elsewhere. | |
| best_ever_solution () | |
| Unimplemented default ctor. | |
| best_ever_solution (const best_ever_solution &) | |
| Unimplemented copy ctor. | |
| best_ever_solution & | operator= (const best_ever_solution &) |
| Unimplemented assignment operator. | |
| bool | accept (const feasible_solution &sol) |
| Accept is called at the end of each iteration for an opportunity to record the best solution found during the search. | |
| const evaluable_solution & | best_seen () const |
| Returns the best solution found since the beginning. | |
| gol_type | best_cost () const |
| Best cost seen. | |
Protected Attributes | |
| evaluable_solution & | best_ever_m |
| Records the best solution. | |
| mets::best_ever_solution::best_ever_solution | ( | evaluable_solution & | best | ) | [inline] |
The mets::evaluable_solution will be stored as a reference: please provide an instance that is not modified/needed elsewhere.
| best | The instance used to store the best solution found (will be modified). |
Return to METSlib home page