mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
Datalog improvements:
- add cancel status - display statistics on cancel (by me & Nikolaj) Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
This commit is contained in:
parent
25a41d48dc
commit
1cece1c1fb
10 changed files with 142 additions and 77 deletions
|
@ -265,7 +265,7 @@ namespace datalog {
|
|||
expr_ref fml(m);
|
||||
reset();
|
||||
rule_set * result = alloc(rule_set, m_context);
|
||||
for (unsigned i = 0; i < sz; ++i) {
|
||||
for (unsigned i = 0; !m_context.canceled() && i < sz; ++i) {
|
||||
rule * r = source.get_rule(i);
|
||||
r->to_formula(fml);
|
||||
if (blast(r, fml)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue