SOLVER: Lev-Marq without Schur, with Sparse Cholesky (CSparse library)
Definition at line 28 of file lev-marq_solvers.h.
#include <mrpt/srba/impl/lev-marq_solvers.h>
Public Types | |
| typedef RBA_ENGINE::hessian_traits_t | hessian_traits_t |
Public Member Functions | |
| solver_engine (const int verbose_level, mrpt::utils::CTimeLogger &profiler, typename hessian_traits_t::TSparseBlocksHessian_Ap &HAp_, typename hessian_traits_t::TSparseBlocksHessian_f &Hf_, typename hessian_traits_t::TSparseBlocksHessian_Apf &HApf_, Eigen::VectorXd &minus_grad_, const size_t nUnknowns_k2k_, const size_t nUnknowns_k2f_) | |
| Constructor. More... | |
| ~solver_engine () | |
| bool | solve (const double lambda) |
| void | realize_relinearized () |
| void | realize_lambda_changed () |
| bool | was_ith_feature_invertible (const size_t i) |
| void | get_extra_results (typename RBA_ENGINE::rba_options_type::solver_t::extra_results_t &out_info) |
| Here, out_info is of type mrpt::srba::options::solver_LM_schur_sparse_cholesky::extra_results_t. More... | |
Public Attributes | |
| const int | m_verbose_level |
| mrpt::utils::CTimeLogger & | m_profiler |
| Eigen::VectorXd | delta_eps |
| The result of solving Ax=b will be stored here. More... | |
| hessian_traits_t::TSparseBlocksHessian_Ap & | HAp |
| hessian_traits_t::TSparseBlocksHessian_f & | Hf |
| hessian_traits_t::TSparseBlocksHessian_Apf & | HApf |
| Eigen::VectorXd & | minus_grad |
| const size_t | nUnknowns_k2k |
| const size_t | nUnknowns_k2f |
| const size_t | nUnknowns_scalars |
| const size_t | idx_start_f |
| mrpt::math::CSparseMatrix * | sS |
| Sparse Hessian. More... | |
| bool | sS_is_valid |
| Whether the Hessian was filled in, in sS. More... | |
| SparseCholeskyDecompPtr | ptrCh |
| Cholesky object, as a pointer to reuse it between iterations. More... | |
Static Public Attributes | |
| static const size_t | POSE_DIMS = RBA_ENGINE::kf2kf_pose_type::REL_POSE_DIMS |
| static const size_t | LM_DIMS = RBA_ENGINE::lm_type::LM_DIMS |
| typedef RBA_ENGINE::hessian_traits_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::hessian_traits_t |
Definition at line 30 of file lev-marq_solvers.h.
|
inline |
Constructor.
Definition at line 50 of file lev-marq_solvers.h.
|
inline |
Definition at line 71 of file lev-marq_solvers.h.
|
inline |
Here, out_info is of type mrpt::srba::options::solver_LM_schur_sparse_cholesky::extra_results_t.
Definition at line 204 of file lev-marq_solvers.h.
References mrpt::math::CSparseMatrix::swap().
|
inline |
Definition at line 193 of file lev-marq_solvers.h.
|
inline |
Definition at line 189 of file lev-marq_solvers.h.
|
inline |
Definition at line 80 of file lev-marq_solvers.h.
References mrpt::math::CSparseMatrix::clear(), mrpt::math::CSparseMatrix::compressFromTriplet(), DETAILED_PROFILING_ENTER, DETAILED_PROFILING_LEAVE, and mrpt::math::CSparseMatrix::insert_submatrix().
|
inline |
Definition at line 197 of file lev-marq_solvers.h.
References MRPT_UNUSED_PARAM.
| Eigen::VectorXd mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::delta_eps |
The result of solving Ax=b will be stored here.
Definition at line 37 of file lev-marq_solvers.h.
| hessian_traits_t::TSparseBlocksHessian_Ap& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::HAp |
Definition at line 38 of file lev-marq_solvers.h.
| hessian_traits_t::TSparseBlocksHessian_Apf& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::HApf |
Definition at line 40 of file lev-marq_solvers.h.
| hessian_traits_t::TSparseBlocksHessian_f& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::Hf |
Definition at line 39 of file lev-marq_solvers.h.
| const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::idx_start_f |
Definition at line 42 of file lev-marq_solvers.h.
|
static |
Definition at line 33 of file lev-marq_solvers.h.
| mrpt::utils::CTimeLogger& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::m_profiler |
Definition at line 36 of file lev-marq_solvers.h.
| const int mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::m_verbose_level |
Definition at line 35 of file lev-marq_solvers.h.
| Eigen::VectorXd& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::minus_grad |
Definition at line 41 of file lev-marq_solvers.h.
| const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_k2f |
Definition at line 42 of file lev-marq_solvers.h.
| const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_k2k |
Definition at line 42 of file lev-marq_solvers.h.
| const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_scalars |
Definition at line 42 of file lev-marq_solvers.h.
|
static |
Definition at line 32 of file lev-marq_solvers.h.
| SparseCholeskyDecompPtr mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::ptrCh |
Cholesky object, as a pointer to reuse it between iterations.
Definition at line 47 of file lev-marq_solvers.h.
| mrpt::math::CSparseMatrix* mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::sS |
Sparse Hessian.
Definition at line 44 of file lev-marq_solvers.h.
| bool mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::sS_is_valid |
Whether the Hessian was filled in, in sS.
Definition at line 45 of file lev-marq_solvers.h.
| Page generated by Doxygen 1.8.9.1 for MRPT 1.3.0 SVN: at Sun Sep 13 03:55:12 UTC 2015 |