Changeset 470:b64956c701c9 in lemon0.x for src/work/jacint/preflow.cc
 Timestamp:
 04/29/04 13:09:12 (19 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@621
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/work/jacint/preflow.cc
r451 r470 20 20 readDimacsMaxFlow(std::cin, G, s, t, cap); 21 21 Timer ts; 22 bool error=false; 22 23 23 24 std::cout << … … 62 63 min_min_cut_value == max_min_cut_value ) 63 64 std::cout << "They are equal. " <<std::endl; 64 65 65 else { 66 std::cout << "ERROR! They are not equal! " <<std::endl; 67 error=true; 68 } 66 69 67 70 … … 97 100 std::cout <<", which is equal to all three min cut values." 98 101 <<std::endl; 99 100 102 else { 103 std::cout << "ERROR! It is not equal to all three min cut values! " 104 <<std::endl; 105 error=true; 106 } 107 101 108 102 109 … … 149 156 <<std::endl; 150 157 } 151 158 else { 159 std::cout << 160 "ERROR! It is not equal to the given flow value and to all three min cut values after phase 1! " 161 <<std::endl; 162 error=true; 163 } 164 152 165 153 166 … … 196 209 std::cout <<", which is equal to all three min cut values." 197 210 <<std::endl; 211 else { 212 std::cout << "ERROR! It is not equal to all three min cut values! " 213 <<std::endl; 214 error=true; 215 } 198 216 199 217 … … 234 252 std::cout <<", which is equal to all three min cut values." 235 253 <<std::endl<<std::endl; 236 254 else { 255 std::cout << "ERROR! It is not equal to all three min cut values! " 256 <<std::endl; 257 error=true; 258 } 259 260 if (error) std::cout <<"\nThere was some error in the results!\n"<<std::endl; 261 else std::cout <<"\nThere was no error in the results.\n"<<std::endl; 237 262 238 263 return 0;
Note: See TracChangeset
for help on using the changeset viewer.