Improve purge_unreachable_states()

* NEWS: document it
* spot/twa/twagraph.hh, spot/twa/twagraph.cc: implement it
* tests/core/tgbagraph.test, tests/core/twagraph.cc: test it
This commit is contained in:
Maximilien Colange 2018-02-23 11:39:17 +01:00
parent d08ca97624
commit d44cc82eb7
5 changed files with 35 additions and 4 deletions

5
NEWS
View file

@ -6,6 +6,11 @@ New in spot 2.5.1.dev (not yet released)
remove from the acceptance condition the parity colors that are
not used in the automaton.
- twa_graph::purge_unreachable_states() now takes a function which
is called with the new numbering of states. This is useful to
update an external structure that references states of the twa
that we want to purge.
New in spot 2.5.1 (2018-02-20)
Library: