summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_match.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-11-17 16:41:56 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2015-11-17 16:42:10 +0100
commit6c49fe8691cf011237be30f4062affc79d8a5314 (patch)
tree43de311707603716902815226840083ee26e1749 /src/theory/quantifiers/inst_match.cpp
parent304f3d632766a445b9e2fb9dd617b2c2cfd50fb2 (diff)
Improve relevant domain computation for arithmetic, full saturation strategy. Simply E-matching trigger selection, do not use non-trivial triggers unless necessary. Add option to strings.
Diffstat (limited to 'src/theory/quantifiers/inst_match.cpp')
-rw-r--r--src/theory/quantifiers/inst_match.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/theory/quantifiers/inst_match.cpp b/src/theory/quantifiers/inst_match.cpp
index 180ccc448..5eca87903 100644
--- a/src/theory/quantifiers/inst_match.cpp
+++ b/src/theory/quantifiers/inst_match.cpp
@@ -118,14 +118,9 @@ Node InstMatch::get( int i ) {
return d_vals[i];
}
-void InstMatch::getTerms( QuantifiersEngine* qe, Node f, std::vector< Node >& inst ){
+void InstMatch::getTerms( Node f, std::vector< Node >& inst ){
for( size_t i=0; i<f[0].getNumChildren(); i++ ){
- Node val = get( i );
- if( val.isNull() ){
- Node ic = qe->getTermDatabase()->getInstantiationConstant( f, i );
- val = qe->getTermDatabase()->getModelBasisTerm( ic.getType() );
- }
- inst.push_back( val );
+ inst.push_back( d_vals[i] );
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback