diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2020-09-03 18:34:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 18:34:19 -0700 |
commit | c9e23f66383a4d490aca6d082d40117fe799ee4b (patch) | |
tree | 21c4aaf67d7d1b0c188d9e99d3b364883618b479 /src/theory/theory_state.cpp | |
parent | a5b834d5af88e372d9c6340653f831a09daf1d39 (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.cpp | 5 |
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 |