36 const std::string& vertexTag,
39 _vertexTag(vertexTag),
51 return std::numeric_limits<double>::max();
create vertices and edges based on TAGs in, for example, a file
const std::string & tag(const HyperGraph::HyperGraphElement *v) const
return the TAG given a vertex
abstract Vertex, your types must derive from that one
int level() const
returns the level of the edge
EdgeTypesCostFunction(const std::string &edgeTag, const std::string &vertexTag, int level)
virtual double operator()(HyperGraph::Edge *e_, HyperGraph::Vertex *from, HyperGraph::Vertex *to)
cost operator