summaryrefslogtreecommitdiff
path: root/src/theory/theory_state.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-09-03 18:34:19 -0700
committerGitHub <noreply@github.com>2020-09-03 18:34:19 -0700
commitc9e23f66383a4d490aca6d082d40117fe799ee4b (patch)
tree21c4aaf67d7d1b0c188d9e99d3b364883618b479 /src/theory/theory_state.cpp
parenta5b834d5af88e372d9c6340653f831a09daf1d39 (diff)
Split lazy bit-vector solver from TheoryBV (#5009)
This commit separates the lazy bit-vector solver from TheoryBV, which is now a thin wrapper around a bit-vector solver d_internal . This will allow us to easily swap out the bit-vector solver in the future.
Diffstat (limited to 'src/theory/theory_state.cpp')
-rw-r--r--src/theory/theory_state.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory_state.cpp b/src/theory/theory_state.cpp
index 8afe3be96..f22a652c0 100644
--- a/src/theory/theory_state.cpp
+++ b/src/theory/theory_state.cpp
@@ -125,5 +125,10 @@ void TheoryState::notifyInConflict() { d_conflict = true; }
bool TheoryState::isInConflict() const { return d_conflict; }
+bool TheoryState::isSatLiteral(TNode lit) const
+{
+ return d_valuation.isSatLiteral(lit);
+}
+
} // namespace theory
} // namespace CVC4
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback