summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/synth_engine.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-01-26 12:43:50 -0600
committerGitHub <noreply@github.com>2021-01-26 12:43:50 -0600
commitca648afb2a7574991b1dc9817c1b8e2546548073 (patch)
tree30bcc19878be364e9e2c61bc10e9974acf198f30 /src/theory/quantifiers/sygus/synth_engine.h
parent022dbeb9e2dc925cf0dcffb75ea57aedf09395de (diff)
Refactor quantifiers engine initialization (#5813)
This is a step towards breaking up the quantifiers engine. The key change is that QuantifiersEngine will not be passed as a pointer to the modules it contains. This PR makes it so that necessary modules take a QuantifiersState, which will eventually be extended as needed with additional query methods. For now, modules will take both until the dependencies on QuantifersEngine are removed. This required that QuantifiersEngine now lives in TheoryQuantifiers, instead of in TheoryEngine, since the QuantifiersEngine must be initialized with QuantifiersState, which is a member of TheoryQuantifiers. Now, TheoryEngine retrieves the QuantifiersEngine from TheoryQuantifiers prior to finishing initialization on theories.
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_engine.h')
-rw-r--r--src/theory/quantifiers/sygus/synth_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/synth_engine.h b/src/theory/quantifiers/sygus/synth_engine.h
index 25981748e..e3cf2e47b 100644
--- a/src/theory/quantifiers/sygus/synth_engine.h
+++ b/src/theory/quantifiers/sygus/synth_engine.h
@@ -33,7 +33,7 @@ class SynthEngine : public QuantifiersModule
typedef context::CDHashMap<Node, bool, NodeHashFunction> NodeBoolMap;
public:
- SynthEngine(QuantifiersEngine* qe, context::Context* c);
+ SynthEngine(QuantifiersEngine* qe, QuantifiersState& qs);
~SynthEngine();
/** presolve
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback