Changeset 88:93bb934b0794 in lemon-0.x
- Timestamp:
- 02/17/04 12:43:22 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@115
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/preflow_push_hl.h
r85 r88 26 26 #define PREFLOW_PUSH_HL_H 27 27 28 //#include <algorithm> 28 #define A 1 29 29 30 #include <vector> 30 31 #include <stack> … … 65 66 void run() { 66 67 68 std::cout<<"A is "<<A<<" "; 69 67 70 typename Graph::NodeMap<int> level(G); 68 71 typename Graph::NodeMap<T> excess(G); … … 221 224 --numb[oldlevel]; 222 225 223 if ( !numb[oldlevel] ) { //If the level of w gets empty.226 if ( !numb[oldlevel] && oldlevel < A*n ) { //If the level of w gets empty. 224 227 225 228 for (EachNodeIt v=G.template first<EachNodeIt>(); v.valid() ; ++v) { … … 269 272 */ 270 273 271 T flowon Edge(EdgeIt e) {274 T flowonedge(EdgeIt e) { 272 275 return flow.get(e); 273 276 }
Note: See TracChangeset
for help on using the changeset viewer.