src/work/marci/max_flow_demo.cc
changeset 651 a56e043aeab1
parent 646 bd7a69231cf8
child 652 4dfa1f79bf3e
equal deleted inserted replaced
7:3e4f4c3fcbda 8:add73298b7ac
     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>
    11 //#include <preflow_res.h>
    11 //#include <preflow_res.h>
    12 #include <hugo/for_each_macros.h>
    12 #include <hugo/for_each_macros.h>
       
    13 #include <graph_concept.h>
    13 
    14 
    14 using namespace hugo;
    15 using namespace hugo;
    15 
    16 
    16 // Use a DIMACS max flow file as stdin.
    17 // Use a DIMACS max flow file as stdin.
    17 // read_dimacs_demo < dimacs_max_flow_file
    18 // read_dimacs_demo < dimacs_max_flow_file
    34 
    35 
    35 int main(int, char **) {
    36 int main(int, char **) {
    36 
    37 
    37   typedef SageGraph MutableGraph;
    38   typedef SageGraph MutableGraph;
    38 
    39 
       
    40   //typedef FullFeatureGraphConcept Graph;
    39   typedef SmartGraph Graph;
    41   typedef SmartGraph Graph;
    40   //  typedef SageGraph Graph;
    42   //  typedef SageGraph Graph;
    41   typedef Graph::Node Node;
    43   typedef Graph::Node Node;
    42   typedef Graph::EdgeIt EdgeIt;
    44   typedef Graph::EdgeIt EdgeIt;
    43 
    45