degen: fix handling of degen-lcache=1

* spot/twaalgos/degen.cc: Here.
* tests/core/degendet.test: Add test case.
* tests/core/ltl2ta.test: Adjust expected output.
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2016-06-21 18:03:02 +02:00
parent 488ef820d5
commit 205e2116d1
4 changed files with 38 additions and 20 deletions

9
NEWS
View file

@ -75,6 +75,15 @@ New in spot 2.0.1a (not yet released)
* A new example page shows how to test the equivalence of
two LTL/PSL formulas. https://spot.lrde.epita.fr/tut04.html
Bug fixes:
* The degen-lcache=1 option of the degeneralization algorithm (which
is a default option) did not behave exactly as documented: instead
of reusing the first level ever created for a state where the
choice of the level is free, it used the last level used. This
caused some posterior simulation-based reductions to be less
efficient at reducing automata (on the average).
New in spot 2.0.2 (2016-06-17)
Documentation: