src/work/edmonds_karp.hh
changeset 96 e2e18eb0fd10
parent 75 87623302a68f
child 100 f1de2ab64e1c
equal deleted inserted replaced
4:f163eeb6bbf9 5:dd89f4b767f8
   240     };
   240     };
   241   };
   241   };
   242 
   242 
   243   template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
   243   template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
   244   class ResGraph3 {
   244   class ResGraph3 {
       
   245 public:
   245     typedef typename Graph::NodeIt NodeIt;
   246     typedef typename Graph::NodeIt NodeIt;
   246     typedef typename Graph::EachNodeIt EachNodeIt;
   247     typedef typename Graph::EachNodeIt EachNodeIt;
   247     //typedef typename Graph::SymEdgeIt OldSymEdgeIt;
   248     //typedef typename Graph::SymEdgeIt OldSymEdgeIt;
   248     typedef typename Graph::OutEdgeIt OldOutEdgeIt;
   249     typedef typename Graph::OutEdgeIt OldOutEdgeIt;
   249     typedef typename Graph::InEdgeIt OldInEdgeIt;
   250     typedef typename Graph::InEdgeIt OldInEdgeIt;
   250     
   251     
       
   252 private:
   251     const Graph& G;
   253     const Graph& G;
   252     FlowMap& flow;
   254     FlowMap& flow;
   253     const CapacityMap& capacity;
   255     const CapacityMap& capacity;
   254   public:
   256   public:
   255     ResGraph3(const Graph& _G, FlowMap& _flow, 
   257     ResGraph3(const Graph& _G, FlowMap& _flow,