summaryrefslogtreecommitdiff
path: root/src/decision
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2020-12-14 13:14:59 -0300
committerGitHub <noreply@github.com>2020-12-14 10:14:59 -0600
commitc51920039f10864f813ae1a4b4e765264a322256 (patch)
tree5ff31e640bc08882252a39a0255614359f03c62a /src/decision
parentdddddbfa12aaeb433074382fb9e2b4c9c92c8a66 (diff)
[proof-new] Updating interfaces between prop engine and minisat (#5664)
This is in preparation to make the prop engine proof producing. This PR also renames "DPLLSatSolverInterface" to the more appropriate name "CDCLTSatSolverInterface". Note that most of the diff is due to formatting of the previously super ad-hoc formatting of the minisat code.
Diffstat (limited to 'src/decision')
-rw-r--r--src/decision/decision_engine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/decision/decision_engine.h b/src/decision/decision_engine.h
index afa16397d..15dbf0d79 100644
--- a/src/decision/decision_engine.h
+++ b/src/decision/decision_engine.h
@@ -46,7 +46,7 @@ class DecisionEngine {
// PropEngine* d_propEngine;
CnfStream* d_cnfStream;
- DPLLSatSolverInterface* d_satSolver;
+ CDCLTSatSolverInterface* d_satSolver;
context::Context* d_satContext;
context::UserContext* d_userContext;
@@ -75,7 +75,8 @@ class DecisionEngine {
Trace("decision") << "Destroying decision engine" << std::endl;
}
- void setSatSolver(DPLLSatSolverInterface* ss) {
+ void setSatSolver(CDCLTSatSolverInterface* ss)
+ {
// setPropEngine should not be called more than once
Assert(d_satSolver == NULL);
Assert(ss != NULL);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback