diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-03 15:09:12 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-03 15:09:26 -0500 |
commit | b6d5d0b11cf7624cd7a3e0a2f6f77d83d2f7001a (patch) | |
tree | b0e5acbce9023c28bf1bb85eee5da97b79c94561 /src/theory/quantifiers/bounded_integers.cpp | |
parent | 8a8455d955c084c9a9f7add1f4e4da6b1dbc35eb (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.cpp | 3 |
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; } |