diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-07-30 15:24:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 15:24:55 -0700 |
commit | cf97bbba5725abcb7a4085271719de8b1a832628 (patch) | |
tree | b6a62fa6abef6aacc07e1d0ff25d71789d92f3f5 /src/prop/sat_solver.h | |
parent | 46520451e7f6408c6caf3e52a15672732abc5911 (diff) |
Add support for incremental eager bit-blasting. (#1838)
Eager incremental solving is achieved via solving under assumptions. As soon as incremental and eager bit-blasting is enabled, assertions are passed to the SAT solver as assumptions rather than assertions. This requires the eager SAT solver to support incremental solving, which is currently only supported by CryptoMiniSat.
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r-- | src/prop/sat_solver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h index 055efa413..add73eebe 100644 --- a/src/prop/sat_solver.h +++ b/src/prop/sat_solver.h @@ -76,6 +76,12 @@ public: /** Check the satisfiability of the added clauses */ virtual SatValue solve(long unsigned int&) = 0; + /** Check satisfiability under assumptions */ + virtual SatValue solve(const std::vector<SatLiteral>& assumptions) + { + Unimplemented("Solving under assumptions not implemented"); + }; + /** Interrupt the solver */ virtual void interrupt() = 0; |