Changeset ab76b4 in git for kernel/f5gb.h
- Timestamp:
- Mar 8, 2010, 11:49:06 AM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- c1a5fdccad23660f683eef44f4ca207fa4050c1c
- Parents:
- 56b0c82650ffab78c72a5629796b5fe751482448
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.h
r56b0c8 rab76b4 43 43 ================================================== 44 44 */ 45 LList* F5inc(int i, poly f_i, LList* gPrev,LList* reducers, ideal gbPrev, poly ONE, LTagList* lTag, RList* rules, RTagList* rTag, int termination);45 LList* F5inc(int i, poly f_i, LList* gPrev,LList* reducers, ideal gbPrev, poly ONE, LTagList* lTag, RList* rules, RTagList* rTag, int plus ,int termination); 46 46 47 47 /* … … 55 55 ================================================================ 56 56 */ 57 void criticalPair(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* RuleOlds); 57 void criticalPair(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* RuleOlds, PList* rejectedGBList, int plus); 58 59 60 bool checkDGB(LList* gPrev); 61 62 63 /* 64 * Arris Check if we are finished after the current degree step: 65 * Checks all remaining critical pairs, i.e. those of higher degree, 66 * by the two Buchberger criteria. 67 * return value: 0, if all remaining critical pairs are deleted by 68 * Buchberger's criteria 69 * 1, otherwise 70 */ 71 bool arrisCheck(CNode* first,LNode* firstGCurr, long arrisdeg); 58 72 59 73 /* … … 66 80 ================================================================ 67 81 */ 68 void criticalPair2(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* RuleOlds );82 void criticalPair2(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* RuleOlds, PList* rejectedGBList); 69 83 70 84 /* … … 90 104 91 105 /* 106 * check for useful pairs in the given subset of critical pairs 107 */ 108 int computeUsefulMinDeg(CNode* first); 109 110 /* 92 111 ================================== 93 112 Computation of S-Polynomials in F5 94 113 ================================== 95 114 */ 96 inline void computeSPols(CNode* first, RTagList* rTag, RList* RuleOlds, LList* sPolyList );115 inline void computeSPols(CNode* first, RTagList* rTag, RList* RuleOlds, LList* sPolyList, PList* rejectedGBList); 97 116 98 117 /* … … 102 121 */ 103 122 inline void reduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, RList* RuleOlds, LTagList* lTag, RTagList* rTag, 104 ideal gbPrev );123 ideal gbPrev, PList* rejectedGBList, int plus); 105 124 106 125 /* … … 109 128 ======================================================================== 110 129 */ 111 inline void newReduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, LList* reducers, RList* rules, LTagList* lTag, RTagList* rTag, ideal gbPrev, int termination );130 inline void newReduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, LList* reducers, RList* rules, LTagList* lTag, RTagList* rTag, ideal gbPrev, int termination, PList* rejectedGBList, int plus); 112 131 113 132 /*! … … 123 142 * ================================================================================ 124 143 */ 125 void findReducers(LNode* l, LList* sPolyList, ideal gbPrev, LList* gPrev, LList* reducers, CListOld* critPairs, RList* rules, LTagList* lTag, RTagList* rTag, int termination );144 void findReducers(LNode* l, LList* sPolyList, ideal gbPrev, LList* gPrev, LList* reducers, CListOld* critPairs, RList* rules, LTagList* lTag, RTagList* rTag, int termination, PList* rejectedGBList, int plus); 126 145 127 146 /* … … 131 150 ===================================================================================== 132 151 */ 133 inline void topReduction(LNode* l, LList* sPolyList, LList* gPrev, CListOld* critPairs, RList* RuleOlds, LTagList* lTag, RTagList* rTag, ideal gbPrev );152 inline void topReduction(LNode* l, LList* sPolyList, LList* gPrev, CListOld* critPairs, RList* RuleOlds, LTagList* lTag, RTagList* rTag, ideal gbPrev, PList* rejectedGBList, int plus); 134 153 135 154 /* … … 154 173 ====================================== 155 174 */ 156 ideal F5main(ideal i, ring r, int opt, int termination);175 ideal F5main(ideal i, ring r, int opt, int plus, int termination); 157 176 158 177 #endif
Note: See TracChangeset
for help on using the changeset viewer.