Public Member Functions | |
improvement_logger (std::ostream &o, gol_type epsilon=1e-7) | |
void | update (mets::abstract_search< neighborhood_t > *as) |
This method is automatically called when this observer is attached to a "notified" subject. | |
Protected Attributes | |
int | iteration_m |
double | best_m |
std::ostream & | os_m |
gol_type | epsilon_m |
void mets::improvement_logger< neighborhood_t >::update | ( | mets::abstract_search< neighborhood_t > * | ) | [inline, virtual] |
This method is automatically called when this observer is attached to a "notified" subject.
subject,: | The subject that was notified and that called our update method. |
Implements mets::observer< abstract_search< neighborhood_t > >.
Return to METSlib home page