record properties as side-effect of is_deterministic() / is_weak() / ...

Fixes #165.

* spot/twaalgos/isdet.cc, spot/twaalgos/strength.cc: Here.
* spot/twaalgos/isdet.hh, spot/twaalgos/strength.hh, NEWS: Document it.
* spot/twaalgos/hoa.cc: Fix output of negated properties.
* tests/core/readsave.test: New test case.
This commit is contained in:
Alexandre Duret-Lutz 2016-05-08 15:31:15 +02:00
parent b708ab778f
commit 73621e8f17
7 changed files with 49 additions and 11 deletions

4
NEWS
View file

@ -49,6 +49,10 @@ New in spot 2.0a (not yet released)
is still the default, but we plan to default to version 1.1 in the
future.
* is_deterministic(), is_terminal(), is_weak(), and
is_inherently_weak() will update the corresponding properties of
the automaton as a side-effect of their check.
* twa::unregister_ap() and twa_graph::remove_unused_ap() are new
methods introduced to fix some of the bugs below.