C - coefficient typepublic class GroebnerBaseParallel<C extends RingElem<C>> extends GroebnerBaseAbstract<C>
GBAlgorithmBuilder,
GBFactory,
Serialized Form| Modifier 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 |
|---|
GroebnerBaseParallel()
Constructor.
|
GroebnerBaseParallel(int threads)
Constructor.
|
GroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool)
Constructor.
|
GroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool,
Reduction<C> red)
Constructor.
|
GroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool,
Reduction<C> red,
PairList<C> pl)
Constructor.
|
GroebnerBaseParallel(int threads,
PairList<C> pl)
Constructor.
|
GroebnerBaseParallel(int threads,
Reduction<C> red)
Constructor.
|
GroebnerBaseParallel(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 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, univariateDegreesprotected final int threads
protected final transient java.util.concurrent.ExecutorService pool
public GroebnerBaseParallel()
public GroebnerBaseParallel(int threads)
threads - number of threads to use.public GroebnerBaseParallel(int threads, Reduction<C> red)
threads - number of threads to use.red - parallelism aware reduction enginepublic GroebnerBaseParallel(int threads, PairList<C> pl)
threads - number of threads to use.pl - pair selection strategypublic GroebnerBaseParallel(int threads, java.util.concurrent.ExecutorService pool)
threads - number of threads to use.pool - ThreadPool to use.public GroebnerBaseParallel(int threads, java.util.concurrent.ExecutorService pool, Reduction<C> red)
pool - ThreadPool to use.red - Reduction enginepublic GroebnerBaseParallel(int threads, Reduction<C> red, PairList<C> pl)
red - Reduction enginepl - pair selection strategypublic GroebnerBaseParallel(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>> 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.