diff options
Diffstat (limited to 'src/theory/quantifiers/expr_miner.h')
-rw-r--r-- | src/theory/quantifiers/expr_miner.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/theory/quantifiers/expr_miner.h b/src/theory/quantifiers/expr_miner.h index 79d0c6650..8a5ce1c1f 100644 --- a/src/theory/quantifiers/expr_miner.h +++ b/src/theory/quantifiers/expr_miner.h @@ -23,10 +23,14 @@ #include <vector> #include "expr/node.h" -#include "smt/smt_engine.h" #include "theory/quantifiers/sygus_sampler.h" +#include "theory/smt_engine_subsolver.h" namespace cvc5 { + +class Env; +class SmtEngine; + namespace theory { namespace quantifiers { @@ -39,7 +43,7 @@ namespace quantifiers { class ExprMiner { public: - ExprMiner() : d_sampler(nullptr) {} + ExprMiner(Env& env) : d_env(env), d_sampler(nullptr) {} virtual ~ExprMiner() {} /** initialize * @@ -60,6 +64,8 @@ class ExprMiner virtual bool addTerm(Node n, std::ostream& out) = 0; protected: + /** Reference to the env */ + Env& d_env; /** the set of variables used by this class */ std::vector<Node> d_vars; /** |