diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-01-26 14:23:51 -0600 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-01-26 14:24:02 -0600 |
commit | d0add0eb12cac4e9cbcf09fe60724d280889002d (patch) | |
tree | 217528663e877f15832a5cb00005e5a15a69f2ee /src/theory/quantifiers/relevant_domain.h | |
parent | 160572318e251a98a58b3f506c31fb233070d477 (diff) |
More optimization of QCF. Fixed InstMatchTrie for caching instantiations. Use non-context dependent cache for instantiations when not incremental. Instantiate from relevant domain when no other instantiations apply. Minor cleanup of relevance for triggers.
Diffstat (limited to 'src/theory/quantifiers/relevant_domain.h')
-rw-r--r-- | src/theory/quantifiers/relevant_domain.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/quantifiers/relevant_domain.h b/src/theory/quantifiers/relevant_domain.h index c4345f828..0f5afcadd 100644 --- a/src/theory/quantifiers/relevant_domain.h +++ b/src/theory/quantifiers/relevant_domain.h @@ -42,16 +42,18 @@ private: std::map< Node, std::map< int, RDomain * > > d_rel_doms; std::map< RDomain *, Node > d_rn_map; std::map< RDomain *, int > d_ri_map; - RDomain * getRDomain( Node n, int i ); QuantifiersEngine* d_qe; FirstOrderModel* d_model; void computeRelevantDomain( Node n, bool hasPol, bool pol ); + bool d_is_computed; public: RelevantDomain( QuantifiersEngine* qe, FirstOrderModel* m ); virtual ~RelevantDomain(){} + void reset(); //compute the relevant domain void compute(); + RDomain * getRDomain( Node n, int i ); Node getRelevantTerm( Node f, int i, Node r ); };/* class RelevantDomain */ |