summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h52
1 files changed, 7 insertions, 45 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index c884b2c5f..b872985fb 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -49,6 +49,8 @@ class NodeHashFunction;
class TheoryEngine;
+class StatisticsRegistry;
+
namespace context {
class Context;
}/* CVC4::context namespace */
@@ -139,44 +141,11 @@ class CVC4_PUBLIC SmtEngine {
*/
bool d_queryMade;
- /**
- * Whether or not to type check input expressions.
- */
- bool d_typeChecking;
-
- /**
- * Whether we're being used in an interactive setting.
- */
- bool d_interactive;
-
- /**
- * Whether we expand function definitions lazily.
- */
- bool d_lazyDefinitionExpansion;
-
- /**
- * Whether getValue() is enabled.
- */
- bool d_produceModels;
-
- /**
- * Whether getAssignment() is enabled.
- */
- bool d_produceAssignments;
-
- /**
- * Whether multiple queries can be made, and also push/pop is enabled.
- */
- bool d_incrementalSolving;
-
/**
* Most recent result of last checkSat/query or (set-info :status).
*/
Result d_status;
- /** Called by the constructors to setup fields. */
- void init(const Options& opts) throw();
-
/**
* This is called by the destructor, just before destroying the
* PropEngine, TheoryEngine, and DecisionEngine (in that order). It
@@ -215,12 +184,7 @@ public:
/**
* Construct an SmtEngine with the given expression manager.
*/
- SmtEngine(ExprManager* em) throw();
-
- /**
- * Construct an SmtEngine with the given expression manager and user options.
- */
- SmtEngine(ExprManager* em, const Options& opts) throw();
+ SmtEngine(ExprManager* em) throw(AssertionException);
/**
* Destruct the SMT engine.
@@ -336,12 +300,10 @@ public:
*/
void pop();
- /** Enable type checking. Forces a type check on any Expr parameter
- to an SmtEngine method. */
- void enableTypeChecking() { d_typeChecking = true; }
-
- /** Disable type checking. */
- void disableTypeChecking() { d_typeChecking = false; }
+ /**
+ * Permit access to the underlying StatisticsRegistry.
+ */
+ StatisticsRegistry* getStatisticsRegistry() const;
};/* class SmtEngine */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback