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 ./tool -r $RANDOM > /dev/null 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 " " echo "Time to run KEYS 100 times:" time keys #echo " " #echo "Time to run SimpleSA 100 times:" #time sa