convert: twacube to twa translation
* spot/twacube_algos/convert.cc, spot/twacube_algos/convert.hh, tests/core/twacube.cc, tests/core/twacube.test: here.
This commit is contained in:
parent
aceb37ab50
commit
b87693bcc3
4 changed files with 73 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ int main()
|
|||
<< std::endl;
|
||||
}
|
||||
|
||||
spot::print_dot(std::cout, spot::twacube_to_twa(aut));
|
||||
delete aps;
|
||||
delete aut;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,24 @@ init : 0
|
|||
2 0 p1 {0,1}
|
||||
2 1 p1&p2 {}
|
||||
2 0 !p1&p2 {0,1}
|
||||
digraph G {
|
||||
rankdir=LR
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0"]
|
||||
0 -> 0 [label="!p1 & !p2"]
|
||||
0 -> 1 [label="p1"]
|
||||
0 -> 2 [label="p2\n{1}"]
|
||||
1 [label="1"]
|
||||
1 -> 2 [label="p1 & p2\n{0}"]
|
||||
2 [label="2"]
|
||||
2 -> 0 [label="!p1 & p2\n{0,1}"]
|
||||
2 -> 0 [label="p1\n{0,1}"]
|
||||
2 -> 1 [label="!p1"]
|
||||
2 -> 1 [label="p1 & p2"]
|
||||
2 -> 2 [label="1\n{0,1}"]
|
||||
}
|
||||
EOF
|
||||
|
||||
diff stdout expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue