Class OrderedPairlist<C extends RingElem<C>>
java.lang.Object
edu.jas.gb.OrderedPairlist<C>
- All Implemented Interfaces:
PairList<C>, Serializable
- Direct Known Subclasses:
CriticalPairList, OrderedDPairlist, OrderedMinPairlist, OrderedRPairlist, OrderedSyzPairlist
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Loggerprotected final intprotected booleanprotected final List<GenPolynomial<C>> protected final SortedMap<ExpVector, LinkedList<Pair<C>>> protected intprotected intprotected final GenPolynomialRing<C> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.OrderedPairlist(int m, GenPolynomialRing<C> r) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreate(int m, GenPolynomialRing<C> r) Create a new PairList.create(GenPolynomialRing<C> r) Create a new PairList.booleancriterion3(int i, int j, ExpVector eij) GB criterium 3.getList()Get the list of polynomials.getRing()Get polynomial ring.booleanhasNext()Test if there is possibly a pair in the list.intput(GenPolynomial<C> p) Put one Polynomial to the pairlist and reduction matrix.intput(List<GenPolynomial<C>> F) Put all polynomials in F to the pairlist and reduction matrix.intputCount()Get the number of polynomials put to the pairlist.intputOne()Put the ONE-Polynomial to the pairlist.intputOne(GenPolynomial<C> one) Put the ONE-Polynomial to the pairlist.intremCount()Get the number of required pairs removed from the pairlist.Remove the next required pair from the pairlist and reduction matrix.voidsetList(List<GenPolynomial<C>> F) Set the list of polynomials.intsize()Get the size of the list of polynomials.toString()toString.
-
Field Details
-
P
-
pairlist
-
red
-
ring
-
reduction
-
oneInGB
protected boolean oneInGB -
useCriterion4
protected boolean useCriterion4 -
putCount
protected int putCount -
remCount
protected int remCount -
moduleVars
protected final int moduleVars -
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
OrderedPairlist
public OrderedPairlist()Constructor. -
OrderedPairlist
-
OrderedPairlist
Constructor.- Parameters:
m- number of module variables.r- polynomial factory.
-
-
Method Details
-
create
-
create
-
getRing
-
toString
-
put
-
put
-
removeNext
-
hasNext
-
getList
-
setList
-
size
-
putCount
-
remCount
-
putOne
Put the ONE-Polynomial to the pairlist.- Parameters:
one- polynomial. (no more required)- Returns:
- the index of the last polynomial.
-
putOne
-
criterion3
-