diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-16 16:18:52 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-05-16 16:18:52 +0000 |
commit | 9154e647013e4575f60807d5b73582bccfd052e2 (patch) | |
tree | d32c32473a9eea80798c2e4ae60b9420a05e5c57 /src/theory/bv/bitblaster.h | |
parent | 6d4822f197ccd235175669f199e922aa12eda4b1 (diff) |
equality status for bitvectors can now look into the sat solver to check for IN_MODEL status
Diffstat (limited to 'src/theory/bv/bitblaster.h')
-rw-r--r-- | src/theory/bv/bitblaster.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/theory/bv/bitblaster.h b/src/theory/bv/bitblaster.h index 6de84fc01..b27415e0b 100644 --- a/src/theory/bv/bitblaster.h +++ b/src/theory/bv/bitblaster.h @@ -33,6 +33,7 @@ #include "context/cdhashset.h" #include "context/cdlist.h" +#include "theory/theory.h" #include "theory_bv_utils.h" #include "util/stats.h" #include "bitblast_strategies.h" @@ -99,10 +100,10 @@ class Bitblaster { /// helper methods public: - bool hasBBAtom(TNode node); + bool hasBBAtom(TNode node) const; private: - bool hasBBTerm(TNode node); - void getBBTerm(TNode node, Bits& bits); + bool hasBBTerm(TNode node) const; + void getBBTerm(TNode node, Bits& bits) const; /// function tables for the various bitblasting strategies indexed by node kind TermBBStrategy d_termBBStrategies[kind::LAST_KIND]; @@ -132,6 +133,8 @@ public: void getConflict(std::vector<TNode>& conflict); void explain(TNode atom, std::vector<TNode>& explanation); + EqualityStatus getEqualityStatus(TNode a, TNode b); + private: |