bpp-core3  3.0.0
bpp::OptimizationListener Class Referenceabstract

The listener interface for receiving optimization events. More...

#include <Bpp/Numeric/Function/Optimizer.h>

+ Inheritance diagram for bpp::OptimizationListener:

Public Member Functions

 OptimizationListener ()
 
virtual ~OptimizationListener ()
 
virtual void optimizationInitializationPerformed (const OptimizationEvent &event)=0
 
virtual void optimizationStepPerformed (const OptimizationEvent &event)=0
 
virtual bool listenerModifiesParameters () const =0
 

Detailed Description

The listener interface for receiving optimization events.

The class that is interested in processing an optimization event implements this interface, and the object created with that class is registered with a component, using the component's addOptimizationListener method. More kinds of events may be processed in the future.

Definition at line 95 of file Optimizer.h.

Constructor & Destructor Documentation

◆ OptimizationListener()

bpp::OptimizationListener::OptimizationListener ( )
inline

Definition at line 98 of file Optimizer.h.

◆ ~OptimizationListener()

virtual bpp::OptimizationListener::~OptimizationListener ( )
inlinevirtual

Definition at line 99 of file Optimizer.h.

Member Function Documentation

◆ listenerModifiesParameters()

virtual bool bpp::OptimizationListener::listenerModifiesParameters ( ) const
pure virtual
Returns
'true' If this listener modifies the parameter set.

Implemented in bpp::BackupListener.

◆ optimizationInitializationPerformed()

virtual void bpp::OptimizationListener::optimizationInitializationPerformed ( const OptimizationEvent event)
pure virtual

Implemented in bpp::BackupListener.

◆ optimizationStepPerformed()

virtual void bpp::OptimizationListener::optimizationStepPerformed ( const OptimizationEvent event)
pure virtual

Implemented in bpp::BackupListener.


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