monitor: fix -MD/-M difference in property output

Fixes #241.

* spot/twaalgos/postproc.cc: Use the deterministic monitor if it
has as many states as the non-deterministic one.
* spot/twaalgos/minimize.cc (minimize_monitor): Quickly check
for terminal automata.
* spot/twaalgos/stripacc.cc: Set the weak property.
* spot/twaalgos/stripacc.hh: Improve documentation.
* tests/core/monitor.test, tests/core/sbacc.test: Update.
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-03 18:23:57 +01:00
parent 3699e6cd0c
commit a66e7704d8
7 changed files with 37 additions and 8 deletions

View file

@ -141,7 +141,7 @@ Start: 0
AP: 1 "a"
acc-name: all
Acceptance: 0 t
properties: trans-labels explicit-labels state-acc deterministic
properties: trans-labels explicit-labels state-acc deterministic weak
--BODY--
State: 0
[0] 1