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