SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
ModelFitting::LevmarEngine Class Reference

LeastSquareEngine implementation which uses the levmar library. More...

#include <LevmarEngine.h>

Inheritance diagram for ModelFitting::LevmarEngine:
[legend]
Collaboration diagram for ModelFitting::LevmarEngine:
[legend]

Public Member Functions

 LevmarEngine (size_t itmax=1000, double tau=1E-3, double epsilon1=1E-8, double epsilon2=1E-8, double epsilon3=1E-8, double delta=1E-4)
 Constructs a new instance of the engine. More...
 
virtual ~LevmarEngine ()
 Destructor. More...
 
LeastSquareSummary solveProblem (EngineParameterManager &parameter_manager, ResidualEstimator &residual_estimator) override
 
- Public Member Functions inherited from ModelFitting::LeastSquareEngine
virtual ~LeastSquareEngine ()=default
 Destructor. More...
 

Private Attributes

size_t m_itmax
 
std::vector< double > m_opts
 

Detailed Description

LeastSquareEngine implementation which uses the levmar library.

Definition at line 36 of file LevmarEngine.h.

Constructor & Destructor Documentation

◆ LevmarEngine()

ModelFitting::LevmarEngine::LevmarEngine ( size_t  itmax = 1000,
double  tau = 1E-3,
double  epsilon1 = 1E-8,
double  epsilon2 = 1E-8,
double  epsilon3 = 1E-8,
double  delta = 1E-4 
)

Constructs a new instance of the engine.

Parameters
itmaxmaximum number of iterations
tau\(\tau\): scale factor for initial \(\mu\)
epsilon1\(\epsilon1\): stopping threshold for \(||J^T\epsilon||_{inf}\)
epsilon2\(\epsilon1\): stopping threshold for \(||\Delta p||_2\)
epsilon3\(\epsilon1\): stopping threshold for \(||\epsilon||_2\)
deltastep used in difference approximation to the Jacobian

Definition at line 102 of file LevmarEngine.cpp.

References ModelFitting::logger, and Elements::Logging::warn().

Here is the call graph for this function:

◆ ~LevmarEngine()

ModelFitting::LevmarEngine::~LevmarEngine ( )
virtualdefault

Destructor.

Member Function Documentation

◆ solveProblem()

LeastSquareSummary ModelFitting::LevmarEngine::solveProblem ( EngineParameterManager parameter_manager,
ResidualEstimator residual_estimator 
)
overridevirtual

Member Data Documentation

◆ m_itmax

size_t ModelFitting::LevmarEngine::m_itmax
private

Definition at line 71 of file LevmarEngine.h.

Referenced by solveProblem().

◆ m_opts

std::vector<double> ModelFitting::LevmarEngine::m_opts
private

Definition at line 72 of file LevmarEngine.h.

Referenced by solveProblem().


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