Changeset 0179d5 in git for kernel/f5data.h
- Timestamp:
- Jul 16, 2009, 9:47:51 AM (15 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 4feee0a979cff0b1422136e2611e127a8267eb8d
- Parents:
- d4f44f4f228fbb8258ce8e9927141d37d4470719
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5data.h
rd4f44f r0179d5 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 /* $Id: f5data.h,v 1.1 2 2009-06-23 10:08:15ederc Exp $ */5 /* $Id: f5data.h,v 1.13 2009-07-16 07:47:51 ederc Exp $ */ 6 6 /* 7 7 * ABSTRACT: labeled polynomial interface … … 18 18 */ 19 19 class LPoly; 20 class CPair ;20 class CPairOld; 21 21 class Rule; 22 22 … … 116 116 =================================== 117 117 */ 118 class CPair {118 class CPairOld { 119 119 private: 120 120 long deg; // total degree of the critical pair … … 125 125 Rule* testedRule; // already tested by rules up to lastRuleTested 126 126 public: 127 inline CPair (long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r = NULL);127 inline CPairOld(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r = NULL); 128 128 inline long getDeg(); 129 129 inline poly getT1(); … … 143 143 }; 144 144 145 CPair ::CPair(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r) {145 CPairOld::CPairOld(long degree, poly term1, LPoly* lpoly1, poly term2, LPoly* lpoly2, Rule* r) { 146 146 deg = degree; 147 147 t1 = term1; … … 152 152 } 153 153 154 long CPair ::getDeg() {154 long CPairOld::getDeg() { 155 155 return deg; 156 156 } 157 157 158 poly CPair ::getT1() {158 poly CPairOld::getT1() { 159 159 return t1; 160 160 } 161 161 162 poly* CPair ::getAdT1() {162 poly* CPairOld::getAdT1() { 163 163 return &t1; 164 164 } 165 165 166 poly* CPair ::getAdT2() {166 poly* CPairOld::getAdT2() { 167 167 return &t2; 168 168 } 169 169 170 poly CPair ::getT2() {170 poly CPairOld::getT2() { 171 171 return t2; 172 172 } 173 173 174 LPoly* CPair ::getAdLp1() {174 LPoly* CPairOld::getAdLp1() { 175 175 return lp1; 176 176 } 177 177 178 LPoly* CPair ::getAdLp2() {178 LPoly* CPairOld::getAdLp2() { 179 179 return lp2; 180 180 } 181 181 182 poly CPair ::getLp1Poly() {182 poly CPairOld::getLp1Poly() { 183 183 return lp1->getPoly(); 184 184 } 185 185 186 poly CPair ::getLp2Poly() {186 poly CPairOld::getLp2Poly() { 187 187 return lp2->getPoly(); 188 188 } 189 189 190 poly CPair ::getLp1Term() {190 poly CPairOld::getLp1Term() { 191 191 return lp1->getTerm(); 192 192 } 193 193 194 poly CPair ::getLp2Term() {194 poly CPairOld::getLp2Term() { 195 195 return lp2->getTerm(); 196 196 } 197 197 198 int CPair ::getLp1Index() {198 int CPairOld::getLp1Index() { 199 199 return lp1->getIndex(); 200 200 } 201 201 202 int CPair ::getLp2Index() {202 int CPairOld::getLp2Index() { 203 203 return lp2->getIndex(); 204 204 } 205 205 206 Rule* CPair ::getTestedRule() {206 Rule* CPairOld::getTestedRule() { 207 207 return testedRule; 208 208 } 209 209 210 void CPair ::setTestedRule(Rule* r) {210 void CPairOld::setTestedRule(Rule* r) { 211 211 testedRule = r; 212 212 }
Note: See TracChangeset
for help on using the changeset viewer.