|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.gb.AbstractPair<C>
edu.jas.gb.CriticalPair<C>
C - coefficient typepublic class CriticalPair<C extends RingElem<C>>
Serializable subclass to hold critical pairs of polynomials. Used also to manage reduction status of the pair.
| Field Summary | |
|---|---|
protected boolean |
inReduction
|
protected GenPolynomial<C> |
reductum
|
| Fields inherited from class edu.jas.gb.AbstractPair |
|---|
e, i, j, pi, pj |
| Constructor Summary | |
|---|---|
CriticalPair(ExpVector e,
GenPolynomial<C> pi,
GenPolynomial<C> pj,
int i,
int j)
CriticalPair constructor. |
|
| Method Summary | |
|---|---|
boolean |
getInReduction()
Get in reduction status. |
GenPolynomial<C> |
getReductum()
Get reduced polynomial. |
boolean |
isONE()
Is reduced to one. |
boolean |
isZERO()
Is reduced to zero. |
void |
setInReduction()
Set in reduction status. |
void |
setReductum(GenPolynomial<C> r)
Set reduced polynomial. |
java.lang.String |
toString()
toString. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected volatile boolean inReduction
protected volatile GenPolynomial<C extends RingElem<C>> reductum
| Constructor Detail |
|---|
public CriticalPair(ExpVector e,
GenPolynomial<C> pi,
GenPolynomial<C> pj,
int i,
int j)
e - lcm(lt(pi),lt(pj).pi - polynomial i.pj - polynomial j.i - index of pi.j - index pf pj.| Method Detail |
|---|
public java.lang.String toString()
toString in class AbstractPair<C extends RingElem<C>>public void setInReduction()
public boolean getInReduction()
public GenPolynomial<C> getReductum()
public void setReductum(GenPolynomial<C> r)
r - the reduced polynomial.public boolean isZERO()
public boolean isONE()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||