added seed to AI evaluation to improve repeatability and allow us to find bugs

master
melvin 2011-06-04 16:58:06 +08:00
parent e37e1ae44c
commit ef77506140
1 changed files with 3 additions and 2 deletions

View File

@ -5,5 +5,6 @@
#$ -e /dev/null
#$ -o /dev/null
SGE_TASK_ID=100
pep=`head -$SGE_TASK_ID ~/magarena/exp/args | tail -1`
java -Xmx1G -cp ~/magarena/build magic.DeckStrCal $pep > $SGE_TASK_ID.out 2> $SGE_TASK_ID.err
args=`head -$SGE_TASK_ID ~/magarena/exp/args | tail -1`
echo $args
java -Xmx256M -DrndSeed=$SGE_TASK_ID -cp ~/magarena/build magic.DeckStrCal $args > $SGE_TASK_ID.out 2> $SGE_TASK_ID.err