fix ignored aborter in WDBA-minimization
Fixes #443, reported by Roei Nahum. (However the fix only works for the development version, where wdba-det-max was introduced to work around that kind of problem.) * spot/twaalgos/minimize.cc: Avoid aborter being implicitly converted to Boolean. * tests/core/ltl2tgba2.test: Add test case. * THANKS: Add Roei Nahum.
This commit is contained in:
parent
9da0b3a1c4
commit
eeaed5592f
3 changed files with 6 additions and 2 deletions
1
THANKS
1
THANKS
|
|
@ -40,6 +40,7 @@ Ming-Hsien Tsai
|
|||
Nikos Gorogiannis
|
||||
Paul Guénézan
|
||||
Reuben Rowe
|
||||
Roei Nahum
|
||||
Rüdiger Ehlers
|
||||
Silien Hong
|
||||
Simon Jantsch
|
||||
|
|
|
|||
|
|
@ -386,7 +386,6 @@ namespace spot
|
|||
twa_graph_ptr det_a;
|
||||
|
||||
{
|
||||
power_map pm;
|
||||
bool input_is_det = is_deterministic(a);
|
||||
if (input_is_det)
|
||||
{
|
||||
|
|
@ -394,7 +393,7 @@ namespace spot
|
|||
}
|
||||
else
|
||||
{
|
||||
det_a = tgba_powerset(a, pm, aborter);
|
||||
det_a = tgba_powerset(a, aborter);
|
||||
if (!det_a)
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -474,3 +474,7 @@ test "4,1" = `ltl2tgba -D --med "$f" --stats=%s,%d`
|
|||
# Issue #418.
|
||||
f='(G!a | G!b | G!c) & (FG!a2 | GFb2 | GFc2) & (GFc2 | FG!b2 | GFa2)'
|
||||
test 28 = `ltl2tgba -D -G -S --stats=%s "$f"`
|
||||
|
||||
# Issue #443. This used to be too long.
|
||||
f='(!(G({(a)} |=> {(b)[*32]})))'
|
||||
test 34 = `ltl2tgba -B --stats=%s "$f"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue