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

Sequence Cholesky solver specific options. More...

#include <sequence_cholesky_solver.h>

Inheritance diagram for momentum::SequenceCholeskySolverOptions:

Public Member Functions

 SequenceCholeskySolverOptions ()=default
 SequenceCholeskySolverOptions (const SolverOptions &baseOptions)
Public Member Functions inherited from momentum::SequenceSolverOptionsBase
 SequenceSolverOptionsBase ()=default
 SequenceSolverOptionsBase (const SolverOptions &baseOptions)
Public Member Functions inherited from momentum::SolverOptions
virtual ~SolverOptions ()=default
 Virtual destructor for polymorphic behavior.

Public Attributes

size_t chunkSize = 20
 Number of frames processed by one independent accumulation chunk.
size_t targetRowsPerJtJChunk = 1024
 Target number of Jacobian rows per local J^T J multiplication.
bool useBlockLdlt = true
 Use the block LDLT factorization path when the band layout is block-compatible.
bool useDoublePrecisionNormalEquations = true
 Accumulate compact normal equations in double precision.
Public Attributes inherited from momentum::SequenceSolverOptionsBase
float regularization = 0.05f
 Regularization parameter used by the linearized sequence solve.
bool doLineSearch = false
 Flag to enable line search during optimization.
bool multithreaded = false
 Flag to enable multithreaded sequence processing.
bool progressBar = false
 Flag to enable a progress bar during optimization.
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

Sequence Cholesky solver specific options.

Definition at line 16 of file sequence_cholesky_solver.h.

Constructor & Destructor Documentation

◆ SequenceCholeskySolverOptions() [1/2]

momentum::SequenceCholeskySolverOptions::SequenceCholeskySolverOptions ( )
default

◆ SequenceCholeskySolverOptions() [2/2]

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

Member Data Documentation

◆ chunkSize

size_t momentum::SequenceCholeskySolverOptions::chunkSize = 20

Number of frames processed by one independent accumulation chunk.

Definition at line 18 of file sequence_cholesky_solver.h.

Referenced by momentum::SequenceCholeskySolverT< T >::SequenceCholeskySolverT().

◆ targetRowsPerJtJChunk

size_t momentum::SequenceCholeskySolverOptions::targetRowsPerJtJChunk = 1024

Target number of Jacobian rows per local J^T J multiplication.

Definition at line 21 of file sequence_cholesky_solver.h.

Referenced by momentum::SequenceCholeskySolverT< T >::SequenceCholeskySolverT().

◆ useBlockLdlt

bool momentum::SequenceCholeskySolverOptions::useBlockLdlt = true

Use the block LDLT factorization path when the band layout is block-compatible.

Definition at line 24 of file sequence_cholesky_solver.h.

Referenced by momentum::SequenceCholeskySolverT< T >::SequenceCholeskySolverT().

◆ useDoublePrecisionNormalEquations

bool momentum::SequenceCholeskySolverOptions::useDoublePrecisionNormalEquations = true

Accumulate compact normal equations in double precision.

This is useful for float error functions where the Jacobian/residual evaluation should remain single precision, but forming J^T J and J^T r in float loses too much precision before the LDLT solve.

Definition at line 31 of file sequence_cholesky_solver.h.


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