|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.gb.SolvableGroebnerBaseAbstract<C>
edu.jas.gb.SolvableGroebnerBaseSeqPairParallel<C>
C
- coefficient typepublic class SolvableGroebnerBaseSeqPairParallel<C extends RingElem<C>>
Solvable Groebner Base parallel algorithm. Makes some effort to produce the same sequence of critical pairs as in the sequential version. However already reduced pairs are not rereduced if new polynomials appear. Implements a shared memory parallel version of Groebner bases. Threads maintain pairlist.
Field Summary | |
---|---|
protected ThreadPool |
pool
Pool of threads to use. |
protected int |
threads
Number of threads to use. |
Fields inherited from class edu.jas.gb.SolvableGroebnerBaseAbstract |
---|
blas, red, sred, strategy |
Constructor Summary | |
---|---|
SolvableGroebnerBaseSeqPairParallel()
Constructor. |
|
SolvableGroebnerBaseSeqPairParallel(int threads)
Constructor. |
|
SolvableGroebnerBaseSeqPairParallel(int threads,
SolvableReduction<C> red)
Constructor. |
|
SolvableGroebnerBaseSeqPairParallel(int threads,
ThreadPool pool)
Constructor. |
|
SolvableGroebnerBaseSeqPairParallel(int threads,
ThreadPool pool,
SolvableReduction<C> sred)
Constructor. |
Method Summary | |
---|---|
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 ThreadPool. |
java.util.List<GenSolvablePolynomial<C>> |
twosidedGB(int modv,
java.util.List<GenSolvablePolynomial<C>> Fp)
Twosided Groebner base using pairlist class. |
Methods inherited from class edu.jas.gb.SolvableGroebnerBaseAbstract |
---|
extLeftGB, isLeftGB, isLeftGB, isLeftReductionMatrix, isLeftReductionMatrix, isRightGB, isRightGB, isTwosidedGB, isTwosidedGB, leftGB, rightGB, rightGB, twosidedGB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int threads
protected final ThreadPool pool
Constructor Detail |
---|
public SolvableGroebnerBaseSeqPairParallel()
public SolvableGroebnerBaseSeqPairParallel(int threads)
threads
- number of threads to use.public SolvableGroebnerBaseSeqPairParallel(int threads, ThreadPool pool)
threads
- number of threads to use.pool
- ThreadPool to use.public SolvableGroebnerBaseSeqPairParallel(int threads, SolvableReduction<C> red)
threads
- number of threads to use.red
- parallelism aware reduction enginepublic SolvableGroebnerBaseSeqPairParallel(int threads, ThreadPool pool, SolvableReduction<C> sred)
threads
- number of threads to use.pool
- ThreadPool to use.sred
- parallelism aware reduction engineMethod Detail |
---|
public void terminate()
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)
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |