#include "linear_solver_cholmod.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/solver.h"
#include "g2o/core/solver_factory.h"
Go to the source code of this file.
Classes | |
class | g2o::CholmodSolverCreator |
Namespaces | |
namespace | g2o |
Executes code, only if secs are gone since last exec. | |
Defines | |
#define | ALLOC_CHOLMOD(s, p, l, blockorder) |
#define | DIM_TO_SOLVER(p, l) BlockSolver< BlockSolverTraits<p, l> > |
Functions | |
void | g2o::__attribute__ ((constructor)) init_solver_cholmod() |
static Solver * | g2o::createSolver (SparseOptimizer *opt, const std::string &solverName) |
#define ALLOC_CHOLMOD | ( | s, | |
p, | |||
l, | |||
blockorder | |||
) |
if (1) { \ std::cerr << "# Using CHOLMOD poseDim " << p << " landMarkDim " << l << " blockordering " << blockorder << std::endl; \ LinearSolverCholmod < DIM_TO_SOLVER(p, l)::PoseMatrixType >* linearSolver = new LinearSolverCholmod<DIM_TO_SOLVER(p, l)::PoseMatrixType>(); \ linearSolver->setBlockOrdering(blockorder); \ s = new DIM_TO_SOLVER(p, l)(opt, linearSolver); \ } else (void)0
Definition at line 25 of file solver_cholmod.cpp.
#define DIM_TO_SOLVER | ( | p, | |
l | |||
) | BlockSolver< BlockSolverTraits<p, l> > |
Definition at line 23 of file solver_cholmod.cpp.