C - coefficient typepublic class GroebnerBasePseudoRecParallel<C extends GcdRingElem<C>> extends GroebnerBaseAbstract<GenPolynomial<C>>
GBAlgorithmBuilder,
GBFactory,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected RingFactory<C> |
baseCofac
Base coefficient ring factory.
|
protected RingFactory<GenPolynomial<C>> |
cofac
Coefficient ring factory.
|
protected GreatestCommonDivisorAbstract<C> |
engine
Greatest common divisor engine for coefficient content and primitive
parts.
|
protected ThreadPool |
pool
Pool of threads to use.
|
protected PseudoReduction<GenPolynomial<C>> |
red
Pseudo reduction engine.
|
protected PseudoReduction<C> |
redRec
Pseudo reduction engine.
|
protected int |
threads
Number of threads to use.
|
blas, strategy| Constructor and Description |
|---|
GroebnerBasePseudoRecParallel(int threads,
RingFactory<GenPolynomial<C>> rf)
Constructor.
|
GroebnerBasePseudoRecParallel(int threads,
RingFactory<GenPolynomial<C>> rf,
PairList<GenPolynomial<C>> pl)
Constructor.
|
GroebnerBasePseudoRecParallel(int threads,
RingFactory<GenPolynomial<C>> rf,
PseudoReduction<GenPolynomial<C>> red)
Constructor.
|
GroebnerBasePseudoRecParallel(int threads,
RingFactory<GenPolynomial<C>> rf,
PseudoReduction<GenPolynomial<C>> red,
ThreadPool pool)
Constructor.
|
GroebnerBasePseudoRecParallel(int threads,
RingFactory<GenPolynomial<C>> rf,
PseudoReduction<GenPolynomial<C>> red,
ThreadPool pool,
PairList<GenPolynomial<C>> pl)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
cancel()
Cancel ThreadPool.
|
java.util.List<GenPolynomial<GenPolynomial<C>>> |
GB(int modv,
java.util.List<GenPolynomial<GenPolynomial<C>>> F)
Groebner base using pairlist class.
|
boolean |
isGBsimple(int modv,
java.util.List<GenPolynomial<GenPolynomial<C>>> F)
Groebner base simple test.
|
java.util.List<GenPolynomial<GenPolynomial<C>>> |
minimalGB(java.util.List<GenPolynomial<GenPolynomial<C>>> Gp)
Minimal ordered Groebner basis.
|
void |
terminate()
Cleanup and terminate ThreadPool.
|
commonZeroTest, constructUnivariate, extGB, extGB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGBidem, isMinimalGB, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix, normalizeZerosOnes, toString, univariateDegreesprotected final int threads
protected final transient ThreadPool pool
protected final GreatestCommonDivisorAbstract<C extends GcdRingElem<C>> engine
protected final PseudoReduction<C extends GcdRingElem<C>> redRec
protected final PseudoReduction<GenPolynomial<C extends GcdRingElem<C>>> red
protected final RingFactory<GenPolynomial<C extends GcdRingElem<C>>> cofac
protected final RingFactory<C extends GcdRingElem<C>> baseCofac
public GroebnerBasePseudoRecParallel(int threads, RingFactory<GenPolynomial<C>> rf)
threads - number of threads to use.rf - coefficient ring factory.public GroebnerBasePseudoRecParallel(int threads, RingFactory<GenPolynomial<C>> rf, PseudoReduction<GenPolynomial<C>> red)
threads - number of threads to use.rf - coefficient ring factory. Note: red must be an instance
of PseudoReductionPar.red - pseudo reduction engine.public GroebnerBasePseudoRecParallel(int threads, RingFactory<GenPolynomial<C>> rf, PseudoReduction<GenPolynomial<C>> red, ThreadPool pool)
threads - number of threads to use.rf - coefficient ring factory. Note: red must be an instance
of PseudoReductionPar.red - pseudo reduction engine.pool - ThreadPool to use.public GroebnerBasePseudoRecParallel(int threads, RingFactory<GenPolynomial<C>> rf, PairList<GenPolynomial<C>> pl)
threads - number of threads to use.rf - coefficient ring factory. Note: red must be an instance
of PseudoReductionPar.pl - pair selection strategypublic GroebnerBasePseudoRecParallel(int threads, RingFactory<GenPolynomial<C>> rf, PseudoReduction<GenPolynomial<C>> red, ThreadPool pool, PairList<GenPolynomial<C>> pl)
threads - number of threads to use.rf - coefficient ring factory. Note: red must be an instance
of PseudoReductionPar.red - pseudo reduction engine.pool - ThreadPool to use.pl - pair selection strategypublic void terminate()
terminate in class GroebnerBaseAbstract<GenPolynomial<C extends GcdRingElem<C>>>public int cancel()
cancel in class GroebnerBaseAbstract<GenPolynomial<C extends GcdRingElem<C>>>public java.util.List<GenPolynomial<GenPolynomial<C>>> GB(int modv, java.util.List<GenPolynomial<GenPolynomial<C>>> F)
modv - module variable number.F - polynomial list.public java.util.List<GenPolynomial<GenPolynomial<C>>> minimalGB(java.util.List<GenPolynomial<GenPolynomial<C>>> Gp)
minimalGB in interface GroebnerBase<GenPolynomial<C extends GcdRingElem<C>>>minimalGB in class GroebnerBaseAbstract<GenPolynomial<C extends GcdRingElem<C>>>Gp - a Groebner base.public boolean isGBsimple(int modv, java.util.List<GenPolynomial<GenPolynomial<C>>> F)
isGBsimple in class GroebnerBaseAbstract<GenPolynomial<C extends GcdRingElem<C>>>modv - module variable number.F - recursive polynomial list.