COIN-OR::LEMON - Graph Library

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

    r1435 r1763  
    5151 
    5252  l  = dfs_test.dist(n);
    53   e  = dfs_test.pred(n);
     53  e  = dfs_test.predEdge(n);
    5454  n  = dfs_test.predNode(n);
    5555  d  = dfs_test.distMap();
     
    112112  for(NodeIt v(G); v!=INVALID; ++v) {
    113113    check(dfs_test.reached(v),"Each node should be reached.");
    114     if ( dfs_test.pred(v)!=INVALID ) {
    115       Edge e=dfs_test.pred(v);
     114    if ( dfs_test.predEdge(v)!=INVALID ) {
     115      Edge e=dfs_test.predEdge(v);
    116116      Node u=G.source(e);
    117117      check(u==dfs_test.predNode(v),"Wrong tree.");
Note: See TracChangeset for help on using the changeset viewer.