dot: display Rabin-like and Streett-like acceptances

* spot/twaalgos/dot.cc (print_acceptance_for_human): Add Rabin-like
and Streett-like checks.
* tests/core/sccdot.test, tests/python/decompose.ipynb,
tests/python/randaut.ipynb, tests/core/alternating.test: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-30 13:52:20 +02:00
parent ed361bb0a9
commit 205294c2c2
5 changed files with 120 additions and 108 deletions

View file

@ -559,10 +559,11 @@ EOF
run 0 autfilt --dot='sbarf(Lato)' ex7 > ex7.dot
color='<font color="#1F78B4">⓿</font>'
color1='<font color="#FF4DA0">❶</font>'
cat >expect7.dot<<EOF
digraph G {
rankdir=LR
label=<Fin(<font color="#FF4DA0">❶</font>) &amp; Fin($color)>
label=<Fin($color1) &amp; Fin($color)<br/>[Streett-like 2]>
labelloc="t"
fontname="Lato"
node [fontname="Lato"]
@ -658,7 +659,7 @@ run 0 autfilt --dot='sbarf(Lato)' ex8 > ex8.dot
cat >expect8.dot<<EOF
digraph G {
rankdir=LR
label=<Fin(<font color="#FF4DA0">❶</font>) &amp; Fin($color)>
label=<Fin($color1) &amp; Fin($color)<br/>[Streett-like 2]>
labelloc="t"
fontname="Lato"
node [fontname="Lato"]

View file

@ -74,7 +74,7 @@ run 0 autfilt --dot=as in.hoa > out.dot
cat <<EOF >expected
digraph G {
rankdir=LR
label="(Inf(0)&Inf(1)) & Fin(2)"
label="(Inf(0)&Inf(1)) & Fin(2)\n[Streett-like 3]"
labelloc="t"
node [shape="circle"]
I [label="", style=invis, width=0]