autfilt: add --unused-ap and --used-ap

Last part of #170.

* bin/autfilt.cc: Implement the new options.
* tests/core/remprop.test: Add a quick test.
* NEWS: Mention these options.
This commit is contained in:
Alexandre Duret-Lutz 2016-05-01 13:27:40 +02:00
parent 95d16ba009
commit f5bfc07cfc
3 changed files with 53 additions and 3 deletions

5
NEWS
View file

@ -15,6 +15,11 @@ New in spot 2.0a (not yet released)
actually used. This of course makes sense only for input/output
formats that declare atomic proposition (HOA & DSTAR).
* autfilt has two new options to filter automata by count of used or
unused atomic propositions: --used-ap=RANGE --unused-ap=RANGE.
These differ from --ap=RANGE that only consider *declared* atomic
propositions, regardless of whether they are actually used.
Library:
* The print_hoa() function will now output version 1.1 of the HOA