summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_split.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-09-15 10:43:28 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-09-15 10:43:28 -0500
commitdd963729849ca7f1001373c56e800bd62781fe98 (patch)
tree34ed8121a5d17a92f1e59fd6055f40feeb932db0 /src/theory/quantifiers/quant_split.cpp
parentd43e5fb294d89ba69f7d2607a12c8700b7ec9345 (diff)
Refactor setIncomplete in quantifiers.
Diffstat (limited to 'src/theory/quantifiers/quant_split.cpp')
-rw-r--r--src/theory/quantifiers/quant_split.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/quantifiers/quant_split.cpp b/src/theory/quantifiers/quant_split.cpp
index 35b3e1f9e..df8533135 100644
--- a/src/theory/quantifiers/quant_split.cpp
+++ b/src/theory/quantifiers/quant_split.cpp
@@ -73,6 +73,11 @@ bool QuantDSplit::needsCheck( Theory::Effort e ) {
return e>=Theory::EFFORT_FULL && !d_quant_to_reduce.empty();
}
+bool QuantDSplit::checkCompleteFor( Node q ) {
+ // true if we split q
+ return d_added_split.find( q )!=d_added_split.end();
+}
+
/* Call during quantifier engine's check */
void QuantDSplit::check( Theory::Effort e, unsigned quant_e ) {
//add lemmas ASAP (they are a reduction)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback