Ten="1 2 3 4 5 6 7 8 9 10" walks() { for i in $Ten; do for j in $Ten; do ./maxfunwalk -seed $RANDOM -cost 100000 -attainment 300 -maxtries 100 -maxchanges 100 > /dev/null done done } astar() { for i in $Ten; do for j in $Ten; do ./astar -seed $RANDOM -cost 0 -attainment 300 > /dev/null done done } keys() { for i in $Ten; do for j in $Ten; do ./tool21 -r $RANDOM >> report/run21.csv ./tool22 -r $RANDOM >> report/run22.csv ./tool24 -r $RANDOM >> report/run24.csv ./tool28 -r $RANDOM >> report/run28.csv ./tool216 -r $RANDOM >> report/run216.csv ./tool41 -r $RANDOM >> report/run41.csv ./tool42 -r $RANDOM >> report/run42.csv ./tool44 -r $RANDOM >> report/run44.csv ./tool48 -r $RANDOM >> report/run48.csv ./tool416 -r $RANDOM >> report/run416.csv ./tool51 -r $RANDOM >> report/run51.csv ./tool52 -r $RANDOM >> report/run52.csv ./tool54 -r $RANDOM >> report/run54.csv ./tool58 -r $RANDOM >> report/run58.csv done done } sa() { for i in $Ten; do for j in $Ten; do ./simplesa -l 250000 -c 200000 -a 300 -r $RANDOM > /dev/null done done } #echo "Time to run MaxFunWalk 100 times:" #time walks #echo " " #echo "Time to run astar 100 times:" #time astar #echo " " keys #echo " " #echo "Time to run SimpleSA 100 times:" #time sa