COIN-OR::LEMON - Graph Library

Changeset 2242:16523135943d in lemon-0.x for test/heap_test.h


Ignore:
Timestamp:
10/14/06 17:26:05 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2991
Message:

New random interface
Switching to the new interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/heap_test.h

    r2229 r2242  
    4646
    4747  for (int i = 0; i < n; ++i) {
    48     v[i] = rnd.getInt(1000);
     48    v[i] = rnd[1000];
    4949    heap.push(i, v[i]);
    5050  }
     
    6666
    6767  for (int i = 0; i < n; ++i) {
    68     v[i] = rnd.getInt(1000);
     68    v[i] = rnd[1000];
    6969    heap.push(i, v[i]);
    7070  }
    7171  for (int i = 0; i < n; ++i) {
    72     v[i] += rnd.getInt(1000);
     72    v[i] += rnd[1000];
    7373    heap.increase(i, v[i]);
    7474  }
Note: See TracChangeset for help on using the changeset viewer.