Changeset 441 for branches/devel/Cbc/src/CbcTreeLocal.hpp
- Timestamp:
- Oct 9, 2006 4:19:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel/Cbc/src/CbcTreeLocal.hpp
r419 r441 68 68 /// Clone 69 69 virtual CbcTree * clone() const; 70 /// Create C++ lines to get to current state 71 virtual void generateCpp( FILE * fp) ; 70 72 71 73 /*! \name Heap access and maintenance methods */ … … 99 101 /// Pass in solution (so can be used after heuristic) 100 102 void passInSolution(const double * solution, double solutionValue); 103 // range i.e. k 104 inline int range() const 105 { return range_;}; 106 // setrange i.e. k 107 inline void setRange(int value) 108 { range_ = value;}; 109 // Type of cuts - 0=just 0-1, 1=all 110 inline int typeCuts() const 111 { return typeCuts_;}; 112 // Type of cuts - 0=just 0-1, 1=all 113 inline void setTypeCuts(int value) 114 { typeCuts_ = value;}; 115 // maximum number of diversifications 116 inline int maxDiversification() const 117 { return maxDiversification_;}; 118 // maximum number of diversifications 119 inline void setMaxDiversification(int value) 120 { maxDiversification_ = value;}; 121 // time limit per subtree 122 inline int timeLimit() const 123 { return timeLimit_;}; 124 // time limit per subtree 125 inline void setTimeLimit(int value) 126 { timeLimit_ = value;}; 127 // node limit for subtree 128 inline int nodeLimit() const 129 { return nodeLimit_;}; 130 // node limit for subtree 131 inline void setNodeLimit(int value) 132 { nodeLimit_ = value;}; 133 // Whether to do refinement step 134 inline bool refine() const 135 { return refine_;}; 136 // Whether to do refinement step 137 inline void setRefine(bool yesNo) 138 { refine_ = yesNo;}; 101 139 102 140 //@}
Note: See TracChangeset
for help on using the changeset viewer.