lemon/lp_base.h
changeset 788 c92296660262
parent 746 e4554cd6b2bf
child 834 207ba6c0f2e4
equal deleted inserted replaced
9:a71144e11fff 10:99e2f5227d5c
   144       bool operator<(Col c) const  {return _id < c._id;}
   144       bool operator<(Col c) const  {return _id < c._id;}
   145     };
   145     };
   146 
   146 
   147     ///Iterator for iterate over the columns of an LP problem
   147     ///Iterator for iterate over the columns of an LP problem
   148 
   148 
   149     /// Its usage is quite simple, for example you can count the number
   149     /// Its usage is quite simple, for example, you can count the number
   150     /// of columns in an LP \c lp:
   150     /// of columns in an LP \c lp:
   151     ///\code
   151     ///\code
   152     /// int count=0;
   152     /// int count=0;
   153     /// for (LpBase::ColIt c(lp); c!=INVALID; ++c) ++count;
   153     /// for (LpBase::ColIt c(lp); c!=INVALID; ++c) ++count;
   154     ///\endcode
   154     ///\endcode
   239       bool operator<(Row r) const  {return _id < r._id;}
   239       bool operator<(Row r) const  {return _id < r._id;}
   240     };
   240     };
   241 
   241 
   242     ///Iterator for iterate over the rows of an LP problem
   242     ///Iterator for iterate over the rows of an LP problem
   243 
   243 
   244     /// Its usage is quite simple, for example you can count the number
   244     /// Its usage is quite simple, for example, you can count the number
   245     /// of rows in an LP \c lp:
   245     /// of rows in an LP \c lp:
   246     ///\code
   246     ///\code
   247     /// int count=0;
   247     /// int count=0;
   248     /// for (LpBase::RowIt c(lp); c!=INVALID; ++c) ++count;
   248     /// for (LpBase::RowIt c(lp); c!=INVALID; ++c) ++count;
   249     ///\endcode
   249     ///\endcode