dotty: switch to horizontal output and add options
* src/tgbaalgos/dotty.cc, src/tgbaalgos/dotty.hh: Add an options parameter. * src/bin/randaut.cc, src/bin/autfilt.cc, src/bin/dstar2tgba.cc, src/bin/ltl2tgba.cc, wrap/python/ajax/spot.in: Use it. * src/tgbatest/det.test, src/tgbatest/dstar.test, src/tgbatest/ltl2tgba.cc, src/tgbatest/monitor.test, src/tgbatest/neverclaimread.test, src/tgbatest/tgbaread.test, src/graphtest/tgbagraph.test: Adjust because automata are now output horizontally. * NEWS: Mention the change.
This commit is contained in:
parent
0842494fed
commit
0f178288c6
15 changed files with 143 additions and 55 deletions
|
|
@ -60,7 +60,8 @@ run 0 ../ltl2tgba -XD dra.dstar | tee stdout
|
|||
|
||||
cat >expected <<EOF
|
||||
digraph G {
|
||||
0 [label="", style=invis, height=0]
|
||||
rankdir=LR
|
||||
0 [label="", style=invis, width=0]
|
||||
0 -> 1
|
||||
1 [label="0"]
|
||||
1 -> 1 [label="a & !b"]
|
||||
|
|
@ -80,13 +81,14 @@ run 0 ../ltl2tgba -XDD dra.dstar | tee stdout
|
|||
|
||||
cat >expected <<EOF
|
||||
digraph G {
|
||||
0 [label="", style=invis, height=0]
|
||||
rankdir=LR
|
||||
0 [label="", style=invis, width=0]
|
||||
0 -> 1
|
||||
1 [label="0"]
|
||||
1 -> 1 [label="a & !b"]
|
||||
1 -> 2 [label="b"]
|
||||
2 [label="1", peripheries=2]
|
||||
2 -> 2 [label="1\n{0}"]
|
||||
2 -> 2 [label="1"]
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
@ -123,7 +125,8 @@ run 0 ../ltl2tgba -XDB dsa.dstar | tee stdout
|
|||
|
||||
cat >expected <<EOF
|
||||
digraph G {
|
||||
0 [label="", style=invis, height=0]
|
||||
rankdir=LR
|
||||
0 [label="", style=invis, width=0]
|
||||
0 -> 1
|
||||
1 [label="0"]
|
||||
1 -> 2 [label="1"]
|
||||
|
|
@ -211,7 +214,8 @@ run 0 ../ltl2tgba -XDD dra.dstar | tee stdout
|
|||
|
||||
cat >expected <<EOF
|
||||
digraph G {
|
||||
0 [label="", style=invis, height=0]
|
||||
rankdir=LR
|
||||
0 [label="", style=invis, width=0]
|
||||
0 -> 1
|
||||
1 [label="0"]
|
||||
1 -> 2 [label="!a & !b"]
|
||||
|
|
@ -222,15 +226,15 @@ digraph G {
|
|||
2 -> 2 [label="!b"]
|
||||
2 -> 4 [label="b"]
|
||||
3 [label="2", peripheries=2]
|
||||
3 -> 2 [label="!a & !b\n{0}"]
|
||||
3 -> 3 [label="a & !b\n{0}"]
|
||||
3 -> 4 [label="!a & b\n{0}"]
|
||||
3 -> 5 [label="a & b\n{0}"]
|
||||
3 -> 2 [label="!a & !b"]
|
||||
3 -> 3 [label="a & !b"]
|
||||
3 -> 4 [label="!a & b"]
|
||||
3 -> 5 [label="a & b"]
|
||||
4 [label="3", peripheries=2]
|
||||
4 -> 4 [label="1\n{0}"]
|
||||
4 -> 4 [label="1"]
|
||||
5 [label="4", peripheries=2]
|
||||
5 -> 4 [label="!a\n{0}"]
|
||||
5 -> 5 [label="a\n{0}"]
|
||||
5 -> 4 [label="!a"]
|
||||
5 -> 5 [label="a"]
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
@ -256,7 +260,8 @@ run 0 ../ltl2tgba -XDD aut.dsa | tee stdout
|
|||
|
||||
cat >expected<<EOF
|
||||
digraph G {
|
||||
0 [label="", style=invis, height=0]
|
||||
rankdir=LR
|
||||
0 [label="", style=invis, width=0]
|
||||
0 -> 1
|
||||
1 [label="0"]
|
||||
1 -> 1 [label="1"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue