Changeset 572:be6646ac5d89 in lemon1.2 for test/graph_utils_test.cc
 Timestamp:
 04/04/09 08:30:58 (11 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

test/graph_utils_test.cc
r440 r572 39 39 digraph.addNode(); 40 40 } 41 DescriptorMap<Digraph, Node> nodes(digraph);42 typename DescriptorMap<Digraph, Node>::InverseMap invNodes(nodes);41 RangeIdMap<Digraph, Node> nodes(digraph); 42 typename RangeIdMap<Digraph, Node>::InverseMap invNodes(nodes); 43 43 for (int i = 0; i < 100; ++i) { 44 44 int src = rnd[invNodes.size()]; … … 47 47 } 48 48 typename Digraph::template ArcMap<bool> found(digraph, false); 49 DescriptorMap<Digraph, Arc> arcs(digraph);49 RangeIdMap<Digraph, Arc> arcs(digraph); 50 50 for (NodeIt src(digraph); src != INVALID; ++src) { 51 51 for (NodeIt trg(digraph); trg != INVALID; ++trg) { … … 114 114 graph.addNode(); 115 115 } 116 DescriptorMap<Graph, Node> nodes(graph);117 typename DescriptorMap<Graph, Node>::InverseMap invNodes(nodes);116 RangeIdMap<Graph, Node> nodes(graph); 117 typename RangeIdMap<Graph, Node>::InverseMap invNodes(nodes); 118 118 for (int i = 0; i < 100; ++i) { 119 119 int src = rnd[invNodes.size()]; … … 122 122 } 123 123 typename Graph::template EdgeMap<int> found(graph, 0); 124 DescriptorMap<Graph, Edge> edges(graph);124 RangeIdMap<Graph, Edge> edges(graph); 125 125 for (NodeIt src(graph); src != INVALID; ++src) { 126 126 for (NodeIt trg(graph); trg != INVALID; ++trg) {
Note: See TracChangeset
for help on using the changeset viewer.