Changeset 1766:6c59b1386fe8 in lemon0.x for lemon/lp_base.h
 Timestamp:
 11/04/05 16:48:06 (16 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2298
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/lp_base.h
r1612 r1766 304 304 for (Base::const_iterator j=e.begin(); j!=e.end(); ++j) 305 305 (*this)[j>first]+=j>second; 306 ///\todo it might be speeded up using "hints"307 306 const_comp+=e.const_comp; 308 307 return *this; … … 510 509 for (Base::const_iterator j=e.begin(); j!=e.end(); ++j) 511 510 (*this)[j>first]+=j>second; 512 ///\todo it might be speeded up using "hints"513 511 return *this; 514 512 } … … 1002 1000 { 1003 1001 LpSolverBase::Expr tmp(a); 1004 tmp+=b; ///\todo Doesn't STL have some special 'merge' algorithm?1002 tmp+=b; 1005 1003 return tmp; 1006 1004 } … … 1013 1011 { 1014 1012 LpSolverBase::Expr tmp(a); 1015 tmp=b; ///\todo Doesn't STL have some special 'merge' algorithm?1013 tmp=b; 1016 1014 return tmp; 1017 1015 } … … 1024 1022 { 1025 1023 LpSolverBase::Expr tmp(a); 1026 tmp*=b; ///\todo Doesn't STL have some special 'merge' algorithm?1024 tmp*=b; 1027 1025 return tmp; 1028 1026 } … … 1036 1034 { 1037 1035 LpSolverBase::Expr tmp(b); 1038 tmp*=a; ///\todo Doesn't STL have some special 'merge' algorithm?1036 tmp*=a; 1039 1037 return tmp; 1040 1038 } … … 1047 1045 { 1048 1046 LpSolverBase::Expr tmp(a); 1049 tmp/=b; ///\todo Doesn't STL have some special 'merge' algorithm?1047 tmp/=b; 1050 1048 return tmp; 1051 1049 } … … 1185 1183 { 1186 1184 LpSolverBase::DualExpr tmp(a); 1187 tmp+=b; ///\todo Doesn't STL have some special 'merge' algorithm?1185 tmp+=b; 1188 1186 return tmp; 1189 1187 } … … 1196 1194 { 1197 1195 LpSolverBase::DualExpr tmp(a); 1198 tmp=b; ///\todo Doesn't STL have some special 'merge' algorithm?1196 tmp=b; 1199 1197 return tmp; 1200 1198 } … … 1207 1205 { 1208 1206 LpSolverBase::DualExpr tmp(a); 1209 tmp*=b; ///\todo Doesn't STL have some special 'merge' algorithm?1207 tmp*=b; 1210 1208 return tmp; 1211 1209 } … … 1219 1217 { 1220 1218 LpSolverBase::DualExpr tmp(b); 1221 tmp*=a; ///\todo Doesn't STL have some special 'merge' algorithm?1219 tmp*=a; 1222 1220 return tmp; 1223 1221 } … … 1230 1228 { 1231 1229 LpSolverBase::DualExpr tmp(a); 1232 tmp/=b; ///\todo Doesn't STL have some special 'merge' algorithm?1230 tmp/=b; 1233 1231 return tmp; 1234 1232 }
Note: See TracChangeset
for help on using the changeset viewer.