summaryrefslogtreecommitdiff
path: root/src/theory/model_manager_distributed.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-10-03 06:11:02 -0500
committerGitHub <noreply@github.com>2020-10-03 06:11:02 -0500
commitd972bd973320ed3b4c7a41ff6a16e76f754d7f58 (patch)
treeed64dfeafcb698219cfeaaec302c06a728c651df /src/theory/model_manager_distributed.cpp
parent883298e4d5bf54b83125fc256601cdbb6c21ad03 (diff)
Standardization of Theory (#5181)
This cleans up various interfaces of Theory now that all theories have been updated to the new standard. This includes making check non-virtual, standardizing when trigger terms are added to equality engines, and simplifications for collectModelInfo.
Diffstat (limited to 'src/theory/model_manager_distributed.cpp')
-rw-r--r--src/theory/model_manager_distributed.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/model_manager_distributed.cpp b/src/theory/model_manager_distributed.cpp
index 5ea2799c5..7d121af53 100644
--- a/src/theory/model_manager_distributed.cpp
+++ b/src/theory/model_manager_distributed.cpp
@@ -78,7 +78,12 @@ bool ModelManagerDistributed::prepareModel()
Theory* t = d_te.theoryOf(theoryId);
Trace("model-builder") << " CollectModelInfo on theory: " << theoryId
<< std::endl;
- if (!t->collectModelInfo(d_model))
+ // collect the asserted terms
+ std::set<Node> termSet;
+ collectAssertedTerms(theoryId, termSet);
+ // also get relevant terms
+ t->computeRelevantTerms(termSet);
+ if (!t->collectModelInfo(d_model, termSet))
{
Trace("model-builder")
<< "ModelManagerDistributed: fail collect model info" << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback