src/benchmark/hcube.cc
changeset 1403 c479984e459d
parent 921 818510fa3d99
equal deleted inserted replaced
7:8440afc550a0 8:cb7f1b978135
    64   for(int i=0;i<5;i++) {
    64   for(int i=0;i<5;i++) {
    65     Primes P;
    65     Primes P;
    66     for(int i=0;i<dim*(1<<dim);i++) P();
    66     for(int i=0;i<dim*(1<<dim);i++) P();
    67     
    67     
    68     //  for(EdgeIt e(G);G.valid(e);G.next(e)) map[e]=P();
    68     //  for(EdgeIt e(G);G.valid(e);G.next(e)) map[e]=P();
    69     Edge te;
    69 
    70     for(int i=0;i<dim*(1<<dim);i++) {
    70     ///\todo It must have been commented out because of
    71       te.setToId(((long long int)(i)*93505)%(dim*(1<<dim)));
    71     ///setToId
    72       //    map[Edge(((long long int)(i)*2987)%(dim*(1<<dim)))]=P();
    72 //     Edge te;
    73       map[te]=P();
    73 //     for(int i=0;i<dim*(1<<dim);i++) {
    74     }
    74 //       te.setToId(((long long int)(i)*93505)%(dim*(1<<dim)));
       
    75 //       //    map[Edge(((long long int)(i)*2987)%(dim*(1<<dim)))]=P();
       
    76 //       map[te]=P();
       
    77 //     }
    75     
    78     
    76 //     for(int i=0;i<(1<<dim);i++) {
    79 //     for(int i=0;i<(1<<dim);i++) {
    77 //       int mul= (1<<(numOfZeros(i,dim)/4));
    80 //       int mul= (1<<(numOfZeros(i,dim)/4));
    78 //       for(OutEdgeIt e(G,nodes[i]);G.valid(e);G.next(e))
    81 //       for(OutEdgeIt e(G,nodes[i]);G.valid(e);G.next(e))
    79 // 	map[e]*=mul;
    82 // 	map[e]*=mul;