src/benchmark/bfs-bench.cc
changeset 910 5a89cacf17f1
parent 774 4297098d9677
child 921 818510fa3d99
equal deleted inserted replaced
2:745b0956d6bb 3:efeb4067b986
     1 // -*- mode:C++ -*-
     1 // -*- mode:C++ -*-
     2 
     2 
       
     3 #include <queue>
     3 #include<math.h>
     4 #include<math.h>
     4 #include<hugo/list_graph.h>
       
     5 #include<hugo/smart_graph.h>
     5 #include<hugo/smart_graph.h>
     6 #include<hugo/dijkstra.h>
       
     7 #include<hugo/max_flow.h>
       
     8 
       
     9 #include"bench_tools.h"
     6 #include"bench_tools.h"
    10 
     7 
    11 using namespace std;
     8 using namespace std;
    12 using namespace hugo;
     9 using namespace hugo;
    13 
    10 
    96       i++;
    93       i++;
    97 }
    94 }
    98 
    95 
    99 int main(int argc, char *argv[])
    96 int main(int argc, char *argv[])
   100 {
    97 {
   101   //  typedef ListGraph Graph;
       
   102   typedef SmartGraph Graph;
    98   typedef SmartGraph Graph;
   103 
    99 
   104   ///\bug GRAPH_TYPEDEF_FACTORY(Graph);
   100   ///\bug GRAPH_TYPEDEF_FACTORY(Graph);
   105   GRAPH_TYPEDEF_FACTORY_NOTYPENAME(Graph);
   101   GRAPH_TYPEDEF_FACTORY_NOTYPENAME(Graph);
   106 
   102