twagraph: new kill_state method
This proceeds from a discussion with Michaël Cadilhac. http://lists.lrde.epita.fr/pipermail/spot/2021q1/000356.html * bin/autfilt.cc (--kill-states): New option. * NEWS: Mention those. * spot/twa/twagraph.hh, spot/twa/twagraph.cc: Add a kill_state() method. * tests/core/maskkeep.test: Test it.
This commit is contained in:
parent
da0dd4c534
commit
caa960d857
5 changed files with 100 additions and 0 deletions
6
NEWS
6
NEWS
|
|
@ -31,6 +31,8 @@ New in spot 2.9.6.dev (not yet released)
|
|||
--sbacc (an alias for --state-based-acceptance) cannot be
|
||||
abbreviated as --sba anymore.
|
||||
|
||||
- autfilt learned a --kill-states=NUM[,NUM...] option.
|
||||
|
||||
Library:
|
||||
|
||||
- Historically, Spot labels automata by Boolean formulas over
|
||||
|
|
@ -176,6 +178,10 @@ New in spot 2.9.6.dev (not yet released)
|
|||
- twa_graph::merge_edges() had its two passes swapped. Doing so
|
||||
improves the determinism of some automata.
|
||||
|
||||
- twa_graph::kill_state(num) is a new method that removes the
|
||||
outgoing edge of some state. It can be used together with
|
||||
purge_dead_states() to remove selected states.
|
||||
|
||||
Python:
|
||||
|
||||
- Bindings for functions related to games.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue