summaryrefslogtreecommitdiff
path: root/src/theory/theory_model_builder.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-02-23 19:12:32 -0600
committerGitHub <noreply@github.com>2021-02-23 19:12:32 -0600
commit854ab7e1adce90ebd822cc29ffabf5546d13f5cc (patch)
tree96bcb318ada0448c73d293c0b99db7b98eb1e4c4 /src/theory/theory_model_builder.h
parent4c0dbb8ec7871ff114a9e66233cd8c8dd853f0b4 (diff)
Add interface to TheoryState for sort inference and facts (#5967)
This eliminates the need for direct references to TheoryEngine from quantifiers and UF+cardinality. This PR also eliminates an unnecessary reference to TheoryEngine in TheoryModelBuilder and breaks a few more dependencies in quantifiers modules.
Diffstat (limited to 'src/theory/theory_model_builder.h')
-rw-r--r--src/theory/theory_model_builder.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/theory/theory_model_builder.h b/src/theory/theory_model_builder.h
index 4ffcbeee7..fde74a05f 100644
--- a/src/theory/theory_model_builder.h
+++ b/src/theory/theory_model_builder.h
@@ -47,7 +47,7 @@ class TheoryEngineModelBuilder
typedef std::unordered_set<Node, NodeHashFunction> NodeSet;
public:
- TheoryEngineModelBuilder(TheoryEngine* te);
+ TheoryEngineModelBuilder();
virtual ~TheoryEngineModelBuilder() {}
/**
* Should be called only on models m after they have been prepared
@@ -84,8 +84,6 @@ class TheoryEngineModelBuilder
void postProcessModel(bool incomplete, TheoryModel* m);
protected:
- /** pointer to theory engine */
- TheoryEngine* d_te;
//-----------------------------------virtual functions
/** pre-process build model
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback