g2o
simple_star_ops.h
Go to the documentation of this file.
1 #ifndef G2O_SIMPLE_STAR_OPS_
2 #define G2O_SIMPLE_STAR_OPS_
3 
4 #include <string>
5 #include <map>
8 #include "star.h"
9 #include "edge_creator.h"
10 #include "edge_labeler.h"
11 
12 #include "g2o_hierarchical_api.h"
13 
14 namespace g2o {
15 
16 
17  G2O_HIERARCHICAL_API void constructEdgeStarMap(EdgeStarMap& esmap, StarSet& stars, bool low=true);
18 
19  size_t vertexEdgesInStar(HyperGraph::EdgeSet& eset, HyperGraph::Vertex* v, Star* s, EdgeStarMap& esmap);
20 
21  void starsInVertex(StarSet& stars, HyperGraph::Vertex* v, EdgeStarMap& esmap);
22 
23  void assignHierarchicalEdges(StarSet& stars, EdgeStarMap& esmap, EdgeLabeler* labeler, EdgeCreator* creator, SparseOptimizer* optimizer, int minNumEdges, int maxIterations);
24 
26 
28  SparseOptimizer* optimizer,
29  EdgeLabeler* labeler,
30  EdgeCreator* creator,
32  std::string edgeTag, std::string vertexTag,
33  int level,
34  int step,
35  int backboneIterations=1,
36  int starIterations=30,
37  double rejectionThreshold=1e-5, bool debug=false);
38 
39 }
40 #endif
#define G2O_HIERARCHICAL_API
void assignHierarchicalEdges(StarSet &stars, EdgeStarMap &esmap, EdgeLabeler *labeler, EdgeCreator *creator, SparseOptimizer *optimizer, int minNumEdges, int maxIterations)
void constructEdgeStarMap(EdgeStarMap &esmap, StarSet &stars, bool low)
void computeBorder(StarSet &stars, EdgeStarMap &hesmap)
std::set< Edge * > EdgeSet
Definition: hyper_graph.h:135
class G2O_CORE_API Vertex
class G2O_CORE_API SparseOptimizer
class G2O_CORE_API Vertex
Definition: hyper_graph.h:78
std::set< Star * > StarSet
Definition: star.h:71
std::map< HyperGraph::Edge *, Star * > EdgeStarMap
Definition: star.h:72
void starsInVertex(StarSet &stars, HyperGraph::Vertex *v, EdgeStarMap &esmap)
size_t vertexEdgesInStar(HyperGraph::EdgeSet &eset, HyperGraph::Vertex *v, Star *s, EdgeStarMap &esmap)
void computeSimpleStars(StarSet &stars, SparseOptimizer *optimizer, EdgeLabeler *labeler, EdgeCreator *creator, OptimizableGraph::Vertex *gauge_, std::string edgeTag, std::string vertexTag, int level, int step, int backboneIterations, int starIterations, double rejectionThreshold, bool debug)
yylloc step()