COIN-OR::LEMON - Graph Library

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


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.h

    r2229 r2242  
    5757    typename DescriptorMap<Graph, Node>::InverseMap invNodes(nodes);
    5858    for (int i = 0; i < 100; ++i) {
    59       int src = rnd.getInt(invNodes.size());
    60       int trg = rnd.getInt(invNodes.size());
     59      int src = rnd[invNodes.size()];
     60      int trg = rnd[invNodes.size()];
    6161      graph.addEdge(invNodes[src], invNodes[trg]);
    6262    }
Note: See TracChangeset for help on using the changeset viewer.