Main MRPT website > C++ reference
MRPT logo
List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE > Struct Template Reference

Detailed Description

template<class RBA_ENGINE>
struct mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >

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::CTimeLoggerm_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::CSparseMatrixsS
 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
 

Member Typedef Documentation

template<class RBA_ENGINE >
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.

Constructor & Destructor Documentation

template<class RBA_ENGINE >
mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::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_ 
)
inline

Constructor.

Definition at line 50 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::~solver_engine ( )
inline

Definition at line 71 of file lev-marq_solvers.h.

Member Function Documentation

template<class RBA_ENGINE >
void mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::get_extra_results ( typename RBA_ENGINE::rba_options_type::solver_t::extra_results_t &  out_info)
inline
template<class RBA_ENGINE >
void mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::realize_lambda_changed ( )
inline

Definition at line 193 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
void mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::realize_relinearized ( )
inline

Definition at line 189 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
bool mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::solve ( const double  lambda)
inline
template<class RBA_ENGINE >
bool mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::was_ith_feature_invertible ( const size_t  i)
inline

Definition at line 197 of file lev-marq_solvers.h.

References MRPT_UNUSED_PARAM.

Member Data Documentation

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::LM_DIMS = RBA_ENGINE::lm_type::LM_DIMS
static

Definition at line 33 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
mrpt::utils::CTimeLogger& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::m_profiler

Definition at line 36 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
const int mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::m_verbose_level

Definition at line 35 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
Eigen::VectorXd& mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::minus_grad

Definition at line 41 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_k2f

Definition at line 42 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_k2k

Definition at line 42 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::nUnknowns_scalars

Definition at line 42 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
const size_t mrpt::srba::internal::solver_engine< false, false, RBA_ENGINE >::POSE_DIMS = RBA_ENGINE::kf2kf_pose_type::REL_POSE_DIMS
static

Definition at line 32 of file lev-marq_solvers.h.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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.

template<class RBA_ENGINE >
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