src/work/marci/top_sort_test.cc
changeset 730 af375858f17c
parent 640 d426dca0aaf7
child 762 511200bdb71f
equal deleted inserted replaced
5:514abde6b999 6:f5dc626c99aa
     3 #include <fstream>
     3 #include <fstream>
     4 #include <list>
     4 #include <list>
     5 
     5 
     6 #include <hugo/dimacs.h>
     6 #include <hugo/dimacs.h>
     7 #include <bfs_dfs_misc.h>
     7 #include <bfs_dfs_misc.h>
     8 #include <list_graph.h>
     8 #include <sage_graph.h>
     9 #include <hugo/graph_wrapper.h>
     9 #include <hugo/graph_wrapper.h>
    10 #include <hugo/maps.h>
    10 #include <hugo/maps.h>
    11 #include <hugo/for_each_macros.h>
    11 #include <hugo/for_each_macros.h>
    12 
    12 
    13 using namespace hugo;
    13 using namespace hugo;
    14 
    14 
    15 using std::cout;
    15 using std::cout;
    16 using std::endl;
    16 using std::endl;
    17 
    17 
    18 int main() {
    18 int main() {
    19   typedef ListGraph Graph;
    19   typedef SageGraph Graph;
    20   Graph g;
    20   Graph g;
    21   readDimacs(std::cin, g); 
    21   readDimacs(std::cin, g); 
    22  
    22  
    23   {
    23   {
    24     std::list<Graph::Node> l;
    24     std::list<Graph::Node> l;