diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 22:20:15 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 22:20:15 +0000 |
commit | 761bb503aa475fae1748afd6f583dd9af772f1cd (patch) | |
tree | d899a63d6288ed606898b960b2b3ced8bc4a9e54 /src/prop/sat_solver.h | |
parent | a648adc7767ccd720cf1684ee8adac3d03f64f53 (diff) |
fixing the problems with the bvminisat. there was a case when things would get bitblasted, it would restart to add the clauses, and loose propagation information.
Diffstat (limited to 'src/prop/sat_solver.h')
-rw-r--r-- | src/prop/sat_solver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h index 79e54cac2..102f8051b 100644 --- a/src/prop/sat_solver.h +++ b/src/prop/sat_solver.h @@ -95,7 +95,7 @@ public: * Notify about a learnt clause. */ virtual void notify(SatClause& clause) = 0; -}; + }; virtual void setNotify(Notify* notify) = 0; @@ -105,6 +105,8 @@ public: virtual void addMarkerLiteral(SatLiteral lit) = 0; + virtual SatValue propagate() = 0; + virtual void explain(SatLiteral lit, std::vector<SatLiteral>& explanation) = 0; virtual SatValue assertAssumption(SatLiteral lit, bool propagate = false) = 0; |