1 #ifndef G2O_EDGE_TYPES_COST_FUNCTION_ 2 #define G2O_EDGE_TYPES_COST_FUNCTION_
create vertices and edges based on TAGs in, for example, a file
abstract Vertex, your types must derive from that one
virtual double operator()(HyperGraph::Edge *e_, HyperGraph::Vertex *from, HyperGraph::Vertex *to)
cost operator
EdgeTypesCostFunction(std::string edgeTag, std::string vertexTag, int level)