summaryrefslogtreecommitdiff
path: root/test/unit/theory/theory_black.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-12 21:10:36 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-12 21:10:36 +0000
commit3d97646be5eb3f2b50028875f4d899698228e8c7 (patch)
tree691e57f07b76c3413cebabb7ece4536eb309de16 /test/unit/theory/theory_black.h
parent2bc4c351bbf89103577fa9f33ebb395f5d61826a (diff)
hooked up "we are incomplete" flag after conversation with Tim (a theory notifies the theory engine through its output channel); some cleanup; add a regression for bug #216
Diffstat (limited to 'test/unit/theory/theory_black.h')
-rw-r--r--test/unit/theory/theory_black.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/test/unit/theory/theory_black.h b/test/unit/theory/theory_black.h
index 57ce0c78e..f0da885c7 100644
--- a/test/unit/theory/theory_black.h
+++ b/test/unit/theory/theory_black.h
@@ -52,25 +52,35 @@ public:
void safePoint() throw(Interrupted, AssertionException) {}
- void conflict(TNode n, bool safe = false) throw(Interrupted, AssertionException) {
+ void conflict(TNode n, bool safe = false)
+ throw(Interrupted, AssertionException) {
push(CONFLICT, n);
}
- void propagate(TNode n, bool safe = false) throw(Interrupted, AssertionException) {
+ void propagate(TNode n, bool safe = false)
+ throw(Interrupted, AssertionException) {
push(PROPAGATE, n);
}
- void lemma(TNode n, bool safe = false) throw(Interrupted, AssertionException){
+ void lemma(TNode n, bool safe = false)
+ throw(Interrupted, AssertionException) {
push(LEMMA, n);
}
- void augmentingLemma(TNode n, bool safe = false) throw(Interrupted, AssertionException){
+ void augmentingLemma(TNode n, bool safe = false)
+ throw(Interrupted, AssertionException) {
Unreachable();
}
- void explanation(TNode n, bool safe = false) throw(Interrupted, AssertionException) {
+ void explanation(TNode n, bool safe = false)
+ throw(Interrupted, AssertionException) {
push(EXPLANATION, n);
}
+ void setIncomplete()
+ throw(Interrupted, AssertionException) {
+ Unreachable();
+ }
+
void clear() {
d_callHistory.clear();
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback