37 [[nodiscard]] std::string_view
getName()
const override;
60 static
double processPerFrameErrors_parallel(
64 static
double processPerFrameErrors_serial(
69 static
double processSequenceErrors_serial(
74 struct JacobianResidual {
75 size_t frameIndex = SIZE_MAX;
76 Eigen::MatrixX<T> jacobian;
77 Eigen::VectorX<T> residual;
79 size_t nFunctions = 0;
80 Eigen::Index usedRows = 0;
82 bool operator<(
const JacobianResidual& rhs)
const {
83 return frameIndex < rhs.frameIndex;
86 bool operator>(
const JacobianResidual& rhs)
const {
87 return frameIndex > rhs.frameIndex;
93 static double processErrorFunctions_parallel(
94 const std::function<JacobianResidual(
105 static JacobianResidual computePerFrameJacobian(
113 static JacobianResidual computeSequenceJacobian(
Online Householder QR solver for band-plus-arrowhead matrices.
A terminal progress bar rendered as Name [===> ] 60%.
SequenceSolverBaseT(const SolverOptions &options, SequenceSolverFunctionT< T > *function)
Eigen::VectorX< T > getP()
void initializeSolver() final
Initializes solver state before optimization begins.
SequenceSolverT(const SolverOptions &options, SequenceSolverFunctionT< T > *function)
std::string_view getName() const override
Returns the name of the solver implementation.
void doIteration() final
Performs a single iteration of the optimization algorithm.
void setOptions(const SolverOptions &options) final
Updates solver configuration with new options.
Eigen::VectorX< float > parameters_
Represents the complete state of a model's mesh.
SequenceSolverOptionsBase()=default
SequenceSolverOptions()=default
SequenceSolverOptions(const SolverOptions &baseOptions)
Represents the complete state of a skeleton.
Common options for numerical optimization solvers.