Changeset 2366:bfbdded3763a in lemon-0.x for lemon/lp_skeleton.h
- Timestamp:
- 02/16/07 20:11:31 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3181
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_skeleton.h
r2364 r2366 45 45 virtual void _eraseRow(int i); 46 46 /// \e 47 virtual void _getColName(int col, std::string & name) ;47 virtual void _getColName(int col, std::string & name) const; 48 48 /// \e 49 49 virtual void _setColName(int col, const std::string & name); 50 /// \e 51 virtual int _colByName(const std::string& name) const; 50 52 51 53 /// \e 52 54 virtual void _setRowCoeffs(int i, ConstRowIterator b, ConstRowIterator e); 53 55 /// \e 54 virtual void _getRowCoeffs(int i, RowIterator b) ;56 virtual void _getRowCoeffs(int i, RowIterator b) const; 55 57 /// \e 56 58 virtual void _setColCoeffs(int i, ConstColIterator b, ConstColIterator e); 57 59 /// \e 58 virtual void _getColCoeffs(int i, ColIterator b) ;60 virtual void _getColCoeffs(int i, ColIterator b) const; 59 61 60 62 /// Set one element of the coefficient matrix … … 62 64 63 65 /// Get one element of the coefficient matrix 64 virtual Value _getCoeff(int row, int col) ;66 virtual Value _getCoeff(int row, int col) const; 65 67 66 68 /// The lower bound of a variable (column) have to be given by an … … 73 75 /// extended number of type Value, i.e. a finite number of type 74 76 /// Value or -\ref INF. 75 virtual Value _getColLowerBound(int i) ;77 virtual Value _getColLowerBound(int i) const; 76 78 77 79 /// The upper bound of a variable (column) have to be given by an … … 84 86 /// extended number of type Value, i.e. a finite number of type 85 87 /// Value or \ref INF. 86 virtual Value _getColUpperBound(int i) ;88 virtual Value _getColUpperBound(int i) const; 87 89 88 90 // /// The lower bound of a linear expression (row) have to be given by an … … 109 111 /// extended numbers of type Value, i.e. finite numbers of type 110 112 /// Value, -\ref INF or \ref INF. 111 virtual void _getRowBounds(int i, Value &lb, Value &ub) ;113 virtual void _getRowBounds(int i, Value &lb, Value &ub) const; 112 114 /// \e 113 115 … … 119 121 120 122 /// \e 121 virtual Value _getObjCoeff(int i) ;123 virtual Value _getObjCoeff(int i) const; 122 124 123 125 ///\e … … 131 133 ///\bug Wrong interface 132 134 /// 133 virtual Value _getPrimal(int i) ;135 virtual Value _getPrimal(int i) const; 134 136 135 137 ///\e … … 137 139 ///\bug Wrong interface 138 140 /// 139 virtual Value _getDual(int i) ;141 virtual Value _getDual(int i) const; 140 142 141 143 ///\e … … 143 145 ///\bug Wrong interface 144 146 /// 145 virtual Value _getPrimalValue() ;147 virtual Value _getPrimalValue() const; 146 148 147 149 ///\e … … 149 151 ///\bug Wrong interface 150 152 /// 151 virtual SolutionStatus _getPrimalStatus() ;153 virtual SolutionStatus _getPrimalStatus() const; 152 154 153 155 ////e 154 virtual SolutionStatus _getDualStatus() ;156 virtual SolutionStatus _getDualStatus() const; 155 157 156 158 157 159 ///\e 158 virtual ProblemTypes _getProblemType() ;160 virtual ProblemTypes _getProblemType() const; 159 161 160 162 ///\e … … 164 166 165 167 ///\e 166 virtual bool _isMax() ;168 virtual bool _isMax() const; 167 169 168 170 169 171 170 172 ///\e 171 virtual bool _isBasicCol(int i) ;173 virtual bool _isBasicCol(int i) const; 172 174 173 175
Note: See TracChangeset
for help on using the changeset viewer.