115 Print(
"-----LIST-----\n");
117 while(
NULL != temp) {
187 this->
next = newElement;
199 this->
next = newElement;
246 temp->
next = newElement;
259 temp->
next = newElement;
281 if(-1 ==
pLmCmp(
l->getTerm(),this->getTerm())) {
294 l->next = temp->
next;
307 l->next = temp->
next;
379 while(
NULL != temp) {
380 if(pComparePolys(temp->
getPoly(),*
p)) {
396 PrintS(
"___________________List of S-polynomials______________________:\n");
405 PrintS(
"_______________________________________________________________\n");
411 while(
NULL != temp) {
709 if( c->
getDeg() < this->data->getDeg() ) {
713 if( c->
getDeg() == this->data->getDeg() ) {
731 temp->
next = newElement;
737 temp->
next = newElement;
742 temp->
next = newElement;
746 if( c->
getDeg() > this->data->getDeg() ) {
751 temp->
next = newElement;
757 temp->
next = newElement;
770 temp->
next = newElement;
776 temp->
next = newElement;
781 temp->
next = newElement;
790 temp->
next = newElement;
799 newElement->
next =
this;
807 while(
NULL != temp) {
888 PrintS(
"___________________List of critical pairs______________________:\n");
985 newElement->
next =
this;
997 newElement->
next =
this;
1006 newElement->
next = temp;
1010 newElement->
next = temp;
1017 newElement->
next = temp;
1041 while(
NULL != temp) {
1151 if(idx==1 || idx==0) {
1177 Print(
"1. element: %d, ",
getRNode()->getRuleOld()->getIndex());
1182 Print(
"%d. element: %d, ",
i,
getRNode()->getRuleOld()->getIndex());
void insertWithoutSort(CPairOld *c)
RuleOld * getTestedRuleOld()
CNode * insert(CPairOld *c)
CNode * insertWithoutSort(CPairOld *cp)
RuleOld * getTestedRuleOld()
void insert(LPolyOld *lp)
void insertFirst(LNode *l)
void insertByLabel(poly t, int i, poly p, RuleOld *r=NULL)
void insertSP(LPolyOld *lp)
LNode * insertFirst(LNode *l)
LNode * insert(LPolyOld *lp)
LNode * insertSP(LPolyOld *lp)
LNode * insertByLabel(poly t, int i, poly p, RuleOld *r)
void setRuleOld(RuleOld *r)
void setRuleOld(RuleOld *r)
void setFirstCurrentIdx(LNode *l)
LNode * getFirstCurrentIdx()
LNode * get(int i, int length)
LTagNode * insert(LNode *l)
PList()
functions working on the class PList
class PNode of nodes of polynomials
PNode(poly p, PNode *n)
functions working on the class PNode
void insertOrdered(RuleOld *r)
RNode * insertOrdered(RuleOld *r)
RNode * insert(RuleOld *r)
RTagNode * insert(RNode *r)
RNode * get(int idx, int length)
static BOOLEAN length(leftv result, leftv arg)
Compatibility layer for legacy polynomial operations (over currRing)
#define pLmCmp(p, q)
returns 0|1|-1 if p=q|p>q|p<q w.r.t monomial ordering
#define pCopy(p)
return a copy of the poly
static poly getTerm(const ideal H, const mark ab)
void PrintS(const char *s)