summaryrefslogtreecommitdiff
path: root/src/decision/decision_engine.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-05-27 01:44:55 -0500
committerGitHub <noreply@github.com>2021-05-27 06:44:55 +0000
commit437405dca0e1a393a8fa1eda900bc0bc469091c6 (patch)
tree4855b19b650818337aaad35ef9c4178e3645c5c0 /src/decision/decision_engine.h
parent028d657dc41bbb908b7b9ad6ba707dc2216b15ac (diff)
Enable new justification heuristic by default (#6613)
This enables the new implementation of justification heuristic by default. Fixes #5454, fixes #5785. Fixes wishues 114, 115, 149, 160.
Diffstat (limited to 'src/decision/decision_engine.h')
-rw-r--r--src/decision/decision_engine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decision/decision_engine.h b/src/decision/decision_engine.h
index de88d656e..e54e1fc3c 100644
--- a/src/decision/decision_engine.h
+++ b/src/decision/decision_engine.h
@@ -18,6 +18,7 @@
#ifndef CVC5__DECISION__DECISION_ENGINE_H
#define CVC5__DECISION__DECISION_ENGINE_H
+#include "decision/justification_strategy.h"
#include "expr/node.h"
#include "prop/cnf_stream.h"
#include "prop/sat_solver.h"
@@ -60,7 +61,7 @@ class DecisionEngine
*/
void addAssertion(TNode assertion);
/**
- * TODO: remove this interface
+ * !!!! temporary until the old justification implementation is deleted.
* Notify this class that lem is the skolem definition for skolem, which is
* a part of the current assertions.
*/
@@ -74,6 +75,8 @@ class DecisionEngine
private:
/** The old implementation */
std::unique_ptr<DecisionEngineOld> d_decEngineOld;
+ /** The new implementation */
+ std::unique_ptr<JustificationStrategy> d_jstrat;
/** Pointer to resource manager for associated SmtEngine */
ResourceManager* d_resourceManager;
/** using old implementation? */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback