bpp-phyl3  3.0.0
bpp::PseudoNewtonOptimizer::PNStopCondition Class Reference

#include <Bpp/Phyl/PseudoNewtonOptimizer.h>

+ Inheritance diagram for bpp::PseudoNewtonOptimizer::PNStopCondition:
+ Collaboration diagram for bpp::PseudoNewtonOptimizer::PNStopCondition:

Public Member Functions

 PNStopCondition (PseudoNewtonOptimizer *pno)
 
virtual ~PNStopCondition ()
 
PNStopConditionclone () const
 
bool isToleranceReached () const
 
double getCurrentTolerance () const
 
const OptimizerInterfacegetOptimizer () const
 
void setOptimizer (const OptimizerInterface *optimizer)
 
void setTolerance (double tolerance)
 
double getTolerance () const
 
void init ()
 
virtual void resetCounter ()
 
virtual void setBurnin (int burnin)
 
virtual int getBurnin () const
 

Protected Attributes

const OptimizerInterfaceoptimizer_
 
double tolerance_
 
double callCount_
 
int burnin_
 

Detailed Description

Definition at line 27 of file PseudoNewtonOptimizer.h.

Constructor & Destructor Documentation

◆ PNStopCondition()

bpp::PseudoNewtonOptimizer::PNStopCondition::PNStopCondition ( PseudoNewtonOptimizer pno)
inline

Definition at line 31 of file PseudoNewtonOptimizer.h.

Referenced by clone().

◆ ~PNStopCondition()

virtual bpp::PseudoNewtonOptimizer::PNStopCondition::~PNStopCondition ( )
inlinevirtual

Definition at line 33 of file PseudoNewtonOptimizer.h.

Member Function Documentation

◆ clone()

PNStopCondition* bpp::PseudoNewtonOptimizer::PNStopCondition::clone ( ) const
inlinevirtual

Implements bpp::AbstractOptimizationStopCondition.

Definition at line 35 of file PseudoNewtonOptimizer.h.

References PNStopCondition().

◆ getCurrentTolerance()

double PseudoNewtonOptimizer::PNStopCondition::getCurrentTolerance ( ) const
virtual

◆ isToleranceReached()

bool PseudoNewtonOptimizer::PNStopCondition::isToleranceReached ( ) const
virtual

Implements bpp::AbstractOptimizationStopCondition.

Definition at line 31 of file PseudoNewtonOptimizer.cpp.


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