summaryrefslogtreecommitdiff
path: root/src/theory/theory.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-08-16 21:30:41 +0000
committerMorgan Deters <mdeters@gmail.com>2012-08-16 21:30:41 +0000
commitdd30200795d4b37398c29f0d20998c9bd63a7fe7 (patch)
tree494e235520553c0f20654bb991e8359e6b0f1b9e /src/theory/theory.h
parentd260caa58d462f7e1eb0d94f73789f844f5f5596 (diff)
Replace propagateAsDecision() with Theory::getNextDecisionRequest():
* arrays now uses the new approach by using a CDQueue<> * uf strong solver has had the feature disabled, pending a merge from Andy * theory kinds files now have a getNextDecisionRequest property (if you want to take part in such decision requests you have to list that property) * the staticLearning property has been renamed ppStaticLearn to match the function name * theory kinds files are now checked again for correctly-declared properties (this had been disabled) * minor documentation and other fixups
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r--src/theory/theory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h
index 397f7cff7..46244aec6 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -560,6 +560,12 @@ public:
}
/**
+ * Return a decision request, if the theory has one, or the NULL node
+ * otherwise.
+ */
+ virtual Node getNextDecisionRequest() { return Node(); }
+
+ /**
* Statically learn from assertion "in," which has been asserted
* true at the top level. The theory should only add (via
* ::operator<< or ::append()) to the "learned" builder---it should
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback