g2o
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
g2o
apps
g2o_hierarchical
edge_labeler.h
Go to the documentation of this file.
1
#ifndef G2O_EDGE_LABELER_
2
#define G2O_EDGE_LABELER_
3
4
#include "
g2o/core/sparse_optimizer.h
"
5
#include <Eigen/Core>
6
7
#include "
g2o_hierarchical_api.h
"
8
9
namespace
g2o
{
20
struct
G2O_HIERARCHICAL_API
EdgeLabeler
{
23
EdgeLabeler
(
SparseOptimizer
* optimizer);
24
30
int
labelEdges(std::set<OptimizableGraph::Edge*>& edges);
31
32
protected
:
36
void
augmentSparsePattern(std::set<std::pair<int, int> >& pattern,
OptimizableGraph::Edge
* e);
37
42
bool
computePartialInverse(
SparseBlockMatrix<Eigen::MatrixXd>
& spinv,
const
std::set<std::pair<int,int> >& pattern);
43
46
bool
labelEdge(
const
SparseBlockMatrix<Eigen::MatrixXd>
& spinv,
OptimizableGraph::Edge
* e);
47
SparseOptimizer
*
_optimizer
;
48
};
49
50
}
// end namespace
51
#endif
g2o_hierarchical_api.h
G2O_HIERARCHICAL_API
#define G2O_HIERARCHICAL_API
Definition:
g2o_hierarchical_api.h:20
g2o::EdgeLabeler::_optimizer
SparseOptimizer * _optimizer
Definition:
edge_labeler.h:47
g2o
Definition:
dl_wrapper.cpp:54
sparse_optimizer.h
g2o::EdgeLabeler
Definition:
edge_labeler.h:20
g2o::SparseOptimizer
Definition:
sparse_optimizer.h:46
g2o::OptimizableGraph::Edge
Definition:
optimizable_graph.h:349
g2o::SparseBlockMatrix< Eigen::MatrixXd >
Generated on Mon Mar 18 2019 20:14:36 for g2o by
1.8.11