|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Abstract base class for all kind minimizers. More...
Public Member Functions | |
| IMinimizer () | |
| IMinimizer (const IMinimizer &other)=delete | |
| virtual | ~IMinimizer () |
| virtual std::string | algorithmName () const =0 |
| return name of the minimization algorithm More... | |
| virtual void | clear () |
| clear resources (parameters) for consecutives minimizations More... | |
| virtual mumufit::MinimizerResult | minimize_residual (fcn_residual_t, mumufit::Parameters) |
| virtual mumufit::MinimizerResult | minimize_scalar (fcn_scalar_t, mumufit::Parameters) |
| run minimization More... | |
| virtual std::string | minimizerName () const =0 |
| return name of the minimizer More... | |
| virtual double | minValue () const |
| Returns minimum function value. More... | |
| IMinimizer & | operator= (const IMinimizer &other)=delete |
| virtual bool | requiresResiduals () |
| Returns true if minimizer computations are residual-based, false otherwise. More... | |
| virtual void | setOptions (const std::string &options) |
| Sets option string to the minimizer. More... | |
Abstract base class for all kind minimizers.
Definition at line 30 of file IMinimizer.h.
|
default |
|
virtualdefault |
|
delete |
|
pure virtual |
return name of the minimization algorithm
Implemented in TestMinimizer, and MinimizerAdapter.
|
inlinevirtual |
clear resources (parameters) for consecutives minimizations
Definition at line 49 of file IMinimizer.h.
|
virtual |
Reimplemented in MinimizerAdapter.
Definition at line 26 of file IMinimizer.cpp.
|
virtual |
run minimization
Reimplemented in TestMinimizer, and MinimizerAdapter.
Definition at line 21 of file IMinimizer.cpp.
|
pure virtual |
return name of the minimizer
Implemented in TestMinimizer, and MinimizerAdapter.
|
virtual |
Returns minimum function value.
Reimplemented in MinimizerAdapter.
Definition at line 31 of file IMinimizer.cpp.
|
delete |
|
inlinevirtual |
Returns true if minimizer computations are residual-based, false otherwise.
Reimplemented in Minuit2Minimizer, and GSLLevenbergMarquardtMinimizer.
Definition at line 59 of file IMinimizer.h.
|
virtual |
Sets option string to the minimizer.
Reimplemented in MinimizerAdapter.
Definition at line 36 of file IMinimizer.cpp.
Referenced by MinimizerFactory::createMinimizer().