Forgot to check this in with the header file. Switching GAMMA to GAMMA_MEM
authorSameer Kumar <skumar2@uiuc.edu>
Mon, 14 Mar 2005 20:12:57 +0000 (20:12 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Mon, 14 Mar 2005 20:12:57 +0000 (20:12 +0000)
src/ck-com/AAPLearner.C

index 990a7651b199cfa3c7f7a9389249fbb8541a73a1..68e8add4b7e6edef9e1fcf6f465fb53be7506e5c 100644 (file)
@@ -132,11 +132,11 @@ double AAPLearner::computeHypercube(double P, double m, double d) {
     
     if(d >= P/2) {
       cost = log_2_P * alpha;
-      cost += (P/2) * log_2_P * m * (beta + GAMMA_NIC + GAMMA);
+      cost += (P/2) * log_2_P * m * (beta + GAMMA_NIC + GAMMA_MEM);
     }
     else {
       cost = log_2_P * alpha;
-      cost += log_2_P * d * m * (beta + GAMMA_NIC + GAMMA);
+      cost += log_2_P * d * m * (beta + GAMMA_NIC + GAMMA_MEM);
     }
     
     return cost + d * ALPHA_CHARM;