summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/bounded_integers.cpp
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/quantifiers/bounded_integers.cpp
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/quantifiers/bounded_integers.cpp')
-rw-r--r--src/theory/quantifiers/bounded_integers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/bounded_integers.cpp b/src/theory/quantifiers/bounded_integers.cpp
index 54853ceaf..dc0019383 100644
--- a/src/theory/quantifiers/bounded_integers.cpp
+++ b/src/theory/quantifiers/bounded_integers.cpp
@@ -417,7 +417,7 @@ void BoundedIntegers::assertNode( Node n ) {
d_assertions[nlit] = n.getKind()!=NOT;
}
-Node BoundedIntegers::getNextDecisionRequest() {
+Node BoundedIntegers::getNextDecisionRequest( unsigned& priority ) {
Trace("bound-int-dec-debug") << "bi: Get next decision request?" << std::endl;
for( unsigned i=0; i<d_ranges.size(); i++) {
Node d = d_rms[d_ranges[i]]->getNextDecisionRequest();
@@ -435,6 +435,7 @@ Node BoundedIntegers::getNextDecisionRequest() {
i--;
}
}else{
+ priority = 1;
Trace("bound-int-dec") << "Bounded Integers : Decide " << d << std::endl;
return d;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback