27 #ifndef G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H 28 #define G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H 46 virtual bool init(
bool online =
false);
50 virtual bool buildLinearStructure();
52 virtual void updateLinearSystem();
54 virtual bool updateStructure(
const std::vector<HyperGraph::Vertex*>& vset,
const HyperGraph::EdgeSet& edges);
62 virtual void setWriteDebug(
bool writeDebug);
63 virtual bool writeDebug()
const {
return _writeDebug->value();}
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
std::set< Edge * > EdgeSet
Generic interface for a sparse solver operating on a graph which solves one iteration of the lineariz...
Property< bool > * _writeDebug
Generic interface for a non-linear solver operating on a graph.
virtual bool writeDebug() const
Sparse matrix which uses blocks.