#!/bin/sh
-echo -e "screen\tboxes\tseconds"
+echo -e "screen\tboxes\tseconds\tsteps"
find ../sokobanzip/screens/ -type f | xargs -I{} \
bash -c 'echo -ne "{}\t" && grep -o "[*$]" {} | wc -l' | sort -k2 -nr |\
tac | cut -f1 | xargs -I{} bash -c \
'S1=`date +%s`;
- ./NuSMV <(<{} ./SokobanObjectwise) 2>&1>/dev/null;
+ STEPS=`./NuSMV <(<{} ./SokobanObjectwise) | grep -c State`;
S2=`date +%s`;
- echo -e "$(basename {})\t$(grep -o "[*$]" {} | wc -l)\t$((S2-S1))"'
+ echo -e "$(basename {})\t$(grep -o "[*$]" {} | wc -l)\t$((S2-S1))\t$STEPS"'