src/work/alpar/f_ed_ka.h
changeset 707 ec034cfade65
parent 95 3322fbf254d2
child 921 818510fa3d99
equal deleted inserted replaced
5:f4fa29738ea4 6:2691f7f7b8a4
     9 
     9 
    10 #include <algorithm>
    10 #include <algorithm>
    11 
    11 
    12 //#include <bfs_iterator.hh>
    12 //#include <bfs_iterator.hh>
    13 
    13 
    14 namespace marci {
    14 namespace hugo {
    15   template <typename Graph, typename FlowMap, typename CapacityMap>
    15   template <typename Graph, typename FlowMap, typename CapacityMap>
    16   typename FlowMap::ValueType maxFlow(Graph &G,
    16   typename FlowMap::ValueType maxFlow(Graph &G,
    17 				      FlowMap &f,
    17 				      FlowMap &f,
    18 				      CapacityMap &c,
    18 				      CapacityMap &c,
    19 				      typename Graph::NodeIt s,
    19 				      typename Graph::NodeIt s,
   112     flow_val+=aug_val;
   112     flow_val+=aug_val;
   113 
   113 
   114     goto augment;   // Vivat goto forever!
   114     goto augment;   // Vivat goto forever!
   115   }
   115   }
   116   
   116   
   117 } // namespace marci
   117 } // namespace hugo
   118 
   118 
   119 #endif //EDMONDS_KARP_HH
   119 #endif //EDMONDS_KARP_HH