bool checkForCycles() const;
void addRMWEdge(const ModelAction *from, const ModelAction *rmw);
bool checkForCycles() const;
void addRMWEdge(const ModelAction *from, const ModelAction *rmw);
void putNode(const ModelAction *act, CycleNode *node);
CycleNode * getNode(const ModelAction *act);
CycleNode * getNode(const Promise *promise);
void putNode(const ModelAction *act, CycleNode *node);
CycleNode * getNode(const ModelAction *act);
CycleNode * getNode(const Promise *promise);
*
* @param to The edge points to this object, of type T
* @param from The edge comes from this object, of type U
*
* @param to The edge points to this object, of type T
* @param from The edge comes from this object, of type U