#! /usr/local/bin/tcsh -f
foreach Problem (0 1 2)
  if (! -e prob.30.$Problem) mkdir prob.30.$Problem
  # SeederTime 700 msec
  # HillClimbTime 160 msec
  # GeneticTime 90 msec
  foreach Trial (0 1 2 3 4)
    set SeederPause = 1400000
    set HillclimbPause = 1
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 2100000
    set HillclimbPause = 1
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 2800000
    set HillclimbPause = 1
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 3500000
    set HillclimbPause = 1
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 320000
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 480000
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 640000
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 800000
    set GeneticPause = 1
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause


    set SeederPause = 1
    set HillclimbPause = 1
    set GeneticPause = 180000
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 1
    set GeneticPause = 270000
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 1
    set GeneticPause = 360000
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

    set SeederPause = 1
    set HillclimbPause = 1
    set GeneticPause = 450000
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.3/test_prob.30.$Problem 30 300 -1 $SeederPause $HillclimbPause $GeneticPause | & tee prob.30.$Problem/prob$Problem.$Trial.$SeederPause.$HillclimbPause.$GeneticPause

  end
end
