# HG changeset patch # User athos # Date 1083574809 0 # Node ID 8589c0658839a617c8b0e3fa0d1536ed6eeb3ec7 # Parent 6ef30329dd502fef1c3e6db032e62d4dd971ec4a I changed it to correspond changing requirements diff -r 6ef30329dd50 -r 8589c0658839 src/work/athos/preflow_push.hh --- a/src/work/athos/preflow_push.hh Mon May 03 08:13:41 2004 +0000 +++ b/src/work/athos/preflow_push.hh Mon May 03 09:00:09 2004 +0000 @@ -25,6 +25,9 @@ typedef typename Graph::Edge Edge; typedef typename Graph::OutEdgeIt OutEdgeIt; typedef typename Graph::InEdgeIt InEdgeIt; + typedef typename Graph::EdgeMap CapacityType; + + typedef ResGraphWrapper ResGraphType; //--------------------------------------------- @@ -47,10 +50,10 @@ Graph& G; Node s; Node t; - typename Graph::EdgeMap &capacity; + CapacityType &capacity; //output - typename Graph::EdgeMap preflow; + CapacityType preflow; T maxflow_value; //auxiliary variables for computation @@ -131,7 +134,7 @@ } cout<(a); while (G.valid(j) && e){ @@ -411,6 +434,7 @@ G.next(j); } } + */ //if (G.id(a)==999) //cout<