COIN-OR::LEMON - Graph Library

Changeset 793:9cd0aeea47b0 in lemon-0.x for src/test/bfs_test.cc


Ignore:
Timestamp:
09/03/04 11:41:50 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1087
Message:
  • BFD/DFS/Dijkstra compile test is done with skeleton::GraphSkeleton? graph and skeleton::ReadMap?.
  • 'skeleton::' is explicitely written instead of 'using namespace ...' in graph_test.cc
  • Output messages of type "makeRep(3)..." in unionfind_test.cc have been changed in order not to confuse compiler output parsers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/bfs_test.cc

    r780 r793  
    22#include <hugo/smart_graph.h>
    33#include <hugo/bfs.h>
     4#include<hugo/skeletons/graph.h>
    45
    56using namespace hugo;
     
    89
    910
    10 void check_Bfs_SmartGraph_Compile()
     11void check_Bfs_Compile()
    1112{
    12   typedef int VType;
    13   typedef SmartGraph Graph;
     13  typedef skeleton::StaticGraphSkeleton Graph;
    1414
    1515  typedef Graph::Edge Edge;
     
    1717  typedef Graph::EdgeIt EdgeIt;
    1818  typedef Graph::NodeIt NodeIt;
    19   typedef Graph::EdgeMap<VType> LengthMap;
    2019 
    2120  typedef Bfs<Graph> BType;
     
    2423  Node n;
    2524  Edge e;
    26   VType l;
     25  int l;
    2726  bool b;
    2827  BType::DistMap d(G);
    2928  BType::PredMap p(G);
    3029  BType::PredNodeMap pn(G);
    31   LengthMap cap(G);
    3230 
    3331  BType bfs_test(G);
Note: See TracChangeset for help on using the changeset viewer.