|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.ring.CriticalPair<C>
public 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 | |
|---|---|
ExpVector |
e
|
int |
i
|
protected boolean |
inReduction
|
int |
j
|
GenPolynomial<C> |
pi
|
GenPolynomial<C> |
pj
|
protected GenPolynomial<C> |
reductum
|
| 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 |
|---|
public final ExpVector e
public final GenPolynomial<C extends RingElem<C>> pi
public final GenPolynomial<C extends RingElem<C>> pj
public final int i
public final int j
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 java.lang.Objectpublic 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 | ||||||||