autfilt: add --remove-unused-ap

Part of #170.

* bin/autfilt.cc: Here.
* tests/core/remprop.test: Test it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2016-05-01 13:03:18 +02:00
parent 1c2c914d7e
commit 95d16ba009
3 changed files with 53 additions and 2 deletions

5
NEWS
View file

@ -10,6 +10,11 @@ New in spot 2.0a (not yet released)
--rejecting-sccs=RANGE, trivial-sccs=RANGE, --terminal-sccs=RANGE,
--weak-sccs=RANGE, --inherently-weak-sccs=RANGE).
* autfilt --remove-unused-ap can be used to remove atomic
proposition that are declared in the input automaton, but not
actually used. This of course makes sense only for input/output
formats that declare atomic proposition (HOA & DSTAR).
Library:
* The print_hoa() function will now output version 1.1 of the HOA