Public Member Functions | Protected Attributes

mets::iteration_logger< neighborhood_t > Struct Template Reference
[Common components]

Inheritance diagram for mets::iteration_logger< neighborhood_t >:
Inheritance graph
[legend]
Collaboration diagram for mets::iteration_logger< neighborhood_t >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 iteration_logger (std::ostream &o)
void update (mets::abstract_search< neighborhood_t > *as)
 This method is automatically called when this observer is attached to a "notified" subject.

Protected Attributes

int iteration
std::ostream & os

template<typename neighborhood_t>
struct mets::iteration_logger< neighborhood_t >


Member Function Documentation

template<typename neighborhood_t >
void mets::iteration_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.

Parameters:
subject,: The subject that was notified and that called our update method.

Implements mets::observer< abstract_search< neighborhood_t > >.


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

Return to METSlib home page