COIN-OR::LEMON - Graph Library

Changeset 2242:16523135943d in lemon-0.x for test/graph_utils_test.cc


Ignore:
Timestamp:
10/14/06 17:26:05 (14 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/graph_utils_test.cc

    r2236 r2242  
    117117    for (int i = 0; i < edgeNum; ++i) {
    118118      edges[i] =
    119         graph.addEdge(nodes[urandom(nodeNum)], nodes[urandom(nodeNum)]);
     119        graph.addEdge(nodes[rnd[nodeNum]], nodes[rnd[nodeNum]]);
    120120    }
    121121    for (int i = 0; i < nodeNum; ++i) {
Note: See TracChangeset for help on using the changeset viewer.