Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::GaussNewtonSolverBaseOptions Struct Reference

Base options shared by all dense Gauss-Newton solver variants. More...

#include <gauss_newton_solver.h>

Inheritance diagram for momentum::GaussNewtonSolverBaseOptions:

Public Member Functions

 GaussNewtonSolverBaseOptions ()=default
 Default constructor.
 GaussNewtonSolverBaseOptions (const SolverOptions &baseOptions)
 Construct from base solver options while preserving Gauss-Newton defaults.
Public Member Functions inherited from momentum::SolverOptions
virtual ~SolverOptions ()=default
 Virtual destructor for polymorphic behavior.

Public Attributes

float regularization = 0.05f
 Damping parameter added to Hessian diagonal for numerical stability; see https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm.
bool doLineSearch = false
 Enables backtracking line search to ensure error reduction at each step.
Public Attributes inherited from momentum::SolverOptions
size_t minIterations = 1
 Minimum number of iterations before checking convergence criteria.
size_t maxIterations = 2
 Maximum number of iterations before terminating.
float threshold = 1.0f
 Convergence threshold for relative error change.
bool verbose = false
 Enable detailed logging during optimization.

Detailed Description

Base options shared by all dense Gauss-Newton solver variants.

Definition at line 17 of file gauss_newton_solver.h.

Constructor & Destructor Documentation

◆ GaussNewtonSolverBaseOptions() [1/2]

◆ GaussNewtonSolverBaseOptions() [2/2]

momentum::GaussNewtonSolverBaseOptions::GaussNewtonSolverBaseOptions ( const SolverOptions & baseOptions)
inline

Construct from base solver options while preserving Gauss-Newton defaults.

Definition at line 31 of file gauss_newton_solver.h.

Member Data Documentation

◆ doLineSearch

bool momentum::GaussNewtonSolverBaseOptions::doLineSearch = false

◆ regularization

float momentum::GaussNewtonSolverBaseOptions::regularization = 0.05f

The documentation for this struct was generated from the following file: