// Copyright 2016, University of Freiburg, // Chair of Algorithms and Data Structures. // Authors: Patrick Brosi #ifndef UTIL_GRAPH_UNDIRGRAPH_H_ #define UTIL_GRAPH_UNDIRGRAPH_H_ #include #include #include "util/graph/Graph.h" #include "util/graph/Edge.h" #include "util/graph/UndirNode.h" namespace util { namespace graph { template using UndirEdge = Edge; template class UndirGraph : public Graph { public: explicit UndirGraph(); using Graph::addEdg; Node* addNd(); Node* addNd(UndirNode* n); Node* addNd(const N& pl); Edge* addEdg(Node* from, Node* to, const E& p); Node* mergeNds(Node* a, Node* b); }; #include "util/graph/UndirGraph.tpp" } } #endif // UTIL_GRAPH_UNDIRGRAPH_H_