merge_states: include sorting and detection of identical self-loops
* spot/twa/twagraph.cc: Implement it. * spot/twa/twagraph.hh, NEWS: Document it. * tests/python/mergedge.py: Test it. * tests/core/ltlsynt.test, tests/python/games.ipynb: Adjust expectations.
This commit is contained in:
parent
e12f22f82a
commit
634dd28379
6 changed files with 89 additions and 27 deletions
|
|
@ -960,23 +960,23 @@
|
|||
"[!0] 3 {1}\n",
|
||||
"[0] 4 {1}\n",
|
||||
"State: 2\n",
|
||||
"[0] 4 {1}\n",
|
||||
"[!0] 5 {1}\n",
|
||||
"[0] 4 {1}\n",
|
||||
"State: 3\n",
|
||||
"[!1] 6 {1}\n",
|
||||
"[1] 7 {2}\n",
|
||||
"State: 4\n",
|
||||
"[t] 8 {2}\n",
|
||||
"State: 5\n",
|
||||
"[1] 7 {2}\n",
|
||||
"[!1] 6 {1}\n",
|
||||
"[1] 7 {2}\n",
|
||||
"State: 6\n",
|
||||
"[t] 3 {1}\n",
|
||||
"State: 7\n",
|
||||
"[t] 5 {2}\n",
|
||||
"State: 8\n",
|
||||
"[0] 4 {2}\n",
|
||||
"[!0] 9 {1}\n",
|
||||
"[0] 4 {2}\n",
|
||||
"State: 9\n",
|
||||
"[t] 10 {1}\n",
|
||||
"State: 10\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue