Go to the source code of this file.
|
static OptimizationAlgorithm * | g2o::createSolver (const std::string &fullSolverName) |
|
| g2o::G2O_REGISTER_OPTIMIZATION_LIBRARY (eigen) |
|
| g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (gn_var_eigen, new EigenSolverCreator(OptimizationAlgorithmProperty("gn_var_eigen","Gauss-Newton: Cholesky solver using Eigen's Sparse Cholesky methods (variable blocksize)","Eigen", false, Eigen::Dynamic, Eigen::Dynamic))) |
|
| g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (lm_var_eigen, new EigenSolverCreator(OptimizationAlgorithmProperty("lm_var_eigen","Levenberg: Cholesky solver using Eigen's Sparse Cholesky methods (variable blocksize)","Eigen", false, Eigen::Dynamic, Eigen::Dynamic))) |
|
| g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM (dl_var_eigen, new EigenSolverCreator(OptimizationAlgorithmProperty("dl_var_eigen","Dogleg: Cholesky solver using Eigen's Sparse Cholesky methods (variable blocksize)","Eigen", false, Eigen::Dynamic, Eigen::Dynamic))) |
|
#define ALLOC_EIGEN_SPARSE_CHOLESKY |
( |
|
s, |
|
|
|
p, |
|
|
|
l, |
|
|
|
blockorder |
|
) |
| |
Value:if (1) { \
std::cerr << "# Using EigenSparseCholesky poseDim " << p << " landMarkDim " << l << " blockordering " << blockorder << std::endl; \
LinearSolverEigen< DIM_TO_SOLVER(p, l)::PoseMatrixType >* linearSolver = new LinearSolverEigen<DIM_TO_SOLVER(p, l)::PoseMatrixType>(); \
linearSolver->setBlockOrdering(blockorder); \
} else (void)0
#define DIM_TO_SOLVER(p, l)
Definition at line 32 of file solver_eigen.cpp.
Referenced by g2o::createSolver().
#define DIM_TO_SOLVER |
( |
|
p, |
|
|
|
l |
|
) |
| BlockSolver< BlockSolverTraits<p, l> > |