src/work/marci/iterator_bfs_demo.cc
changeset 755 a8c2e828ce0b
parent 602 580b329c2a0c
child 774 4297098d9677
equal deleted inserted replaced
8:29fd2277de32 9:a7805d2433bd
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 #include <iostream>
     2 #include <iostream>
     3 #include <vector>
     3 #include <vector>
     4 #include <string>
     4 #include <string>
     5 
     5 
     6 #include <list_graph.h>
     6 #include <sage_graph.h>
     7 //#include <smart_graph.h>
     7 //#include <smart_graph.h>
     8 #include <bfs_dfs.h>
     8 #include <bfs_dfs.h>
     9 #include <hugo/graph_wrapper.h>
     9 #include <hugo/graph_wrapper.h>
    10 
    10 
    11 using namespace hugo;
    11 using namespace hugo;
    27 };
    27 };
    28 
    28 
    29 int main (int, char*[])
    29 int main (int, char*[])
    30 {
    30 {
    31   //typedef SmartGraph Graph;
    31   //typedef SmartGraph Graph;
    32   typedef ListGraph Graph;
    32   typedef SageGraph Graph;
    33 
    33 
    34   typedef Graph::Node Node;
    34   typedef Graph::Node Node;
    35   typedef Graph::Edge Edge;
    35   typedef Graph::Edge Edge;
    36  
    36  
    37   Graph G;
    37   Graph G;