Public Member Functions | Protected Attributes

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

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

List of all members.

Public Member Functions

 improvement_logger (std::ostream &o, gol_type epsilon=1e-7)
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_m
double best_m
std::ostream & os_m
gol_type epsilon_m

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


Member Function Documentation

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