diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-09-12 15:37:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 15:37:00 -0500 |
commit | ad18e6d4bab518a29648823eca9ba5ee1ebc8400 (patch) | |
tree | a377d00e07e5af4cd669252c1ebb1b11cc5c3506 /src/theory/quantifiers/sygus/synth_conjecture.h | |
parent | d44ef0e9af9230e1949b0d3d4b03f1fcd497ad6d (diff) |
Encapsulate synth engine (#3271)
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.h')
-rw-r--r-- | src/theory/quantifiers/sygus/synth_conjecture.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.h b/src/theory/quantifiers/sygus/synth_conjecture.h index 33fff6844..8ae30f636 100644 --- a/src/theory/quantifiers/sygus/synth_conjecture.h +++ b/src/theory/quantifiers/sygus/synth_conjecture.h @@ -34,6 +34,8 @@ namespace CVC4 { namespace theory { namespace quantifiers { +class SynthEngine; + /** * A base class for generating values for actively-generated enumerators. * At a high level, the job of this class is to accept a stream of "abstract @@ -68,7 +70,7 @@ class EnumValGenerator class SynthConjecture { public: - SynthConjecture(QuantifiersEngine* qe); + SynthConjecture(QuantifiersEngine* qe, SynthEngine* p); ~SynthConjecture(); /** presolve */ void presolve(); @@ -165,6 +167,8 @@ class SynthConjecture private: /** reference to quantifier engine */ QuantifiersEngine* d_qe; + /** pointer to the synth engine that owns this */ + SynthEngine* d_parent; /** term database sygus of d_qe */ TermDbSygus* d_tds; /** The feasible guard. */ |