diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-15 02:14:42 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-15 02:14:42 +0000 |
commit | dc0372a91ae46e6fc5ead1f51a1fe033cfd19944 (patch) | |
tree | a45d1ae09a4026f516af9e68e37cab4cc76d2506 /src/theory/theory.h | |
parent | 0cf2cf65658ce8128d0cc87d6a9714b5284d45c4 (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.h | 10 |
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, |