g2o
edge_types_cost_function.h
Go to the documentation of this file.
1 #ifndef G2O_EDGE_TYPES_COST_FUNCTION_
2 #define G2O_EDGE_TYPES_COST_FUNCTION_
3 
4 #include <string>
7 
8 namespace g2o {
9 
21  EdgeTypesCostFunction(std::string edgeTag, std::string vertexTag, int level);
22 
24  virtual double operator() (HyperGraph::Edge* e_, HyperGraph::Vertex* from, HyperGraph::Vertex* to);
25 
26  std::string _edgeTag;
27  std::string _vertexTag;
29  int _level;
30 };
31 
32 }
33 #endif
create vertices and edges based on TAGs in, for example, a file
Definition: factory.h:49
abstract Vertex, your types must derive from that one
Definition: hyper_graph.h:142
virtual double operator()(HyperGraph::Edge *e_, HyperGraph::Vertex *from, HyperGraph::Vertex *to)
cost operator
EdgeTypesCostFunction(std::string edgeTag, std::string vertexTag, int level)