equal
deleted
inserted
replaced
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, |