diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-03-05 13:17:55 -0800 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2020-03-05 13:17:55 -0800 |
commit | a4151cb6755b9267cb90f7facc0ffd367aa7f0f2 (patch) | |
tree | d8d5511eeb12ecace73845785546df95e8f67f1f /src/theory/theory_engine.h | |
parent | bbba915f44f9e75eaa6238a10ba667643dacb00b (diff) |
Revert "Move ownership of DecisionEngine into PropEngine. (#3850)"
This reverts commit bbba915f44f9e75eaa6238a10ba667643dacb00b.
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r-- | src/theory/theory_engine.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h index e8223f1a1..1757d7a6d 100644 --- a/src/theory/theory_engine.h +++ b/src/theory/theory_engine.h @@ -101,6 +101,7 @@ namespace theory { class EntailmentCheckSideEffects; }/* CVC4::theory namespace */ +class DecisionEngine; class RemoveTermFormulas; /** @@ -118,6 +119,9 @@ class TheoryEngine { /** Associated PropEngine engine */ prop::PropEngine* d_propEngine; + /** Access to decision engine */ + DecisionEngine* d_decisionEngine; + /** Our context */ context::Context* d_context; @@ -501,6 +505,11 @@ class TheoryEngine { d_propEngine = propEngine; } + inline void setDecisionEngine(DecisionEngine* decisionEngine) { + Assert(d_decisionEngine == NULL); + d_decisionEngine = decisionEngine; + } + /** Called when all initialization of options/logic is done */ void finishInit(); |