strength: fix is_terminal()
Fix #198. Reported by Maximilien Colange. * spot/twaalgos/strength.cc (is_terminal): Test that no accepting transition lead to a rejecting SCC. * tests/core/strength.test: Add test case. * spot/twaalgos/strength.hh, spot/twa/twa.hh, doc/org/concepts.org: Adjust documentation. * NEWS: Mention the fix.
This commit is contained in:
parent
2fbc75f439
commit
9bc978a90f
6 changed files with 133 additions and 15 deletions
5
NEWS
5
NEWS
|
|
@ -5,6 +5,11 @@ New in spot 2.2.1.dev (Not yet released)
|
|||
* scc_filter() had a left-over print statement that would print
|
||||
"names" when copying the name of the states.
|
||||
|
||||
* is_terminal() should reject automata that have accepting
|
||||
transitions going into rejecting SCCs. The whole point of
|
||||
being a terminal automaton is that reaching an accepting
|
||||
transition guarantees that any suffix will be accepted.
|
||||
|
||||
New in spot 2.2.1 (2016-11-21)
|
||||
|
||||
Bug fix:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue