Changeset a05c71 in git for kernel/f5gb.h
- Timestamp:
- Aug 31, 2009, 3:55:46 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- fb1212fa95dcc1179dddfd72a79683e1282d5662
- Parents:
- f414c0965b52eb8faa2ff8c9afef799657e50a29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.h
rf414c0 ra05c71 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: f5gb.h,v 1.4 3 2009-08-30 15:26:00ederc Exp $ */4 /* $Id: f5gb.h,v 1.44 2009-08-31 13:55:46 ederc Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface … … 34 34 ========================================================================== 35 35 */ 36 bool compareMonomials(int* m1, int** m2, int numberOfRule s);36 bool compareMonomials(int* m1, int** m2, int numberOfRuleOlds); 37 37 38 38 … … 43 43 ================================================== 44 44 */ 45 LList* F5inc(int i, poly f_i, LList* gPrev, 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 termination); 46 46 47 47 /* … … 52 52 ================================================================ 53 53 */ 54 void criticalPair(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* rules);54 void criticalPair(LList* gPrev, CListOld* critPairs, LTagList* lTag, RTagList* rTag, RList* RuleOlds); 55 55 56 56 /* … … 66 66 ===================================== 67 67 */ 68 inline bool criterion2(int idx, poly t, LNode* l, RList* rules, RTagList* rTag);68 inline bool criterion2(int idx, poly t, LNode* l, RList* RuleOlds, RTagList* rTag); 69 69 70 70 /* 71 71 ========================================================================================================== 72 Criterion 2, i.e. Rewritten Criterion, for its second call in sPols(), with added lastRule Tested parameter72 Criterion 2, i.e. Rewritten Criterion, for its second call in sPols(), with added lastRuleOldTested parameter 73 73 ========================================================================================================== 74 74 */ 75 inline bool criterion2(poly t, LPoly * l, RList* rules, Rule* testedRule);75 inline bool criterion2(poly t, LPolyOld* l, RList* RuleOlds, RuleOld* testedRuleOld); 76 76 77 77 /* … … 80 80 ================================== 81 81 */ 82 inline void computeSPols(CNode* first, RTagList* rTag, RList* rules, LList* sPolyList);82 inline void computeSPols(CNode* first, RTagList* rTag, RList* RuleOlds, LList* sPolyList); 83 83 84 84 /* … … 87 87 ======================================================================== 88 88 */ 89 inline void reduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, RList* rules, LTagList* lTag, RTagList* rTag,89 inline void reduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, RList* RuleOlds, LTagList* lTag, RTagList* rTag, 90 90 ideal gbPrev); 91 91 … … 95 95 ======================================================================== 96 96 */ 97 inline void newReduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, RList* rules, LTagList* lTag, RTagList* rTag, ideal gbPrev, int termination);97 inline void newReduction(LList* sPolyList, CListOld* critPairs, LList* gPrev, LList* reducers, RList* rules, LTagList* lTag, RTagList* rTag, ideal gbPrev, int termination); 98 98 99 99 /*! … … 106 106 * 107 107 * the "bad" ones are the reducers which corrupt the label of temp, they are tested 108 * later on for possible new rules and S-polynomials to be added to the algorithm108 * later on for possible new RuleOlds and S-polynomials to be added to the algorithm 109 109 * ================================================================================ 110 110 */ 111 void findReducers(LNode* l, LList* sPolyList, ideal gbPrev, LList* gPrev, CListOld* critPairs, RList* rules, LTagList* lTag, RTagList* rTag, int termination);111 void findReducers(LNode* l, LList* sPolyList, ideal gbPrev, LList* gPrev, LList* reducers, CListOld* critPairs, RList* rules, LTagList* lTag, RTagList* rTag, int termination); 112 112 113 113 /* … … 117 117 ===================================================================================== 118 118 */ 119 inline void topReduction(LNode* l, LList* sPolyList, LList* gPrev, CListOld* critPairs, RList* rules, LTagList* lTag, RTagList* rTag, ideal gbPrev);119 inline void topReduction(LNode* l, LList* sPolyList, LList* gPrev, CListOld* critPairs, RList* RuleOlds, LTagList* lTag, RTagList* rTag, ideal gbPrev); 120 120 121 121 /* … … 133 133 ===================================================================== 134 134 */ 135 inline LNode* findReductor(LNode* l, LList* sPolyList, LNode* gPrevRedCheck, LList* gPrev, RList* rules, LTagList* lTag,RTagList* rTag);135 inline LNode* findReductor(LNode* l, LList* sPolyList, LNode* gPrevRedCheck, LList* gPrev, RList* RuleOlds, LTagList* lTag,RTagList* rTag); 136 136 137 137 /*
Note: See TracChangeset
for help on using the changeset viewer.