COIN-OR::LEMON - Graph Library

Changeset 1218:5331168bbb18 in lemon-0.x for src/test


Ignore:
Timestamp:
03/16/05 08:56:25 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1638
Message:
  • Several updates and clarifications on dijkstra.h
  • bfs.h and dfs.h is synchronized with dijkstra.h
Location:
src/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/test/bfs_test.cc

    r1164 r1218  
    4343  BType::DistMap d(G);
    4444  BType::PredMap p(G);
    45   BType::PredNodeMap pn(G);
     45  //  BType::PredNodeMap pn(G);
    4646 
    4747  BType bfs_test(G);
     
    5454  d  = bfs_test.distMap();
    5555  p  = bfs_test.predMap();
    56   pn = bfs_test.predNodeMap();
     56  //  pn = bfs_test.predNodeMap();
    5757  b  = bfs_test.reached(n);
    5858
  • src/test/dfs_test.cc

    r1164 r1218  
    4343  DType::DistMap d(G);
    4444  DType::PredMap p(G);
    45   DType::PredNodeMap pn(G);
     45  //  DType::PredNodeMap pn(G);
    4646 
    4747  DType dfs_test(G);
     
    5454  d  = dfs_test.distMap();
    5555  p  = dfs_test.predMap();
    56   pn = dfs_test.predNodeMap();
     56  //  pn = dfs_test.predNodeMap();
    5757  b  = dfs_test.reached(n);
    5858
  • src/test/dijkstra_test.cc

    r1164 r1218  
    120120 
    121121  {
    122     NullMap<Node,Node> myPredNodeMap;
    123     dijkstra(G,cap).predNodeMap(myPredNodeMap).run(s);
     122    NullMap<Node,Edge> myPredMap;
     123    dijkstra(G,cap).predMap(myPredMap).run(s);
    124124  }
    125125  return 0;
Note: See TracChangeset for help on using the changeset viewer.