C
- coefficient typepublic class GroebnerBaseParIter<C extends RingElem<C>> extends GroebnerBaseAbstract<C>
GBAlgorithmBuilder
,
GBFactory
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.concurrent.ExecutorService |
pool
Pool of threads to use.
|
protected int |
threads
Number of threads to use.
|
blas, red, strategy
Constructor and Description |
---|
GroebnerBaseParIter()
Constructor.
|
GroebnerBaseParIter(int threads)
Constructor.
|
GroebnerBaseParIter(int threads,
java.util.concurrent.ExecutorService pool)
Constructor.
|
GroebnerBaseParIter(int threads,
java.util.concurrent.ExecutorService pool,
Reduction<C> red)
Constructor.
|
GroebnerBaseParIter(int threads,
java.util.concurrent.ExecutorService pool,
Reduction<C> red,
PairList<C> pl)
Constructor.
|
GroebnerBaseParIter(int threads,
PairList<C> pl)
Constructor.
|
GroebnerBaseParIter(int threads,
Reduction<C> red)
Constructor.
|
GroebnerBaseParIter(int threads,
Reduction<C> red,
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)
Parallel iterative Groebner base using pairlist class.
|
java.util.List<GenPolynomial<C>> |
GB(int modv,
java.util.List<GenPolynomial<C>> G,
GenPolynomial<C> f)
Groebner base using pairlist class.
|
java.util.List<GenPolynomial<C>> |
minimalGB(java.util.List<GenPolynomial<C>> Fp)
Minimal ordered groebner basis, parallel.
|
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, univariateDegrees
protected final int threads
protected final transient java.util.concurrent.ExecutorService pool
public GroebnerBaseParIter()
public GroebnerBaseParIter(int threads)
threads
- number of threads to use.public GroebnerBaseParIter(int threads, Reduction<C> red)
threads
- number of threads to use.red
- parallelism aware reduction enginepublic GroebnerBaseParIter(int threads, PairList<C> pl)
threads
- number of threads to use.pl
- pair selection strategypublic GroebnerBaseParIter(int threads, java.util.concurrent.ExecutorService pool)
threads
- number of threads to use.pool
- ExecutorService to use.public GroebnerBaseParIter(int threads, java.util.concurrent.ExecutorService pool, Reduction<C> red)
pool
- ExecutorService to use.red
- Reduction enginepublic GroebnerBaseParIter(int threads, Reduction<C> red, PairList<C> pl)
red
- Reduction enginepl
- pair selection strategypublic GroebnerBaseParIter(int threads, java.util.concurrent.ExecutorService pool, Reduction<C> red, PairList<C> pl)
threads
- number of threads to use.pool
- ExecutorService to use.red
- parallelism aware reduction enginepl
- pair selection strategypublic void terminate()
terminate
in class GroebnerBaseAbstract<C extends RingElem<C>>
public int cancel()
cancel
in class GroebnerBaseAbstract<C extends RingElem<C>>
public java.util.List<GenPolynomial<C>> GB(int modv, java.util.List<GenPolynomial<C>> F)
modv
- number of module variables.F
- polynomial list.public java.util.List<GenPolynomial<C>> GB(int modv, java.util.List<GenPolynomial<C>> G, GenPolynomial<C> f)
modv
- module variable number.G
- polynomial list of a Groebner base.f
- polynomial.public java.util.List<GenPolynomial<C>> minimalGB(java.util.List<GenPolynomial<C>> Fp)
minimalGB
in interface GroebnerBase<C extends RingElem<C>>
minimalGB
in class GroebnerBaseAbstract<C extends RingElem<C>>
Fp
- a Groebner base.