projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cyclegraph: add edgeCreatesCycle() function
[c11tester.git]
/
cyclegraph.h
diff --git
a/cyclegraph.h
b/cyclegraph.h
index 45e49fb7bec3950656054e02f92b06aa5cf3ae65..5d9c976b5a1c21ae22459ec9380ce3164f529ddd 100644
(file)
--- a/
cyclegraph.h
+++ b/
cyclegraph.h
@@
-52,6
+52,8
@@
class CycleGraph {
bool checkReachable(const CycleNode *from, const CycleNode *to) const;
+ bool edgeCreatesCycle(const CycleNode *from, const CycleNode *to) const;
+
/** @brief A flag: true if this graph contains cycles */
bool hasCycles;
bool oldCycles;