#! /usr/local/bin/tcsh -f
set Team = 1
set MemorySize = 30
set TimeSecs = 300
set ProblemSize = 35
foreach ProblemNum ( 0 1 2 3 4 5 6 7 8 9 )
    set ProblemFile = Test_problems/test_prob.$ProblemSize.$ProblemNum
    echo "Starting execution of experiment " $ProblemFile
    wait_for_input
    if ($Team == 1) then
	set DataFile = `echo $ProblemFile | sed 's/Test_problems\//Tests.HumanTeam\//g'`
    else
	set DataFile = `echo $ProblemFile | sed 's/Test_problems\//Tests.Human\//g'`
    endif
    pack $ProblemFile $MemorySize $TimeSecs $Team -1 |& tee $DataFile
end
# clean up
unset Team
unset MemorySize
unset TimeSecs
unset ProblemSize
unset ProblemFile
unset DataFile
unset ProblemNum
