summaryrefslogtreecommitdiff
path: root/src/theory/bv/bv_subtheory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/bv/bv_subtheory.h')
-rw-r--r--src/theory/bv/bv_subtheory.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/theory/bv/bv_subtheory.h b/src/theory/bv/bv_subtheory.h
index 5a46f7a0f..8d21734db 100644
--- a/src/theory/bv/bv_subtheory.h
+++ b/src/theory/bv/bv_subtheory.h
@@ -9,16 +9,15 @@
** See the file COPYING in the top-level source directory for licensing
** information.\endverbatim
**
- ** \brief Algebraic solver.
+ ** \brief Interface for bit-vectors sub-solvers.
**
- ** Algebraic solver.
+ ** Interface for bit-vectors sub-solvers.
**/
-#include "cvc4_private.h"
-
#ifndef __CVC4__THEORY__BV__BV_SUBTHEORY_H
#define __CVC4__THEORY__BV__BV_SUBTHEORY_H
+#include "cvc4_private.h"
#include "context/context.h"
#include "context/cdqueue.h"
#include "theory/uf/equality_engine.h"
@@ -34,7 +33,8 @@ namespace bv {
enum SubTheory {
SUB_CORE = 1,
SUB_BITBLAST = 2,
- SUB_INEQUALITY = 3
+ SUB_INEQUALITY = 3,
+ SUB_ALGEBRAIC = 4
};
inline std::ostream& operator << (std::ostream& out, SubTheory subtheory) {
@@ -47,6 +47,8 @@ inline std::ostream& operator << (std::ostream& out, SubTheory subtheory) {
break;
case SUB_INEQUALITY:
out << "BV_INEQUALITY_SUBTHEORY";
+ case SUB_ALGEBRAIC:
+ out << "BV_ALGEBRAIC_SUBTHEORY";
default:
Unreachable();
break;
@@ -100,6 +102,8 @@ public:
return res;
}
virtual void assertFact(TNode fact) { d_assertionQueue.push_back(fact); }
+ AssertionQueue::const_iterator assertionsBegin() { return d_assertionQueue.begin(); }
+ AssertionQueue::const_iterator assertionsEnd() { return d_assertionQueue.end(); }
};
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback