|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.ring.GroebnerBaseAbstract<C>
edu.jas.ring.GroebnerBaseParallel<C>
public class GroebnerBaseParallel<C extends RingElem<C>>
Groebner Base parallel algortihm. 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.ring.GroebnerBaseAbstract |
---|
red |
Constructor Summary | |
---|---|
GroebnerBaseParallel()
Constructor. |
|
GroebnerBaseParallel(int threads)
Constructor. |
|
GroebnerBaseParallel(int threads,
Reduction<C> red)
Constructor. |
|
GroebnerBaseParallel(int threads,
ThreadPool pool)
Constructor. |
|
GroebnerBaseParallel(int threads,
ThreadPool pool,
Reduction<C> red)
Constructor. |
Method Summary | |
---|---|
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 ThreadPool. |
Methods inherited from class edu.jas.ring.GroebnerBaseAbstract |
---|
extGB, extGB, GB, isGB, isGB, isReductionMatrix, isReductionMatrix |
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 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, ThreadPool pool)
threads
- number of threads to use.pool
- ThreadPool to use.public GroebnerBaseParallel(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()
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 |