bpp-core3  3.0.0
bpp::SimpleNewtonMultiDimensions Class Reference

This Optimizer is a simple multi-dimensions optimizer, calling the Newton one dimensional optimizer on each parameter. More...

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

+ Inheritance diagram for bpp::SimpleNewtonMultiDimensions:
+ Collaboration diagram for bpp::SimpleNewtonMultiDimensions:

Public Member Functions

 SimpleNewtonMultiDimensions (DerivableSecondOrder *function)
 
virtual ~SimpleNewtonMultiDimensions ()
 
SimpleNewtonMultiDimensionsclone () const
 Create a copy of this object and send a pointer to it. More...
 
void doInit (const ParameterList &params)
 This function is called by the init() method and contains all calculations. More...
 
double doStep ()
 This function is called by the step() method and contains all calculations. More...
 
OptimizergetOneDimensionOptimizer ()
 
const OptimizergetOneDimensionOptimizer () const
 
void updateParameters (bool yn)
 Tell if we shall update all parameters after one optimization step. More...
 
bool updateParameters () const
 Tell if we shall update all parameters after one optimization step. More...
 
void setOptimizationProgressCharacter (const std::string &c)
 Set the character to be displayed during optimization. More...
 
const std::string & getOptimizationProgressCharacter () const
 
The Optimizer interface.
void setFunction (Function *function)
 Set the function to optimize. More...
 
The Optimizer interface.
void init (const ParameterList &params)
 Basic implementation. More...
 
double step ()
 Basic implementation. More...
 
double optimize ()
 Basic implementation. More...
 
bool isInitialized () const
 
const ParameterListgetParameters () const
 
double getParameterValue (const std::string &name) const
 
const FunctiongetFunction () const
 Get the current function being optimized. More...
 
FunctiongetFunction ()
 Get the current function being optimized. More...
 
bool hasFunction () const
 Tell if a funciton is associatied to this optimizer. More...
 
double getFunctionValue () const
 Get the current function value. More...
 
void setMessageHandler (OutputStream *mh)
 Set the message handler for this optimizer. More...
 
OutputStreamgetMessageHandler () const
 
void setProfiler (OutputStream *profiler)
 Set the profiler for this optimizer. More...
 
OutputStreamgetProfiler () const
 
unsigned int getNumberOfEvaluations () const
 Get the number of function evaluations performed since the call of the init function. More...
 
void setStopCondition (const OptimizationStopCondition &stopCondition)
 Set the stop condition of the optimization algorithm. More...
 
OptimizationStopConditiongetStopCondition ()
 Get the stop condition of the optimization algorithm. More...
 
const OptimizationStopConditiongetStopCondition () const
 Get the stop condition of the optimization algorithm. More...
 
OptimizationStopConditiongetDefaultStopCondition ()
 Get the default stop condition of the optimization algorithm. More...
 
const OptimizationStopConditiongetDefaultStopCondition () const
 Get the default stop condition of the optimization algorithm. More...
 
bool isToleranceReached () const
 Tell if the tolerance level is reached. More...
 
bool isMaximumNumberOfEvaluationsReached () const
 Tell if the maximum number of function evaluations is reached. More...
 
void setMaximumNumberOfEvaluations (unsigned int max)
 Set the maximum number of function evaluation to perform during optimization. More...
 
void setVerbose (unsigned int v)
 Set the verbose level. More...
 
unsigned int getVerbose () const
 Get the verbose level. More...
 
void setConstraintPolicy (const std::string &constraintPolicy)
 Set the constraint policy for this optimizer. More...
 
std::string getConstraintPolicy () const
 Get the constraint policy for this optimizer. More...
 
void addOptimizationListener (OptimizationListener *listener)
 Register a listener to this class. More...
 

Protected Member Functions

ParameterListgetParameters_ ()
 
ParametergetParameter_ (size_t i)
 
FunctiongetFunction_ ()
 
void setDefaultStopCondition_ (OptimizationStopCondition *osc)
 
Inner utilitary functions
void autoParameter ()
 Build a list of AutoParameter instead of Parameter. More...
 
void ignoreConstraints ()
 Remove the constraints of all the arguments. More...
 
void profile (double v)
 Print to the profile if there is one. More...
 
void profile (unsigned int v)
 Print to the profile if there is one. More...
 
void profile (const std::string &s)
 Print to the profile if there is one. More...
 
void profileln (double v)
 Print to the profile if there is one and end line. More...
 
void profileln (unsigned int v)
 Print to the profile if there is one and end line. More...
 
void profileln (const std::string &s)
 Print to the profile if there is one and end line. More...
 
void printPoint (const ParameterList &params, double value)
 Print parameters and corresponding function evaluation to profiler. More...
 
void printMessage (const std::string &message)
 Give a message to print to the message handler. More...
 
void fireOptimizationInitializationPerformed (const OptimizationEvent &event)
 Notify all listeners that optimizer initialization was performed. More...
 
void fireOptimizationStepPerformed (const OptimizationEvent &event)
 Notify all listeners that an optimization step was performed. More...
 
bool listenerModifiesParameters () const
 

Protected Attributes

unsigned int nbEvalMax_
 The maximum number of function evaluations allowed. More...
 
unsigned int nbEval_
 The current number of function evaluations achieved. More...
 
double currentValue_
 The current value of the function. More...
 
bool tolIsReached_
 Tell if the tolerance level has been reached. More...
 

Private Attributes

size_t nbParams_
 
NewtonOneDimension optimizer_
 
Functionfunction_
 The function to optimize. More...
 
ParameterList parameters_
 The parameters that will be optimized. More...
 
OutputStreammessageHandler_
 The message handler. More...
 
OutputStreamprofiler_
 The profiler. More...
 
std::string constraintPolicy_
 The constraint policy. More...
 
OptimizationStopConditionstopCondition_
 The stoping condition to use while optimizing. More...
 
OptimizationStopConditiondefaultStopCondition_
 The default stoping condition to use while optimizing. More...
 
unsigned int verbose_
 State of the verbose mode: > 0 = enabled. More...
 
bool isInitialized_
 Check if the optimizer have been feeded with initial parameters values. More...
 
time_t startTime_
 
std::vector< OptimizationListener * > listeners_
 
bool updateParameters_
 
std::string stepChar_
 

Detailed Description

This Optimizer is a simple multi-dimensions optimizer, calling the Newton one dimensional optimizer on each parameter.

The one-dimensional optimizer used is NewtonOneDimension.

Definition at line 56 of file SimpleNewtonMultiDimensions.h.

Constructor & Destructor Documentation

◆ SimpleNewtonMultiDimensions()

◆ ~SimpleNewtonMultiDimensions()

virtual bpp::SimpleNewtonMultiDimensions::~SimpleNewtonMultiDimensions ( )
inlinevirtual

Definition at line 67 of file SimpleNewtonMultiDimensions.h.

Member Function Documentation

◆ addOptimizationListener()

void bpp::AbstractOptimizer::addOptimizationListener ( OptimizationListener listener)
inlinevirtualinherited

Register a listener to this class.

All registered listeners will be informed when an optimization event occur. See the documentation of the class to know what kind of events are supported.

Parameters
listenerA listener to be registered with.

Implements bpp::Optimizer.

Definition at line 225 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::listeners_.

◆ autoParameter()

◆ clone()

SimpleNewtonMultiDimensions* bpp::SimpleNewtonMultiDimensions::clone ( ) const
inlinevirtual

Create a copy of this object and send a pointer to it.

Returns
A pointer toward the copy object.

Implements bpp::Optimizer.

Definition at line 69 of file SimpleNewtonMultiDimensions.h.

References SimpleNewtonMultiDimensions().

◆ doInit()

◆ doStep()

◆ fireOptimizationInitializationPerformed()

void AbstractOptimizer::fireOptimizationInitializationPerformed ( const OptimizationEvent event)
protectedinherited

Notify all listeners that optimizer initialization was performed.

This method should be called by the init method.

Parameters
eventAn OptimizationEvent object.

Definition at line 328 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::listeners_.

Referenced by bpp::AbstractOptimizer::init().

◆ fireOptimizationStepPerformed()

void AbstractOptimizer::fireOptimizationStepPerformed ( const OptimizationEvent event)
protectedinherited

Notify all listeners that an optimization step was performed.

This method should be called by the step method.

Parameters
eventAn OptimizationEvent object.

Definition at line 338 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::listeners_.

Referenced by bpp::AbstractOptimizer::step().

◆ getConstraintPolicy()

std::string bpp::AbstractOptimizer::getConstraintPolicy ( ) const
inlinevirtualinherited

Get the constraint policy for this optimizer.

Returns
The constraint policy.

Implements bpp::Optimizer.

Definition at line 224 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::constraintPolicy_.

Referenced by bpp::MetaOptimizer::doInit(), bpp::SimpleMultiDimensions::doInit(), and doInit().

◆ getDefaultStopCondition() [1/2]

◆ getDefaultStopCondition() [2/2]

const OptimizationStopCondition* bpp::AbstractOptimizer::getDefaultStopCondition ( ) const
inlinevirtualinherited

Get the default stop condition of the optimization algorithm.

Returns
The default stop condition used while optimizing.

Implements bpp::Optimizer.

Definition at line 217 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::defaultStopCondition_.

◆ getFunction() [1/2]

Function* bpp::AbstractOptimizer::getFunction ( )
inlinevirtualinherited

Get the current function being optimized.

Returns
A const pointer toward the function being optimized.

Implements bpp::Optimizer.

Reimplemented in bpp::NewtonOneDimension, bpp::ConjugateGradientMultiDimensions, and bpp::BfgsMultiDimensions.

Definition at line 196 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::function_.

◆ getFunction() [2/2]

◆ getFunction_()

◆ getFunctionValue()

double bpp::AbstractOptimizer::getFunctionValue ( ) const
inlinevirtualinherited

Get the current function value.

Returns
The value of the function at the point specified by _parameters.
Exceptions
NullPointerExceptionIf no function is associated with this optimizer.

Implements bpp::Optimizer.

Reimplemented in bpp::GoldenSectionSearch.

Definition at line 198 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::currentValue_, and bpp::AbstractOptimizer::function_.

◆ getMessageHandler()

OutputStream* bpp::AbstractOptimizer::getMessageHandler ( ) const
inlinevirtualinherited
Returns
The stream used for handling messages, if any.

Implements bpp::Optimizer.

Definition at line 205 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::messageHandler_.

Referenced by bpp::MetaOptimizer::doInit(), bpp::SimpleMultiDimensions::doInit(), doInit(), and bpp::PowellMultiDimensions::doStep().

◆ getNumberOfEvaluations()

unsigned int bpp::AbstractOptimizer::getNumberOfEvaluations ( ) const
inlinevirtualinherited

Get the number of function evaluations performed since the call of the init function.

Returns
The number of function evaluations.

Implements bpp::Optimizer.

Definition at line 209 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::nbEval_.

Referenced by bpp::SimpleMultiDimensions::doStep(), doStep(), bpp::OneDimensionOptimizationTools::lineMinimization(), and bpp::OneDimensionOptimizationTools::lineSearch().

◆ getOneDimensionOptimizer() [1/2]

Optimizer& bpp::SimpleNewtonMultiDimensions::getOneDimensionOptimizer ( )
inline
Returns
The optimizer used to optimize each parameter.

Definition at line 87 of file SimpleNewtonMultiDimensions.h.

References optimizer_.

◆ getOneDimensionOptimizer() [2/2]

const Optimizer& bpp::SimpleNewtonMultiDimensions::getOneDimensionOptimizer ( ) const
inline
Returns
The optimizer used to optimize each parameter.

Definition at line 91 of file SimpleNewtonMultiDimensions.h.

References optimizer_.

◆ getOptimizationProgressCharacter()

const std::string& bpp::AbstractOptimizer::getOptimizationProgressCharacter ( ) const
inlineinherited
Returns
The character to be displayed during optimization.

Definition at line 263 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::stepChar_.

◆ getParameter_()

◆ getParameters()

◆ getParameters_()

◆ getParameterValue()

double bpp::AbstractOptimizer::getParameterValue ( const std::string &  name) const
inlinevirtualinherited
Returns
The value associated with a given parameter name.

Implements bpp::Optimizer.

Definition at line 189 of file AbstractOptimizer.h.

References bpp::ParameterList::getParameterValue(), and bpp::AbstractOptimizer::parameters_.

◆ getProfiler()

OutputStream* bpp::AbstractOptimizer::getProfiler ( ) const
inlinevirtualinherited
Returns
The stream used for profiling, if any.

Implements bpp::Optimizer.

Definition at line 207 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::profiler_.

Referenced by bpp::MetaOptimizer::doInit(), bpp::SimpleMultiDimensions::doInit(), and doInit().

◆ getStopCondition() [1/2]

◆ getStopCondition() [2/2]

const OptimizationStopCondition* bpp::AbstractOptimizer::getStopCondition ( ) const
inlinevirtualinherited

Get the stop condition of the optimization algorithm.

Returns
The stop condition used while optimizing.

Implements bpp::Optimizer.

Definition at line 215 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::stopCondition_.

◆ getVerbose()

◆ hasFunction()

bool bpp::AbstractOptimizer::hasFunction ( ) const
inlinevirtualinherited

Tell if a funciton is associatied to this optimizer.

Returns
True if a function has been associated to this optimizer.

Implements bpp::Optimizer.

Definition at line 197 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::function_.

Referenced by bpp::GoldenSectionSearch::getFunctionValue().

◆ ignoreConstraints()

void AbstractOptimizer::ignoreConstraints ( )
protectedinherited

◆ init()

◆ isInitialized()

bool bpp::AbstractOptimizer::isInitialized ( ) const
inlinevirtualinherited
Returns
'true' if this optimizer has been initialized.

Implements bpp::Optimizer.

Definition at line 187 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::isInitialized_.

◆ isMaximumNumberOfEvaluationsReached()

bool bpp::AbstractOptimizer::isMaximumNumberOfEvaluationsReached ( ) const
inlinevirtualinherited

Tell if the maximum number of function evaluations is reached.

Returns
Whether the maximum number of function evaluations is reached or not.

Implements bpp::Optimizer.

Definition at line 219 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::nbEval_, and bpp::AbstractOptimizer::nbEvalMax_.

◆ isToleranceReached()

bool bpp::AbstractOptimizer::isToleranceReached ( ) const
inlinevirtualinherited

Tell if the tolerance level is reached.

Returns
Whether the tolerance is reached or not.
See also
OptimizationStopCondition

Implements bpp::Optimizer.

Definition at line 218 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::tolIsReached_.

◆ listenerModifiesParameters()

bool AbstractOptimizer::listenerModifiesParameters ( ) const
protectedinherited

Definition at line 348 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::listeners_.

Referenced by bpp::AbstractOptimizer::step().

◆ optimize()

◆ printMessage()

void AbstractOptimizer::printMessage ( const std::string &  message)
protectedinherited

Give a message to print to the message handler.

Parameters
messageThe message to print.

Definition at line 298 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::messageHandler_.

Referenced by bpp::BrentOneDimension::doInit(), bpp::GoldenSectionSearch::doInit(), bpp::BfgsMultiDimensions::doStep(), and bpp::NewtonOneDimension::doStep().

◆ printPoint()

void AbstractOptimizer::printPoint ( const ParameterList params,
double  value 
)
protectedinherited

Print parameters and corresponding function evaluation to profiler.

Parameters
paramsThe parameters to print.
valueThe function evaluation.

Definition at line 279 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::nbEval_, bpp::AbstractOptimizer::profile(), bpp::AbstractOptimizer::profileln(), bpp::ParameterList::size(), bpp::AbstractOptimizer::startTime_, and bpp::TextTools::toString().

Referenced by bpp::PowellMultiDimensions::doStep(), bpp::AbstractOptimizer::init(), and bpp::AbstractOptimizer::step().

◆ profile() [1/3]

void AbstractOptimizer::profile ( const std::string &  s)
protectedinherited

Print to the profile if there is one.

Parameters
sThe string to print to the profile.

Definition at line 263 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

◆ profile() [2/3]

void AbstractOptimizer::profile ( double  v)
protectedinherited

Print to the profile if there is one.

Parameters
vThe double value to print.

Definition at line 232 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

Referenced by bpp::AbstractOptimizer::init(), and bpp::AbstractOptimizer::printPoint().

◆ profile() [3/3]

void AbstractOptimizer::profile ( unsigned int  v)
protectedinherited

Print to the profile if there is one.

Parameters
vThe unsigned int value to print.

Definition at line 248 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

◆ profileln() [1/3]

void AbstractOptimizer::profileln ( const std::string &  s)
protectedinherited

Print to the profile if there is one and end line.

Parameters
sThe string to print to the profile.

Definition at line 271 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

◆ profileln() [2/3]

void AbstractOptimizer::profileln ( double  v)
protectedinherited

Print to the profile if there is one and end line.

Parameters
vThe double value to print.

Definition at line 240 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

Referenced by bpp::AbstractOptimizer::init(), and bpp::AbstractOptimizer::printPoint().

◆ profileln() [3/3]

void AbstractOptimizer::profileln ( unsigned int  v)
protectedinherited

Print to the profile if there is one and end line.

Parameters
vThe unsigned int value to print.

Definition at line 255 of file AbstractOptimizer.cpp.

References bpp::AbstractOptimizer::profiler_.

◆ setConstraintPolicy()

void bpp::AbstractOptimizer::setConstraintPolicy ( const std::string &  constraintPolicy)
inlinevirtualinherited

Set the constraint policy for this optimizer.

Parameters
constraintPolicyThe constraint policy.

Implements bpp::Optimizer.

Definition at line 223 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::constraintPolicy_.

Referenced by bpp::SimpleMultiDimensions::doInit(), doInit(), bpp::OneDimensionOptimizationTools::lineMinimization(), and bpp::OneDimensionOptimizationTools::lineSearch().

◆ setDefaultStopCondition_()

◆ setFunction()

void SimpleNewtonMultiDimensions::setFunction ( Function function)
virtual

Set the function to optimize.

Parameters
functionThe function to optimize.

Reimplemented from bpp::AbstractOptimizer.

Definition at line 62 of file SimpleNewtonMultiDimensions.cpp.

References optimizer_, and bpp::AbstractOptimizer::setFunction().

◆ setMaximumNumberOfEvaluations()

void bpp::AbstractOptimizer::setMaximumNumberOfEvaluations ( unsigned int  max)
inlinevirtualinherited

Set the maximum number of function evaluation to perform during optimization.

Parameters
maxThe maximum number of evaluations to perform.

Implements bpp::Optimizer.

Definition at line 220 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::nbEvalMax_.

Referenced by bpp::BrentOneDimension::BrentOneDimension(), bpp::SimpleMultiDimensions::doInit(), doInit(), and bpp::NewtonBacktrackOneDimension::NewtonBacktrackOneDimension().

◆ setMessageHandler()

void bpp::AbstractOptimizer::setMessageHandler ( OutputStream mh)
inlinevirtualinherited

Set the message handler for this optimizer.

The message handler keeps all messages that the optimizer may send. The default handler is set to standard output, but you can pass any ostream object (cerr, ofstream, etc.).

A NULL pointer disables message output.

Parameters
mhThe message handler to use.

Implements bpp::Optimizer.

Definition at line 204 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::messageHandler_.

Referenced by bpp::SimpleMultiDimensions::doInit(), doInit(), bpp::OneDimensionOptimizationTools::lineMinimization(), and bpp::OneDimensionOptimizationTools::lineSearch().

◆ setOptimizationProgressCharacter()

void bpp::AbstractOptimizer::setOptimizationProgressCharacter ( const std::string &  c)
inlineinherited

◆ setProfiler()

void bpp::AbstractOptimizer::setProfiler ( OutputStream profiler)
inlinevirtualinherited

Set the profiler for this optimizer.

The profiler keeps all the intermediate values taken by the parameters. The default profiler is set to standard output, but you can pass any ostream object (cerr, ofstream, etc.).

A NULL pointer disables message output.

Parameters
profilerThe profiler to use.

Implements bpp::Optimizer.

Definition at line 206 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::profiler_.

Referenced by bpp::SimpleMultiDimensions::doInit(), doInit(), bpp::OneDimensionOptimizationTools::lineMinimization(), and bpp::OneDimensionOptimizationTools::lineSearch().

◆ setStopCondition()

◆ setVerbose()

void bpp::AbstractOptimizer::setVerbose ( unsigned int  v)
inlinevirtualinherited

Set the verbose level.

0 = off 1 = on 2 = more verbose 3 = even more, etc.

In most cases, only the 0 and 1 levels are implemented.

Parameters
vverbose level.

Implements bpp::Optimizer.

Definition at line 221 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::verbose_.

Referenced by bpp::SimpleMultiDimensions::doInit(), doInit(), bpp::OneDimensionOptimizationTools::lineMinimization(), and bpp::OneDimensionOptimizationTools::lineSearch().

◆ step()

◆ updateParameters() [1/2]

bool bpp::AbstractOptimizer::updateParameters ( ) const
inlineinherited

Tell if we shall update all parameters after one optimization step.

This is required only for functions that have non-independent parameters, which means that setting one parameter value may modify one or several other parameters. Depending on the optimizer, this may have no effect.

Returns
yn true/false

Definition at line 252 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::updateParameters_.

Referenced by bpp::MetaOptimizer::doInit().

◆ updateParameters() [2/2]

void bpp::AbstractOptimizer::updateParameters ( bool  yn)
inlineinherited

Tell if we shall update all parameters after one optimization step.

This is required only for functions that have non-independent parameters, which means that setting one parameter value may modify one or several other parameters. Depending on the optimizer, this may have no effect.

Parameters
yntrue/false

Definition at line 241 of file AbstractOptimizer.h.

References bpp::AbstractOptimizer::updateParameters_.

Member Data Documentation

◆ constraintPolicy_

std::string bpp::AbstractOptimizer::constraintPolicy_
privateinherited

The constraint policy.

Must be one the following:

  • CONSTRAINTS_KEEP: keep the constraint associated to the parameters (default).
  • CONSTRAINTS_IGNORE: remove all constraints.
  • CONSTRAINTS_AUTO: use AutoParameters to deal with constraints.
See also
AutoParameter

Definition at line 94 of file AbstractOptimizer.h.

Referenced by bpp::AbstractOptimizer::AbstractOptimizer(), bpp::AbstractOptimizer::getConstraintPolicy(), bpp::AbstractOptimizer::init(), bpp::AbstractOptimizer::operator=(), and bpp::AbstractOptimizer::setConstraintPolicy().

◆ currentValue_

◆ defaultStopCondition_

OptimizationStopCondition* bpp::AbstractOptimizer::defaultStopCondition_
privateinherited

◆ function_

◆ isInitialized_

bool bpp::AbstractOptimizer::isInitialized_
privateinherited

◆ listeners_

◆ messageHandler_

◆ nbEval_

◆ nbEvalMax_

◆ nbParams_

size_t bpp::SimpleNewtonMultiDimensions::nbParams_
private

Definition at line 60 of file SimpleNewtonMultiDimensions.h.

Referenced by doInit(), and doStep().

◆ optimizer_

NewtonOneDimension bpp::SimpleNewtonMultiDimensions::optimizer_
private

◆ parameters_

◆ profiler_

◆ startTime_

time_t bpp::AbstractOptimizer::startTime_
privateinherited

◆ stepChar_

std::string bpp::AbstractOptimizer::stepChar_
privateinherited

◆ stopCondition_

◆ tolIsReached_

◆ updateParameters_

bool bpp::AbstractOptimizer::updateParameters_
privateinherited

◆ verbose_

unsigned int bpp::AbstractOptimizer::verbose_
privateinherited

State of the verbose mode: > 0 = enabled.

This may not be used by the Optimizer.

Definition at line 111 of file AbstractOptimizer.h.

Referenced by bpp::AbstractOptimizer::getVerbose(), bpp::AbstractOptimizer::operator=(), bpp::AbstractOptimizer::optimize(), and bpp::AbstractOptimizer::setVerbose().


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