|
METSlib 0.5
|
An object that is called back during the search progress. More...
#include <abstract-search.hh>


Public Types | |
| typedef abstract_search< move_manager_type > | search_type |
Public Member Functions | |
| search_listener () | |
| A new observer (listener) of a search process, remember to attach the created object to the search process to be observed (mets::search_type::attach()). | |
| search_listener (const search_listener< search_type > &other) | |
| purposely not implemented (see Effective C++) | |
| search_listener< search_type > & | operator= (const search_listener< search_type > &other) |
| virtual | ~search_listener () |
| Virtual destructor. | |
| virtual void | update (search_type *algorithm)=0 |
| This is the callback method called by searches when a move, an improvement or something else happens. | |
An object that is called back during the search progress.
|
pure virtual |
This is the callback method called by searches when a move, an improvement or something else happens.
Implements mets::observer< abstract_search< move_manager_type > >.
Implemented in mets::improvement_logger< neighborhood_t >, and mets::iteration_logger< neighborhood_t >.
Return to METSlib home page