#include <abstract-search.hh>
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 | |
double | best_m |
gol_type | epsilon_m |
int | iteration_m |
std::ostream & | os_m |
Definition at line 296 of file abstract-search.hh.
mets::improvement_logger< neighborhood_t >::improvement_logger | ( | std::ostream & | o, |
gol_type | epsilon = 1e-7 |
||
) | [inline, explicit] |
Definition at line 299 of file abstract-search.hh.
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 > >.
Definition at line 308 of file abstract-search.hh.
double mets::improvement_logger< neighborhood_t >::best_m [protected] |
Definition at line 329 of file abstract-search.hh.
gol_type mets::improvement_logger< neighborhood_t >::epsilon_m [protected] |
Definition at line 331 of file abstract-search.hh.
int mets::improvement_logger< neighborhood_t >::iteration_m [protected] |
Definition at line 328 of file abstract-search.hh.
std::ostream& mets::improvement_logger< neighborhood_t >::os_m [protected] |
Definition at line 330 of file abstract-search.hh.