summaryrefslogtreecommitdiff
path: root/src/theory/bv/bitblaster_template.h
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2014-06-21 17:45:31 -0400
committerlianah <lianahady@gmail.com>2014-06-21 17:45:31 -0400
commit7b8c765e84987ae90226f9f7244492318fa85817 (patch)
tree60e30b99f748c641464da55b09c0e6dc144bbc86 /src/theory/bv/bitblaster_template.h
parentf37411e40673b07e8fe7d20ed9b6c5be98f3b8ae (diff)
fixed build failure
Diffstat (limited to 'src/theory/bv/bitblaster_template.h')
-rw-r--r--src/theory/bv/bitblaster_template.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/bv/bitblaster_template.h b/src/theory/bv/bitblaster_template.h
index 4b0465498..2b6037a12 100644
--- a/src/theory/bv/bitblaster_template.h
+++ b/src/theory/bv/bitblaster_template.h
@@ -27,6 +27,7 @@
#include "bitblast_strategies_template.h"
#include "prop/sat_solver.h"
#include "theory/valuation.h"
+#include "theory/theory_registrar.h"
class Abc_Obj_t_;
typedef Abc_Obj_t_ Abc_Obj_t;
@@ -263,6 +264,15 @@ public:
void collectModelInfo(TheoryModel* m, bool fullModel);
};
+class BitblastingRegistrar: public prop::Registrar {
+ EagerBitblaster* d_bitblaster;
+public:
+ BitblastingRegistrar(EagerBitblaster* bb)
+ : d_bitblaster(bb)
+ {}
+ void preRegister(Node n);
+}; /* class Registrar */
+
class AigBitblaster : public TBitblaster<Abc_Obj_t*> {
typedef std::hash_map<TNode, Abc_Obj_t*, TNodeHashFunction > TNodeAigMap;
typedef std::hash_map<Node, Abc_Obj_t*, NodeHashFunction > NodeAigMap;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback