|
OpenMS
2.5.0
|
Go to the documentation of this file.
39 #include <unsupported/Eigen/NonLinearOptimization>
64 int inputs()
const {
return m_inputs; }
65 int values()
const {
return m_values; }
68 : m_inputs(dimensions), m_values(num_data_points) {}
72 virtual int operator()(
const Eigen::VectorXd &x, Eigen::VectorXd &fvec) = 0;
75 virtual int df(
const Eigen::VectorXd &x, Eigen::MatrixXd &J) = 0;
85 this->defaults_.setValue(
"max_iteration", 500,
"Maximum number of iterations using by Levenberg-Marquardt algorithm.", ListUtils::create<String>(
"advanced"));
91 max_iteration_(source.max_iteration_)
103 if (&source ==
this)
return *
this;
125 void updateMembers_()
override;
bool symmetric_
Parameter indicates symmetric peaks.
Definition: LevMarqFitter1D.h:114
int values() const
Definition: LevMarqFitter1D.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Definition: LevMarqFitter1D.h:61
Abstract class for 1D-model fitter using Levenberg-Marquardt algorithm for parameter optimization.
Definition: LevMarqFitter1D.h:51
std::vector< double > ContainerType
Definition: LevMarqFitter1D.h:57
virtual LevMarqFitter1D & operator=(const LevMarqFitter1D &source)
assignment operator
Definition: LevMarqFitter1D.h:101
LevMarqFitter1D(const LevMarqFitter1D &source)
copy constructor
Definition: LevMarqFitter1D.h:89
Int max_iteration_
Maximum number of iterations.
Definition: LevMarqFitter1D.h:116
Abstract base class for all 1D-dimensional model fitter.
Definition: Fitter1D.h:58
GenericFunctor(int dimensions, int num_data_points)
Definition: LevMarqFitter1D.h:67
virtual ~GenericFunctor()
Definition: LevMarqFitter1D.h:70
const int m_values
Definition: LevMarqFitter1D.h:78
int inputs() const
Definition: LevMarqFitter1D.h:64
virtual Fitter1D & operator=(const Fitter1D &source)
assignment operator
~LevMarqFitter1D() override
destructor
Definition: LevMarqFitter1D.h:96
LevMarqFitter1D()
Default constructor.
Definition: LevMarqFitter1D.h:82