COIN-OR::LEMON - Graph Library

Changeset 894:68a18cd0505c in lemon-0.x for src/hugo


Ignore:
Timestamp:
09/21/04 23:28:43 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1202
Message:

todo for real comparison

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/mincostflows.h

    r893 r894  
    216216        mod_pot = length[e]-potential[G.head(e)]+potential[G.tail(e)];
    217217        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.
    220221          if (mod_pot != 0)
    221222            return false;
    222         }
    223         else{
     223        } 
     224        else {
    224225          if (mod_pot > 0 && fl_e != 0)
    225226            return false;
Note: See TracChangeset for help on using the changeset viewer.