COIN-OR::LEMON - Graph Library

Changeset 2369:6ae1a97055a2 in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
02/19/07 19:21:28 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3184
Message:

Naming convention changes

setObj => obj
is_min => isMin
is_max => isMax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r2368 r2369  
    973973    ///\param e is a linear expression (see \ref Expr)
    974974    ///\param u is the upper bound (\ref INF means no bound)
    975     ///\bug This is a temportary function. The interface will change to
     975    ///\bug This is a temporary function. The interface will change to
    976976    ///a better one.
    977977    ///\todo Option to control whether a constraint with a single variable is
     
    10101010    ///\param u is the upper bound (\ref INF means no bound)
    10111011    ///\return The created row.
    1012     ///\bug This is a temportary function. The interface will change to
     1012    ///\bug This is a temporary function. The interface will change to
    10131013    ///a better one.
    10141014    Row addRow(Value l,const Expr &e, Value u) {
     
    12851285
    12861286    ///\param e is a linear expression of type \ref Expr.
    1287     ///\bug Is should be called obj()
    1288     void setObj(Expr e) {
     1287    void obj(Expr e) {
    12891288      _clearObj();
    12901289      for (Expr::iterator i=e.begin(); i!=e.end(); ++i)
     
    13141313
    13151314    ///Query function: is this a maximization problem?
    1316     bool is_max() const {return _isMax(); }
     1315    bool isMax() const {return _isMax(); }
    13171316
    13181317    ///Query function: is this a minimization problem?
    1319     bool is_min() const {return !is_max(); }
     1318    bool isMin() const {return !isMax(); }
    13201319   
    13211320    ///@}
Note: See TracChangeset for help on using the changeset viewer.