diff -r ecc1cdea2ee7 -r a8dd11348853 src/lemon/lp_base.h --- a/src/lemon/lp_base.h Fri Apr 08 15:22:46 2005 +0000 +++ b/src/lemon/lp_base.h Fri Apr 08 15:24:01 2005 +0000 @@ -30,6 +30,7 @@ ///\file ///\brief The interface of the LP solver interface. +///\ingroup gen_opt_group namespace lemon { ///Internal data structure to convert floating id's to fix one's @@ -100,6 +101,9 @@ }; ///Common base class for LP solvers + + ///\todo Much more docs + ///\ingroup gen_opt_group class LpSolverBase { public: @@ -217,7 +221,8 @@ ///2*v-3.12*(v-w/2)+2 ///v*2.1+(3*v+(v*12+w+6)*3)/2 ///\endcode - ///are valid expressions. The usual assignment operations are also defined. + ///are valid \ref Expr "Expr"essions. + ///The usual assignment operations are also defined. ///\code ///e=v+w; ///e+=2*v-3.12*(v-w/2)+2; @@ -230,8 +235,11 @@ ///double c=e.constComp(); ///\endcode /// - ///\note that \ref clear() not only sets all coefficients to 0 but also + ///\note \ref clear() not only sets all coefficients to 0 but also ///clears the constant components. + /// + ///\sa Constr + /// class Expr : public std::map { public: @@ -309,7 +317,9 @@ }; ///Linear constraint - //typedef LinConstr Constr; + + ///\todo document please + /// class Constr { public: @@ -503,6 +513,8 @@ ///\param u is the upper bound (\ref INF means no bound) ///\bug This is a temportary function. The interface will change to ///a better one. + ///\todo Option to control whether a constraint with a single variable is + ///added or not. void setRow(Row r, Value l,const Expr &e, Value u) { std::vector indices; std::vector values;