Changeset 894:68a18cd0505c in lemon-0.x for src/hugo
- Timestamp:
- 09/21/04 23:28:43 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1202
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/mincostflows.h
r893 r894 216 216 mod_pot = length[e]-potential[G.head(e)]+potential[G.tail(e)]; 217 217 fl_e = flow[e]; 218 // std::cout << fl_e << std::endl; 219 if (0<fl_e && fl_e<capacity[e]){ 218 if (0<fl_e && fl_e<capacity[e]) { 219 /// \todo better comparison is needed for real types, moreover, 220 /// this comparison here is superfluous. 220 221 if (mod_pot != 0) 221 222 return false; 222 } 223 else {223 } 224 else { 224 225 if (mod_pot > 0 && fl_e != 0) 225 226 return false;
Note: See TracChangeset
for help on using the changeset viewer.