mets::search_listener< move_manager_type > Class Template Reference
[Common components]

#include <abstract-search.hh>

Inheritance diagram for mets::search_listener< move_manager_type >:

Inheritance graph
[legend]
Collaboration diagram for mets::search_listener< move_manager_type >:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

An object that is called back during the search progress.


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.


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

Return to METSlib home page