|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.gb.GroebnerBaseAbstract<C>
edu.jas.gb.GroebnerBaseSeqPairParallel<C>
C
- coefficient typepublic class GroebnerBaseSeqPairParallel<C extends RingElem<C>>
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. Slaves 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.GroebnerBaseAbstract |
---|
blas, red, strategy |
Constructor Summary | |
---|---|
GroebnerBaseSeqPairParallel()
Constructor. |
|
GroebnerBaseSeqPairParallel(int threads)
Constructor. |
|
GroebnerBaseSeqPairParallel(int threads,
Reduction<C> red)
Constructor. |
|
GroebnerBaseSeqPairParallel(int threads,
ThreadPool pool)
Constructor. |
|
GroebnerBaseSeqPairParallel(int threads,
ThreadPool pool,
Reduction<C> red)
Constructor. |
Method Summary | |
---|---|
int |
cancel()
Cancel ThreadPool. |
java.util.List<GenPolynomial<C>> |
GB(int modv,
java.util.List<GenPolynomial<C>> F)
Parallel Groebner base using sequential pair order class. |
java.util.List<GenPolynomial<C>> |
minimalGB(java.util.List<GenPolynomial<C>> Fp)
Minimal ordered groebner basis, parallel. |
void |
terminate()
Cleanup and terminate ThreadPool. |
Methods inherited from class edu.jas.gb.GroebnerBaseAbstract |
---|
commonZeroTest, extGB, extGB, GB, isGB, isGB, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix |
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 GroebnerBaseSeqPairParallel()
public GroebnerBaseSeqPairParallel(int threads)
threads
- number of threads to use.public GroebnerBaseSeqPairParallel(int threads, ThreadPool pool)
threads
- number of threads to use.pool
- ThreadPool to use.public GroebnerBaseSeqPairParallel(int threads, Reduction<C> red)
threads
- number of threads to use.red
- parallelism aware reduction enginepublic GroebnerBaseSeqPairParallel(int threads, ThreadPool pool, Reduction<C> red)
threads
- number of threads to use.pool
- ThreadPool to use.red
- parallelism aware reduction engineMethod Detail |
---|
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |