summaryrefslogtreecommitdiff
path: root/src/smt/model.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-26 09:15:30 -0600
committerGitHub <noreply@github.com>2020-11-26 09:15:30 -0600
commitd3eb6f04bcdb6c22a2f796a19ff96094d2cfbb88 (patch)
treebd51ec106bd30add6a8a9e5f3300a6ae022f0e97 /src/smt/model.h
parent70f0cddbce01fa17622b7b70b638794181aefec5 (diff)
Removing infrastructure related to SMT model (#5527)
Now, SMT models do not store an internal list of commands, and are not dependent on a reference to SmtEngine. The next cleanup step will be to merge OutputManager, DumpManager, and SmtEngineNodeListener.
Diffstat (limited to 'src/smt/model.h')
-rw-r--r--src/smt/model.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/smt/model.h b/src/smt/model.h
index 0913922d1..18675040a 100644
--- a/src/smt/model.h
+++ b/src/smt/model.h
@@ -27,7 +27,6 @@
namespace CVC4 {
class SmtEngine;
-class NodeCommand;
namespace smt {
@@ -49,13 +48,9 @@ class Model {
public:
/** construct */
- Model(SmtEngine& smt, theory::TheoryModel* tm);
+ Model(theory::TheoryModel* tm);
/** virtual destructor */
~Model() {}
- /** get the smt engine that this model is hooked up to */
- SmtEngine* getSmtEngine() { return &d_smt; }
- /** get the smt engine (as a pointer-to-const) that this model is hooked up to */
- const SmtEngine* getSmtEngine() const { return &d_smt; }
/** get the input name (file name, etc.) this model is associated to */
std::string getInputName() const { return d_inputName; }
/**
@@ -77,10 +72,6 @@ class Model {
/** Does this model have approximations? */
bool hasApproximations() const;
//----------------------- end helper methods
- /** get number of commands to report */
- size_t getNumCommands() const;
- /** get command */
- const NodeCommand* getCommand(size_t i) const;
//----------------------- model declarations
/** Clear the current model declarations. */
void clearModelDeclarations();
@@ -100,8 +91,6 @@ class Model {
const std::vector<Node>& getDeclaredTerms() const;
//----------------------- end model declarations
protected:
- /** The SmtEngine we're associated with */
- SmtEngine& d_smt;
/** the input name (file name, etc.) this model is associated to */
std::string d_inputName;
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback