COIN-OR::LEMON - Graph Library

Changeset 1763:49045f2d28d4 in lemon-0.x for test/bfs_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/bfs_test.cc

    r1435 r1763  
    5151 
    5252  l  = bfs_test.dist(n);
    53   e  = bfs_test.pred(n);
     53  e  = bfs_test.predEdge(n);
    5454  n  = bfs_test.predNode(n);
    5555  d  = bfs_test.distMap();
     
    122122  for(NodeIt v(G); v==INVALID; ++v) {
    123123    check(bfs_test.reached(v),"Each node should be reached.");
    124     if ( bfs_test.pred(v)!=INVALID ) {
    125       Edge e=bfs_test.pred(v);
     124    if ( bfs_test.predEdge(v)!=INVALID ) {
     125      Edge e=bfs_test.predEdge(v);
    126126      Node u=G.source(e);
    127127      check(u==bfs_test.predNode(v),"Wrong tree.");
Note: See TracChangeset for help on using the changeset viewer.