COIN-OR::LEMON - Graph Library

Changeset 1763:49045f2d28d4 in lemon-0.x for test/dijkstra_test.cc


Ignore:
Timestamp:
11/04/05 15:48:10 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2295
Message:

pred => predEdge rename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/dijkstra_test.cc

    r1435 r1763  
    5555
    5656  l  = dijkstra_test.dist(n);
    57   e  = dijkstra_test.pred(n);
     57  e  = dijkstra_test.predEdge(n);
    5858  n  = dijkstra_test.predNode(n);
    5959  d  = dijkstra_test.distMap();
     
    136136  for(NodeIt v(G); v!=INVALID; ++v){
    137137    check(dijkstra_test.reached(v),"Each node should be reached.");
    138     if ( dijkstra_test.pred(v)!=INVALID ) {
    139       Edge e=dijkstra_test.pred(v);
     138    if ( dijkstra_test.predEdge(v)!=INVALID ) {
     139      Edge e=dijkstra_test.predEdge(v);
    140140      Node u=G.source(e);
    141141      check(u==dijkstra_test.predNode(v),"Wrong tree.");
Note: See TracChangeset for help on using the changeset viewer.