strength: generalize is_safety_automaton to any type of automata

Reported by Samuel Judson.

* spot/twaalgos/strength.cc (is_safety_automaton): Reimplement it.
* spot/twaalgos/strength.hh (is_safety_automaton): Update
documentation.
* tests/python/safety.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention this change.
* THANKS: Add Samuel.
This commit is contained in:
Alexandre Duret-Lutz 2023-12-16 00:09:24 +01:00
parent e8c2b27ad2
commit 983964d037
6 changed files with 122 additions and 16 deletions

1
THANKS
View file

@ -56,6 +56,7 @@ Raven Beutner
Reuben Rowe
Roei Nahum
Rüdiger Ehlers
Samuel Judson
Shachar Itzhaky
Shengping Shaw
Shufang Zhu