METSlib 0.6

- Main Page
- Modules
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
mets::search_listener< move_manager_type > Class Template Referenceabstract
Common components

An object that is called back during the search progress. More...

`#include <abstract-search.hh>`

Inheritance diagram for mets::search_listener< move_manager_type >:
Collaboration diagram for mets::search_listener< move_manager_type >:

## 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.

## Detailed Description

### template<typename move_manager_type>
class mets::search_listener< move_manager_type >

An object that is called back during the search progress.

The documentation for this class was generated from the following file:

- metslib/abstract-search.hh

Return to METSlib home page