sbacc: improve using SCCs and common marks
* spot/twaalgos/sbacc.cc: Here. * tests/core/parseaut.test, tests/python/automata.ipynb: Adjust. * tests/core/sbacc.test: Likewise + more tests. * NEWS: Mention it.
This commit is contained in:
parent
d271dfd592
commit
d2068bb1a0
5 changed files with 157 additions and 115 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2015 Laboratoire de Recherche et Développement
|
||||
# Copyright (C) 2015, 2016 Laboratoire de Recherche et Développement
|
||||
# de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -37,26 +37,26 @@ Acceptance: 2 Inf(0)&Inf(1)
|
|||
properties: trans-labels explicit-labels state-acc complete
|
||||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0 {0 1}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 1
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 2 {1}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 3 {0}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 0 {0}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 1 {0 1}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 2
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 3 {1}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
--END--
|
||||
EOF
|
||||
|
||||
|
|
@ -91,9 +91,9 @@ properties: trans-labels explicit-labels state-acc deterministic
|
|||
--BODY--
|
||||
State: 0 {1}
|
||||
[0] 1
|
||||
State: 1
|
||||
State: 1 {0}
|
||||
[0] 2
|
||||
State: 2 {0}
|
||||
State: 2 {0 1}
|
||||
[0] 0
|
||||
--END--
|
||||
EOF
|
||||
|
|
@ -124,4 +124,8 @@ EOF
|
|||
diff out.hoa expected
|
||||
|
||||
randltl --weak-fairness -n 20 2 |
|
||||
ltlcross "$ltl2tgba -DH %f >%O" "$ltl2tgba -H %f | $autfilt -H >%O"
|
||||
ltlcross "$ltl2tgba -DH %f >%O" \
|
||||
"$ltl2tgba -S %f >%O" \
|
||||
"$ltl2tgba -H %f | $autfilt -H >%O"
|
||||
|
||||
test 4 = `ltl2tgba -S 'F(a & X(!a &Xb))' --any --stats=%s`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue