11 /** @brief A graph of Model Actions for tracking cycles. */
16 void addEdge(const ModelAction *from, const ModelAction *to);
17 bool checkForCycles();
18 void addRMWEdge(const ModelAction *from, const ModelAction *to);
21 CycleNode * getNode(const ModelAction *);
22 HashTable<const ModelAction *, CycleNode *, uintptr_t, 4> actionToNode;
23 bool checkReachable(CycleNode *from, CycleNode *to);
29 CycleNode(const ModelAction *action);
30 void addEdge(CycleNode * node);
31 std::vector<CycleNode *> * getEdges();
32 bool setRMW(CycleNode *);
36 const ModelAction *action;
37 std::vector<CycleNode *> edges;