summaryrefslogtreecommitdiff
path: root/src/smt/model_blocker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/model_blocker.h')
-rw-r--r--src/smt/model_blocker.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/smt/model_blocker.h b/src/smt/model_blocker.h
index 42219e220..5e41de6a3 100644
--- a/src/smt/model_blocker.h
+++ b/src/smt/model_blocker.h
@@ -22,6 +22,7 @@
#include "expr/node.h"
#include "options/smt_options.h"
+#include "smt/env_obj.h"
namespace cvc5 {
@@ -32,9 +33,10 @@ class TheoryModel;
/**
* A utility for blocking the current model.
*/
-class ModelBlocker
+class ModelBlocker : protected EnvObj
{
public:
+ ModelBlocker(Env& e);
/** get model blocker
*
* This returns a disjunction of literals ~L1 V ... V ~Ln with the following
@@ -63,7 +65,7 @@ class ModelBlocker
* our input. In other words, we do not return ~(x < 0) V ~(w < 0) since the
* left disjunct is always false.
*/
- static Node getModelBlocker(
+ Node getModelBlocker(
const std::vector<Node>& assertions,
theory::TheoryModel* m,
options::BlockModelsMode mode,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback