honor ap() when counting transitions
Fixing this bug alone revealed another bug: parsing never claim or LBTT automata did not register APs. So this fixes both bugs. This is the first part of #170. * spot/twa/twa.hh (register_aps_from_dict): New method. * spot/parseaut/parseaut.yy: Call it for never claim and LBTT files. * spot/twaalgos/stats.cc: Simplify using ap_vars(). * tests/core/ltl2tgba.test: Add a test case. * NEWS: Mention the bugs.
This commit is contained in:
parent
4f913c7fb5
commit
dad17b36b8
5 changed files with 40 additions and 18 deletions
6
NEWS
6
NEWS
|
|
@ -17,6 +17,12 @@ New in spot 2.0.0a (not yet released)
|
|||
* Fix autfilt to apply --simplify-exclusive-ap only after
|
||||
the simplifications of (--small/--deterministic) have
|
||||
been performed.
|
||||
* The automaton parser did not fully register atomic propositions
|
||||
for automata read from never claim or as LBTT.
|
||||
* The sub_stats_reachable() function used to count the number
|
||||
of transitions based on the number of atomic propositions
|
||||
actually *used* by the automaton instead of using the number
|
||||
of AP declared.
|
||||
|
||||
New in spot 2.0 (2016-04-11)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue