C
- coefficient typepublic class SolvableGroebnerBaseParallel<C extends RingElem<C>> extends SolvableGroebnerBaseAbstract<C>
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.
|
Constructor and Description |
---|
SolvableGroebnerBaseParallel()
Constructor.
|
SolvableGroebnerBaseParallel(int threads)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool,
SolvableReduction<C> sred)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
java.util.concurrent.ExecutorService pool,
SolvableReduction<C> sred,
PairList<C> pl)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
PairList<C> pl)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
SolvableReduction<C> sred)
Constructor.
|
SolvableGroebnerBaseParallel(int threads,
SolvableReduction<C> sred,
PairList<C> pl)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
cancel()
Cancel ExecutorService.
|
SolvableExtendedGB<C> |
extLeftGB(int modv,
java.util.List<GenSolvablePolynomial<C>> F)
Solvable Extended Groebner base using critical pair class.
|
java.util.List<GenSolvablePolynomial<C>> |
leftGB(int modv,
java.util.List<GenSolvablePolynomial<C>> F)
Parallel Groebner base using sequential pair order class.
|
java.util.List<GenSolvablePolynomial<C>> |
leftMinimalGB(java.util.List<GenSolvablePolynomial<C>> Fp)
Minimal ordered groebner basis, parallel.
|
void |
terminate()
Cleanup and terminate ExecutorService.
|
java.util.List<GenSolvablePolynomial<C>> |
twosidedGB(int modv,
java.util.List<GenSolvablePolynomial<C>> Fp)
Twosided Groebner base using pairlist class.
|
commonZeroTest, constructUnivariate, constructUnivariate, extLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGBidem, isLeftGBsimple, isLeftReductionMatrix, isLeftReductionMatrix, isRightGB, isRightGB, isRightGB, isRightGB, isRightGBidem, isRightGBidem, isTwosidedGB, isTwosidedGB, isTwosidedGB, isTwosidedGB, isTwosidedGBidem, isTwosidedGBidem, leftGB, leftGB, leftGB, normalizeZerosOnes, rightGB, rightGB, rightGB, rightMinimalGB, twosidedGB, twosidedGB, twosidedGB, univariateDegrees
protected final int threads
protected final transient java.util.concurrent.ExecutorService pool
public SolvableGroebnerBaseParallel()
public SolvableGroebnerBaseParallel(int threads)
threads
- number of threads to use.public SolvableGroebnerBaseParallel(int threads, java.util.concurrent.ExecutorService pool)
threads
- number of threads to use.pool
- ExecutorService to use.public SolvableGroebnerBaseParallel(int threads, SolvableReduction<C> sred)
threads
- number of threads to use.sred
- parallelism aware reduction enginepublic SolvableGroebnerBaseParallel(int threads, PairList<C> pl)
threads
- number of threads to use.pl
- pair selection strategypublic SolvableGroebnerBaseParallel(int threads, SolvableReduction<C> sred, PairList<C> pl)
threads
- number of threads to use.sred
- parallelism aware reduction enginepl
- pair selection strategypublic SolvableGroebnerBaseParallel(int threads, java.util.concurrent.ExecutorService pool, SolvableReduction<C> sred)
threads
- number of threads to use.pool
- ExecutorService to use.sred
- parallelism aware reduction enginepublic SolvableGroebnerBaseParallel(int threads, java.util.concurrent.ExecutorService pool, SolvableReduction<C> sred, PairList<C> pl)
threads
- number of threads to use.pool
- ExecutorService to use.sred
- parallelism aware reduction enginepl
- pair selection strategypublic void terminate()
terminate
in class SolvableGroebnerBaseAbstract<C extends RingElem<C>>
public int cancel()
cancel
in class SolvableGroebnerBaseAbstract<C extends RingElem<C>>
public java.util.List<GenSolvablePolynomial<C>> leftGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
modv
- number of module variables.F
- polynomial list.public java.util.List<GenSolvablePolynomial<C>> leftMinimalGB(java.util.List<GenSolvablePolynomial<C>> Fp)
leftMinimalGB
in interface SolvableGroebnerBase<C extends RingElem<C>>
leftMinimalGB
in class SolvableGroebnerBaseAbstract<C extends RingElem<C>>
Fp
- a Groebner base.public SolvableExtendedGB<C> extLeftGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
extLeftGB
in interface SolvableGroebnerBase<C extends RingElem<C>>
extLeftGB
in class SolvableGroebnerBaseAbstract<C extends RingElem<C>>
modv
- module variable number.F
- solvable polynomial list.public java.util.List<GenSolvablePolynomial<C>> twosidedGB(int modv, java.util.List<GenSolvablePolynomial<C>> Fp)
modv
- number of module variables.Fp
- solvable polynomial list.