diff options
Diffstat (limited to 'rbmp.hpp')
-rw-r--r-- | rbmp.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,6 +11,9 @@ using Rng = randutils::random_generator<pcg32>; + +class Graph { +public: class Edge; class HalfEdge; @@ -78,9 +81,6 @@ public: blue.addEdge(halfedges[1]); } }; - -class Graph { -public: std::vector<Vertex> vertices; std::vector<Edge> edges; @@ -101,6 +101,6 @@ public: } }; -bool edgeMatched(PerfectMatching& pm, const Edge& e) { +bool edgeMatched(PerfectMatching& pm, const Graph::Edge& e) { return e.halfedges[0].getTail().index == pm.GetMatch(e.halfedges[0].getHead().index); } |