27#ifndef G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H
28#define G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H
47 virtual bool init(
bool online =
false);
49 virtual bool computeMarginals(
51 const std::vector<std::pair<int, int> >& blockIndices);
53 virtual bool buildLinearStructure();
55 virtual void updateLinearSystem();
57 virtual bool updateStructure(
const std::vector<HyperGraph::Vertex*>& vset,
66 virtual void setWriteDebug(
bool writeDebug);
67 virtual bool writeDebug()
const {
return _writeDebug->value(); }
std::set< Edge * > EdgeSet
Base for solvers operating on the approximated Hessian, e.g., Gauss-Newton, Levenberg.
Solver & solver()
return the underlying solver used to solve the linear system
Property< bool > * _writeDebug
virtual bool writeDebug() const
Generic interface for a non-linear solver operating on a graph.
Generic interface for a sparse solver operating on a graph which solves one iteration of the lineariz...
Sparse matrix which uses blocks.