nodestack: turn magic promise numbers into enum + typedef
[model-checker.git] / cyclegraph.h
index d0258d180f6e60546bc9619b1b3f56c86bda33de..2e523d7950b28c5b91830217414eebbc459d2972 100644 (file)
@@ -19,7 +19,9 @@ class CycleGraph {
        ~CycleGraph();
        void addEdge(const ModelAction *from, const ModelAction *to);
        bool checkForCycles();
-       void addRMWEdge(const ModelAction *from, const ModelAction *to);
+       void addRMWEdge(const ModelAction *from, const ModelAction *rmw);
+
+       bool checkReachable(const ModelAction *from, const ModelAction *to);
 
  private:
        CycleNode * getNode(const ModelAction *);