ltlsynt: display ACD instead of LAR when needed
* spot/twaalgos/synthesis.cc: here * tests/core/ltlsynt.test: add test
This commit is contained in:
parent
5f43c9bfce
commit
55aac8e107
2 changed files with 28 additions and 1 deletions
|
|
@ -1022,7 +1022,8 @@ namespace spot
|
||||||
if (bv)
|
if (bv)
|
||||||
bv->paritize_time += sw.stop();
|
bv->paritize_time += sw.stop();
|
||||||
if (vs)
|
if (vs)
|
||||||
*vs << "LAR construction done in " << bv->paritize_time
|
*vs << (gi.s == algo::ACD ? "ACD" : "LAR")
|
||||||
|
<< " construction done in " << bv->paritize_time
|
||||||
<< " seconds\nDPA has "
|
<< " seconds\nDPA has "
|
||||||
<< dpa->num_states() << " states, "
|
<< dpa->num_states() << " states, "
|
||||||
<< dpa->num_sets() << " colors\n";
|
<< dpa->num_sets() << " colors\n";
|
||||||
|
|
|
||||||
|
|
@ -903,3 +903,29 @@ EOF
|
||||||
|
|
||||||
sed 's/ [0-9.e-]* seconds/ X seconds/g' out > outx
|
sed 's/ [0-9.e-]* seconds/ X seconds/g' out > outx
|
||||||
diff outx exp
|
diff outx exp
|
||||||
|
|
||||||
|
# ACD verbose
|
||||||
|
cat >exp <<EOF
|
||||||
|
translating formula done in X seconds
|
||||||
|
automaton has 1 states and 2 colors
|
||||||
|
ACD construction done in X seconds
|
||||||
|
DPA has 2 states, 2 colors
|
||||||
|
split inputs and outputs done in X seconds
|
||||||
|
automaton has 6 states
|
||||||
|
solving game with acceptance: parity max odd 4
|
||||||
|
game solved in X seconds
|
||||||
|
simplification took X seconds
|
||||||
|
translating formula done in X seconds
|
||||||
|
automaton has 1 states and 1 colors
|
||||||
|
ACD construction done in X seconds
|
||||||
|
DPA has 1 states, 0 colors
|
||||||
|
split inputs and outputs done in X seconds
|
||||||
|
automaton has 2 states
|
||||||
|
solving game with acceptance: Streett 1
|
||||||
|
game solved in X seconds
|
||||||
|
simplification took X seconds
|
||||||
|
EOF
|
||||||
|
ltlsynt -f '(GFa <-> GFb) && (Gc)' --outs=b,c --verbose --bypass=no\
|
||||||
|
--algo=acd 2> out
|
||||||
|
sed 's/ [0-9.e-]* seconds/ X seconds/g' out > outx
|
||||||
|
diff outx exp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue