Degeneralization keeps track of levels.

* NEWS: Document this.
* spot/twa/twagraph.cc: `copy_state_names_from` handles this new info.
* spot/twaalgos/degen.hh, spot/twaalgos/degen.cc: Implement it.
* tests/python/origstate.py, tests/python/simstate.py: Update tests to
  reflect the change.
This commit is contained in:
Maximilien Colange 2017-05-31 11:11:31 +02:00
parent 7b5ab54530
commit f7d14ab526
6 changed files with 48 additions and 16 deletions

View file

@ -67,15 +67,15 @@ acc-name: Buchi
Acceptance: 1 Inf(0)
properties: trans-labels explicit-labels state-acc
--BODY--
State: 0 "0" {0}
State: 0 "0#1" {0}
[0] 0
[!0] 1
[1] 2
State: 1 "0"
State: 1 "0#0"
[0] 0
[!0] 1
[1] 2
State: 2 "1" {0}
State: 2 "1#1" {0}
[1] 2
--END--"""
@ -90,7 +90,7 @@ Acceptance: 1 Inf(0)
properties: trans-labels explicit-labels state-acc colored
properties: deterministic
--BODY--
State: 0 "1" {0}
State: 0 "1#1" {0}
[1] 0
--END--"""
assert aut2.to_str() == ref