summaryrefslogtreecommitdiff
path: root/src/theory/bv/bv_subtheory.h
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2013-03-25 20:37:31 -0400
committerlianah <lianahady@gmail.com>2013-03-25 20:37:31 -0400
commite69531ce6cefe15dcc7afe9b79d2b36c778148fa (patch)
tree06f773744af58fcb4552bba66cb2da708e21eed6 /src/theory/bv/bv_subtheory.h
parent7f9b419adf3e45ce12ab9fb9b2d1afa076110e7d (diff)
cleaned up the bv subtheory interface; added check for inequality theory completeness
Diffstat (limited to 'src/theory/bv/bv_subtheory.h')
-rw-r--r--src/theory/bv/bv_subtheory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/bv/bv_subtheory.h b/src/theory/bv/bv_subtheory.h
index 00b3526c0..4389dc50d 100644
--- a/src/theory/bv/bv_subtheory.h
+++ b/src/theory/bv/bv_subtheory.h
@@ -76,7 +76,7 @@ protected:
/** The bit-vector theory */
TheoryBV* d_bv;
AssertionQueue d_assertionQueue;
- context::CDO<uint32_t> d_assertionIndex;
+ context::CDO<uint32_t> d_assertionIndex;
public:
SubtheorySolver(context::Context* c, TheoryBV* bv) :
@@ -93,7 +93,7 @@ public:
virtual void collectModelInfo(TheoryModel* m) = 0;
virtual bool isComplete() = 0;
virtual EqualityStatus getEqualityStatus(TNode a, TNode b) = 0;
-
+ virtual void addSharedTerm(TNode node) {}
bool done() { return d_assertionQueue.size() == d_assertionIndex; }
TNode get() {
Assert (!done());
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback