Diff of /src/validate_pdf.sh [r75] .. [r76] Maximize Restore

  Switch to side-by-side view

--- a/src/validate_pdf.sh
+++ b/src/validate_pdf.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-ALGTYPE=5
+ALGTYPE=6
 NDIV=5
 NSAMP=100
 
@@ -77,8 +77,8 @@
   agf_preprocess -C -d $NDIV $1 $TRAINBASE
   TESTFILE=${SIM_BASE}-$(date +%N).vec
   DELTEST=1
-  echo "${PDF_SIM} -s $NSAMP $AGFOPTS $1 $TESTFILE"
-  ${PDF_SIM} -s $NSAMP $AGFOPTS $1 $TESTFILE
+  echo "${SIM_COM} -s $NSAMP $AGFOPTS $1 $TESTFILE"
+  ${SIM_COM} -s $NSAMP $AGFOPTS $1 $TESTFILE
   for ((I=1; I<=$NTEST; I++))
   do
     TRAINFILE[$I]=$TRAINBASE-$(printf "%2.2d" $((I-1))).vec
@@ -95,14 +95,14 @@
   TESTFILE=$1
 fi
 
-if [ $ALGTYPE -eq 5 ]
+if [ $ALGTYPE -eq 6 ]
 then
-  COMMAND="${PDF_AGF} $NFLAG $KOPT $AGFOPTS"
-elif [ $ALGTYPE -eq 6 ]
+  COMMAND="${AGF_COM} $NFLAG $KOPT $AGFOPTS"
+elif [ $ALGTYPE -eq 7 ]
 then
-  COMMAND="${PDF_KNN} $NFLAG $KOPT"
+  COMMAND="${KNN_COM} $NFLAG $KOPT"
 else
-  COMMAND="${PDF_AGF} $NFLAG $KOPT $AGFOPTS"
+  COMMAND="${AGF_COM} $NFLAG $KOPT $AGFOPTS"
 fi
 
 for ((I=1; I<=$NTEST; I++))