improve fuse_marks_here by detecting more patterns
This remove some restrictions that prevented fuse_marks_here from simplifying certain patterns, as noted in the first comment of issue #405. * spot/twaalgos/cleanacc.cc (find_interm_rec, find_fusable): Remove some unnecessary restrictions to singleton marks, and replace the hack put one non-singleton mark at the beginning of the singleton list by a sort. * tests/python/simplacc.py: Add two test cases. * tests/python/automata.ipynb, tests/core/remfin.test: Improve expected results. * NEWS: Mention the bug.
This commit is contained in:
parent
645935f796
commit
260a141b1c
5 changed files with 87 additions and 70 deletions
6
NEWS
6
NEWS
|
|
@ -42,6 +42,12 @@ New in spot 2.9.0.dev (not yet released)
|
|||
bits. This affects the output of "ltlcross --csv" and
|
||||
"--stats=%t" for many tools.
|
||||
|
||||
- simplify_acceptance() missed some patterns it should have been
|
||||
able to simplify. For instance Fin(0)&(Fin(1)|Fin(2)|Fin(4))
|
||||
should simplify to Fin(1)|Fin(2)|Fin(4) adter adding {1,2,4} to
|
||||
every place where 0 occur, and then the acceptance would be
|
||||
renumbered to Fin(0)|Fin(1)|Fin(2). This is now fixed.
|
||||
|
||||
New in spot 2.9 (2020-04-30)
|
||||
|
||||
Command-line tools:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue