src/work/marci/max_flow_demo.cc
changeset 644 d84f3d42237d
parent 640 d426dca0aaf7
child 646 bd7a69231cf8
equal deleted inserted replaced
5:4bef7dcc42ad 6:fd65eadf2e0a
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 #include <iostream>
     2 #include <iostream>
     3 #include <fstream>
     3 #include <fstream>
     4 
     4 
     5 #include <list_graph.h>
     5 #include <sage_graph.h>
     6 #include <hugo/smart_graph.h>
     6 #include <hugo/smart_graph.h>
     7 #include <hugo/dimacs.h>
     7 #include <hugo/dimacs.h>
     8 #include <hugo/time_measure.h>
     8 #include <hugo/time_measure.h>
     9 //#include <graph_wrapper.h>
     9 //#include <graph_wrapper.h>
    10 #include <max_flow.h>
    10 #include <max_flow.h>
    32 //     };
    32 //     };
    33 
    33 
    34 
    34 
    35 int main(int, char **) {
    35 int main(int, char **) {
    36 
    36 
    37   typedef ListGraph MutableGraph;
    37   typedef SageGraph MutableGraph;
    38 
    38 
    39   typedef SmartGraph Graph;
    39   typedef SmartGraph Graph;
    40   //  typedef ListGraph Graph;
    40   //  typedef SageGraph Graph;
    41   typedef Graph::Node Node;
    41   typedef Graph::Node Node;
    42   typedef Graph::EdgeIt EdgeIt;
    42   typedef Graph::EdgeIt EdgeIt;
    43 
    43 
    44 
    44 
    45 //   Mize mize[10];
    45 //   Mize mize[10];