|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.application.OrderedCPairlist<C>
public class OrderedCPairlist<C extends GcdRingElem<C>>
Pair list management. Implemented for ColorPolynomials using TreeMap and BitSet.
Field Summary | |
---|---|
protected int |
moduleVars
|
protected boolean |
oneInGB
|
protected java.util.List<ColorPolynomial<C>> |
P
|
protected java.util.SortedMap<ExpVector,java.util.LinkedList<CPair<C>>> |
pairlist
|
protected int |
putCount
|
protected java.util.List<java.util.BitSet> |
red
|
protected CReductionSeq<C> |
reduction
|
protected int |
remCount
|
protected GenPolynomialRing<GenPolynomial<C>> |
ring
|
protected boolean |
useCriterion4
|
Constructor Summary | |
---|---|
OrderedCPairlist(GenPolynomialRing<GenPolynomial<C>> r)
Constructor for OrderedPairlist. |
|
OrderedCPairlist(int m,
GenPolynomialRing<GenPolynomial<C>> r)
Constructor for OrderedPairlist. |
Method Summary | |
---|---|
int |
bitCount()
bitCount. |
OrderedCPairlist<C> |
clone()
Clone this OrderedPairlist. |
boolean |
criterion3(int i,
int j,
ExpVector eij)
GB criterium 3. |
boolean |
equals(java.lang.Object ob)
Equals. |
java.util.List<ColorPolynomial<C>> |
getList()
Get the list of polynomials. |
int |
hashCode()
Hash code for this pair list. |
boolean |
hasNext()
Test if there is possibly a pair in the list. |
int |
pairCount()
Count remaining Pairs. |
int |
put(ColorPolynomial<C> p)
Put one Polynomial to the pairlist and reduction matrix. |
int |
putCount()
Get the number of polynomials put to the pairlist. |
int |
putOne(ColorPolynomial<C> one)
Put to ONE-Polynomial to the pairlist. |
int |
remCount()
Get the number of required pairs removed from the pairlist. |
CPair<C> |
removeNext()
Remove the next required pair from the pairlist and reduction matrix. |
java.lang.String |
toString()
toString. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final GenPolynomialRing<GenPolynomial<C extends GcdRingElem<C>>> ring
protected final java.util.List<ColorPolynomial<C extends GcdRingElem<C>>> P
protected final java.util.SortedMap<ExpVector,java.util.LinkedList<CPair<C extends GcdRingElem<C>>>> pairlist
protected final java.util.List<java.util.BitSet> red
protected final CReductionSeq<C extends GcdRingElem<C>> reduction
protected boolean oneInGB
protected boolean useCriterion4
protected int putCount
protected int remCount
protected final int moduleVars
Constructor Detail |
---|
public OrderedCPairlist(GenPolynomialRing<GenPolynomial<C>> r)
r
- polynomial factory.public OrderedCPairlist(int m, GenPolynomialRing<GenPolynomial<C>> r)
m
- number of module variables.r
- polynomial factory.Method Detail |
---|
public OrderedCPairlist<C> clone()
clone
in class java.lang.Object
public int pairCount()
public int bitCount()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object ob)
equals
in class java.lang.Object
ob
- an Object.
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public int put(ColorPolynomial<C> p)
p
- polynomial.
public CPair<C> removeNext()
public boolean hasNext()
public java.util.List<ColorPolynomial<C>> getList()
public int putCount()
public int remCount()
public int putOne(ColorPolynomial<C> one)
one
- polynomial. (no more required)
public boolean criterion3(int i, int j, ExpVector eij)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |