mets::best_ever_solution Class Reference
[Common pieces]

The best ever solution recorder can be used as a simple solution recorder that just records the best copyable solution found during its lifetime. More...

#include <abstract-search.hh>

Inheritance diagram for mets::best_ever_solution:

Inheritance graph
[legend]
Collaboration diagram for mets::best_ever_solution:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 best_ever_solution (evaluable_solution &best)
 best_ever_solution ()
 Unimplemented default ctor.
 best_ever_solution (const best_ever_solution &)
 Unimplemented copy ctor.
best_ever_solutionoperator= (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 move ever.
const evaluable_solutionbest_seen () const
 Returns the best solution found since the beginning.
gol_type best_cost () const

Protected Attributes

evaluable_solutionbest_ever_m
 Records the best solution.


Detailed Description

The best ever solution recorder can be used as a simple solution recorder that just records the best copyable solution found during its lifetime.
The documentation for this class was generated from the following file:

Return to METSlib home page