summaryrefslogtreecommitdiff
path: root/src/theory/theory.h
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2012-11-15 02:14:42 +0000
committerClark Barrett <barrett@cs.nyu.edu>2012-11-15 02:14:42 +0000
commitdc0372a91ae46e6fc5ead1f51a1fe033cfd19944 (patch)
treea45d1ae09a4026f516af9e68e37cab4cc76d2506 /src/theory/theory.h
parent0cf2cf65658ce8128d0cc87d6a9714b5284d45c4 (diff)
Fixed another AUFBV model bug. BV equality subtheory needed to do something
similar to arrays - limit the set of terms reported to those relevant in the current context. Also removed collectModelInfo from sharedTermsDatabase - doesn't seem to be needed any more.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r--src/theory/theory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h
index 9cc5058cc..72206afb8 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -233,6 +233,16 @@ protected:
context::CDList<TNode> d_sharedTerms;
/**
+ * Helper function for computeRelevantTerms
+ */
+ void collectTerms(TNode n, std::set<Node>& termSet);
+ /**
+ * Scans the current set of assertions and shared terms top-down until a theory-leaf is reached, and adds all terms found to termSet.
+ * This is used by collectModelInfo to delimit the set of terms that should be used when constructing a model
+ */
+ void computeRelevantTerms(std::set<Node>& termSet);
+
+ /**
* Construct a Theory.
*/
Theory(TheoryId id, context::Context* satContext, context::UserContext* userContext,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback