COIN-OR::LEMON - Graph Library

Changeset 905:5be029d19c98 in lemon-0.x for src/benchmark


Ignore:
Timestamp:
09/23/04 16:40:45 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1215
Message:

Some code cleaning in id related stuffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/hcube.cc

    r840 r905  
    6767   
    6868    //  for(EdgeIt e(G);G.valid(e);G.next(e)) map[e]=P();
    69     for(int i=0;i<dim*(1<<dim);i++)
     69    Edge te;
     70    for(int i=0;i<dim*(1<<dim);i++) {
     71      te.setToId(((long long int)(i)*93505)%(dim*(1<<dim)));
    7072      //    map[Edge(((long long int)(i)*2987)%(dim*(1<<dim)))]=P();
    71       map[Edge(((long long int)(i)*93505)%(dim*(1<<dim)))]=P();
    72  
     73      map[te]=P();
     74    }
     75   
    7376//     for(int i=0;i<(1<<dim);i++) {
    7477//       int mul= (1<<(numOfZeros(i,dim)/4));
Note: See TracChangeset for help on using the changeset viewer.