27#ifndef G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H
28#define G2O_OPTIMIZATION_ALGORITHM_WITH_HESSIAN_H
47 virtual bool init(
bool online =
false);
51 const std::vector<std::pair<int, int> >& blockIndices);
57 virtual bool updateStructure(
const std::vector<HyperGraph::Vertex*>& vset,
66 virtual void setWriteDebug(
bool writeDebug);
std::set< Edge * > EdgeSet
Solver & solver()
return the underlying solver used to solve the linear system
virtual void updateLinearSystem()
Property< bool > * _writeDebug
virtual bool updateStructure(const std::vector< HyperGraph::Vertex * > &vset, const HyperGraph::EdgeSet &edges)
virtual bool buildLinearStructure()
OptimizationAlgorithmWithHessian(Solver &solver)
virtual bool computeMarginals(SparseBlockMatrix< MatrixX > &spinv, const std::vector< std::pair< int, int > > &blockIndices)
virtual bool init(bool online=false)
virtual bool writeDebug() const
Generic interface for a sparse solver operating on a graph which solves one iteration of the lineariz...
Sparse matrix which uses blocks.