Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/lamont/test/reduction/sum-reduction.diderot
ViewVC logotype

Diff of /branches/lamont/test/reduction/sum-reduction.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2617, Wed May 14 13:19:54 2014 UTC revision 2618, Wed May 14 17:49:03 2014 UTC
# Line 24  Line 24 
24          if(steps >= 1) {          if(steps >= 1) {
25              sum = gSum;              sum = gSum;
26              if(id == 0){              if(id == 0){
27                print("gSum =", gSum, "\n");                print("gSum =", gSum, "gMin", gMin,"\n");
28              }              }
29              stabilize;              stabilize;
30           }           }
# Line 45  Line 45 
45  } */  } */
46    
47  global {  global {
48    gSum = sum{S.num + 5 | S in Reduction.all};    gSum = sum{S.num + 5 | S in Reduction.all} + sum{S.num + 9 | S in Reduction.all};
49    gMin = (5 * min{S.num + gSum + 2 | S in Reduction.all}) + 24;    gMin = (5 * min{S.num + gSum + 2 | S in Reduction.all}) + 24;
50    steps= 1;    steps= 1;
51    

Legend:
Removed from v.2617  
changed lines
  Added in v.2618

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0