mets::search_listener Class Reference
[Common pieces]

An object that is called back during search process. More...

#include <mets.h>

Inheritance diagram for mets::search_listener:

Inheritance graph
[legend]
Collaboration diagram for mets::search_listener:

Collaboration graph
[legend]

List of all members.

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::abstract_search::attach()).
 search_listener (const search_listener &other)
 purposely not implemented (see Effective C++)
search_listeneroperator= (const search_listener &other)
virtual ~search_listener ()
 Virtual destructor.
virtual void update (abstract_search *algorithm)=0
 This is the callback method called by searches when a move, an improvement or something else happens.


Detailed Description

An object that is called back during search process.
The documentation for this class was generated from the following file:

Return to METSlib home page