ltlsynt: overhaul CSV output
Previous output was not very usable in presence of decomposed specifications. We now keep track of the number of parts, and also prefix the columns names with "max_" or "sum_" to indicate how their statistics are updated in presence of multiple part. Other missing statistics, like the size of the translated automaton, or maximal number of colors seen in a game, have been added. * spot/twaalgos/synthesis.hh (bench_var): Rename, augment, and document each statistsic. * spot/twaalgos/mealy_machine.cc, spot/twaalgos/synthesis.cc, bin/ltlsynt.cc: Adjust to the new naming scheme. * doc/org/ltlsynt.org: Show a CSV file, and document its columns. * tests/core/ltlsynt-pgame.test, tests/core/ltlsynt2.test, tests/core/ltlsynt.test: Adjust test cases. * NEWS: Mention the backward incompatible change.
This commit is contained in:
parent
b729aa3f30
commit
5488cb75c6
9 changed files with 352 additions and 164 deletions
|
|
@ -145,11 +145,12 @@ ltlsynt --from-pgame starve.ehoa \
|
|||
--from-pgame UnderapproxDemo2.ehoa \
|
||||
--from-pgame aut7.hoa --csv-without-formula=out.csv >result || :
|
||||
test 4 = `wc -l < out.csv`
|
||||
cut -d, -f 9,10,11,12,13 <out.csv >right
|
||||
cut -d, -f 1,2,7,8,9,10,11,12,13 <out.csv >right
|
||||
REST=strat_states,max_strat_edges,max_simpl_strat_states,max_simpl_strat_edges
|
||||
cat >expect <<EOF
|
||||
"realizable","game_states","game_states_env","strat_states","strat_edges"
|
||||
1,4,2,1,2
|
||||
0,9,4,0,0
|
||||
0,10,5,0,0
|
||||
source,split,realizable,max_game_states,max_game_colors,max_$REST
|
||||
"starve.ehoa:1.1-18.7",auto,1,4,3,1,2,1,2
|
||||
"UnderapproxDemo2.ehoa:1.1-25.7",auto,0,9,3,0,0,0,0
|
||||
"aut7.hoa:1.1-23.7",auto,0,10,1,0,0,0,0
|
||||
EOF
|
||||
diff right expect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue