BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
TestMinimizer Class Reference

A trivial minimizer that calls the objective function once. Used to test the whole chain. More...

+ Inheritance diagram for TestMinimizer:

Public Member Functions

std::string minimizerName () const final
 return name of the minimizer
 
std::string algorithmName () const final
 return name of the minimization algorithm
 
Fit::MinimizerResult minimize_scalar (fcn_scalar_t fcn, Fit::Parameters parameters) override
 run minimization
 
- Public Member Functions inherited from IMinimizer
 IMinimizer (const IMinimizer &other)=delete
 
IMinimizeroperator= (const IMinimizer &other)=delete
 
virtual Fit::MinimizerResult minimize_residual (fcn_residual_t, Fit::Parameters)
 
virtual void clear ()
 clear resources (parameters) for consecutives minimizations
 
virtual double minValue () const
 Returns minimum function value.
 
virtual void setOptions (const std::string &options)
 Sets option string to the minimizer.
 
virtual bool requiresResiduals ()
 Returns true if minimizer computations are residual-based, false otherwise.
 

Detailed Description

A trivial minimizer that calls the objective function once. Used to test the whole chain.

Definition at line 22 of file TestMinimizer.h.


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