summaryrefslogtreecommitdiff
path: root/src/theory/theory.h
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-11-03 15:09:12 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-11-03 15:09:26 -0500
commitb6d5d0b11cf7624cd7a3e0a2f6f77d83d2f7001a (patch)
treeb0e5acbce9023c28bf1bb85eee5da97b79c94561 /src/theory/theory.h
parent8a8455d955c084c9a9f7add1f4e4da6b1dbc35eb (diff)
Add priorities to getNextDecision. Properly handle case for finite types + unbounded heaps in sep logic. Fix another simple memory leak in sygus.
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r--src/theory/theory.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h
index 28552ed79..ffcec7c0c 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -604,8 +604,12 @@ public:
/**
* Return a decision request, if the theory has one, or the NULL node
* otherwise.
+ * If returning non-null node, hould set priority to
+ * 0 if decision is necessary for model-soundness,
+ * 1 if decision is necessary for completeness,
+ * >1 otherwise.
*/
- virtual Node getNextDecisionRequest() { return Node(); }
+ virtual Node getNextDecisionRequest( unsigned& priority ) { return Node(); }
/**
* Statically learn from assertion "in," which has been asserted
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback