|
|||||||||
| 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.GroebnerBaseParallel<C>
C - coefficient typepublic class GroebnerBaseParallel<C extends RingElem<C>>
Groebner Base parallel algortihm. Implements a shared memory parallel version of Groebner bases.
| 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 | |
|---|---|
GroebnerBaseParallel()
Constructor. |
|
GroebnerBaseParallel(int threads)
Constructor. |
|
GroebnerBaseParallel(int threads,
Reduction<C> red)
Constructor. |
|
GroebnerBaseParallel(int threads,
Reduction<C> red,
PairList<C> pl)
Constructor. |
|
GroebnerBaseParallel(int threads,
ThreadPool pool)
Constructor. |
|
GroebnerBaseParallel(int threads,
ThreadPool pool,
Reduction<C> red)
Constructor. |
|
GroebnerBaseParallel(int threads,
ThreadPool pool,
Reduction<C> red,
PairList<C> pl)
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 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.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 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 engine
public GroebnerBaseParallel(int threads,
ThreadPool pool)
threads - number of threads to use.pool - ThreadPool to use.
public GroebnerBaseParallel(int threads,
ThreadPool pool,
Reduction<C> red)
pool - ThreadPool to use.red - Reduction engine
public GroebnerBaseParallel(int threads,
Reduction<C> red,
PairList<C> pl)
red - Reduction enginepl - pair selection strategy
public GroebnerBaseParallel(int threads,
ThreadPool pool,
Reduction<C> red,
PairList<C> pl)
threads - number of threads to use.pool - ThreadPool to use.red - parallelism aware reduction enginepl - pair selection strategy| Method 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 | ||||||||