#! /usr/local/bin/tcsh -f
foreach Problem (0)
  if (! -e prob.30.$Problem) mkdir prob.30.$Problem
  ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 1 22 -1 | & tee prob.30.$Problem/prob$Problem.1.22
  foreach Trial (2 3 4)
    foreach Seed (-1 22)
      echo "running trial " $Trial " for problem " $Problem
#    ../wait_for_input
      ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 1 $Seed -1 | & tee prob.30.$Problem/prob$Problem.$Trial.$Seed
      end
    end
  end
end
