diff options
author | lianah <lianahady@gmail.com> | 2013-03-25 20:37:31 -0400 |
---|---|---|
committer | lianah <lianahady@gmail.com> | 2013-03-25 20:37:31 -0400 |
commit | e69531ce6cefe15dcc7afe9b79d2b36c778148fa (patch) | |
tree | 06f773744af58fcb4552bba66cb2da708e21eed6 /src/theory/bv/bv_subtheory.h | |
parent | 7f9b419adf3e45ce12ab9fb9b2d1afa076110e7d (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.h | 4 |
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()); |