Main MRPT website > C++ reference
MRPT logo
srba_options_solver.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2015, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
13 
14 namespace mrpt { namespace srba {
15 namespace options
16 {
17 
18  /** \defgroup mrpt_srba_options_solver Types for RBA_OPTIONS::solver_t
19  * \ingroup mrpt_srba_options */
20 
21  /** Usage: A possible type for RBA_OPTIONS::solver_t.
22  * Meaning: Levenberg-Marquardt solver, Schur complement to reduce landmarks, dense Cholesky solver for Ax=b.
23  * \ingroup mrpt_srba_options_solver */
25  {
26  static const bool USE_SCHUR = true;
27  static const bool DENSE_CHOLESKY = true;
28  /** Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results */
30  {
31  bool hessian_valid; //!< Will be false if the Hessian wasn't evaluated for some reason.
32  /** The last value of the (dense) Hessian (inverse of covariances) of all kf-to-kf relative pose unknowns (note that this is after Schur reduction) */
33  Eigen::MatrixXd hessian;
34 
36  void clear() { hessian_valid=false; }
37  };
38  };
39 
40  /** Usage: A possible type for RBA_OPTIONS::solver_t.
41  * Meaning: Levenberg-Marquardt solver, Schur complement to reduce landmarks, sparse Cholesky solver for Ax=b.
42  * \ingroup mrpt_srba_options_solver */
44  {
45  static const bool USE_SCHUR = true;
46  static const bool DENSE_CHOLESKY = false;
47  /** Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results */
49  {
50  bool hessian_valid; //!< Will be false if the Hessian wasn't evaluated for some reason.
51  /** The column-compressed form of the last Hessian matrix (the inverse of covariance), for all the kf-to-kf unknowns (note that this is after Schur reduction) */
53 
55  void clear() { hessian_valid=false; }
56  };
57  };
58 
59  /** Usage: A possible type for RBA_OPTIONS::solver_t.
60  * Meaning: Levenberg-Marquardt solver, without Schur complement, sparse Cholesky solver for Ax=b.
61  * \ingroup mrpt_srba_options_solver */
63  {
64  static const bool USE_SCHUR = false;
65  static const bool DENSE_CHOLESKY = false;
66  /** Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results */
68  {
69  bool hessian_valid; //!< Will be false if the Hessian wasn't evaluated for some reason.
70  /** The column-compressed form of the last Hessian matrix (the inverse of covariance), for all the problem unknowns */
72 
74  void clear() { hessian_valid=false; }
75  };
76  };
77 
78 } } } // End of namespaces
Usage: A possible type for RBA_OPTIONS::solver_t.
Usage: A possible type for RBA_OPTIONS::solver_t.
Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results.
Usage: A possible type for RBA_OPTIONS::solver_t.
bool hessian_valid
Will be false if the Hessian wasn't evaluated for some reason.
bool hessian_valid
Will be false if the Hessian wasn't evaluated for some reason.
A sparse matrix structure, wrapping T.
Definition: CSparseMatrix.h:92
Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results.
bool hessian_valid
Will be false if the Hessian wasn't evaluated for some reason.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Extra output information to be found in RbaEngine<>::TOptimizeExtraOutputInfo::extra_results.
mrpt::math::CSparseMatrix hessian
The column-compressed form of the last Hessian matrix (the inverse of covariance), for all the problem unknowns.
Eigen::MatrixXd hessian
The last value of the (dense) Hessian (inverse of covariances) of all kf-to-kf relative pose unknowns...
mrpt::math::CSparseMatrix hessian
The column-compressed form of the last Hessian matrix (the inverse of covariance), for all the kf-to-kf unknowns (note that this is after Schur reduction)



Page generated by Doxygen 1.8.9.1 for MRPT 1.3.0 SVN: at Sun Sep 13 03:55:12 UTC 2015