|
|||||||||
| 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.GroebnerBaseDistributed<C>
C - coefficient typepublic class GroebnerBaseDistributed<C extends RingElem<C>>
Groebner Base distributed algorithm. Implements a distributed memory parallel version of Groebner bases. Using pairlist class, distributed tasks do reduction, one communication channel per task.
| Field Summary | |
|---|---|
protected static int |
DEFAULT_PORT
Default server port. |
protected static int |
DEFAULT_THREADS
Default number of threads. |
protected ThreadPool |
pool
Pool of threads to use. |
protected int |
port
Server port to use. |
protected int |
threads
Number of threads to use. |
| Fields inherited from class edu.jas.gb.GroebnerBaseAbstract |
|---|
blas, red, strategy |
| Constructor Summary | |
|---|---|
GroebnerBaseDistributed()
Constructor. |
|
GroebnerBaseDistributed(int threads)
Constructor. |
|
GroebnerBaseDistributed(int threads,
int port)
Constructor. |
|
GroebnerBaseDistributed(int threads,
PairList<C> pl,
int port)
Constructor. |
|
GroebnerBaseDistributed(int threads,
ThreadPool pool,
int port)
Constructor. |
|
GroebnerBaseDistributed(int threads,
ThreadPool pool,
PairList<C> pl,
int port)
Constructor. |
|
| Method Summary | |
|---|---|
void |
clientPart(java.lang.String host)
GB distributed client. |
java.util.List<GenPolynomial<C>> |
GB(int modv,
java.util.List<GenPolynomial<C>> F)
Distributed Groebner base. |
java.util.List<GenPolynomial<C>> |
minimalGB(java.util.List<GenPolynomial<C>> Fp)
Minimal ordered groebner basis. |
void |
terminate()
Cleanup and terminate ThreadPool. |
| Methods inherited from class edu.jas.gb.GroebnerBaseAbstract |
|---|
cancel, 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 static final int DEFAULT_THREADS
protected final ThreadPool pool
protected static final int DEFAULT_PORT
protected final int port
| Constructor Detail |
|---|
public GroebnerBaseDistributed()
public GroebnerBaseDistributed(int threads)
threads - number of threads to use.
public GroebnerBaseDistributed(int threads,
int port)
threads - number of threads to use.port - server port to use.
public GroebnerBaseDistributed(int threads,
ThreadPool pool,
int port)
threads - number of threads to use.pool - ThreadPool to use.port - server port to use.
public GroebnerBaseDistributed(int threads,
PairList<C> pl,
int port)
threads - number of threads to use.pl - pair selection strategyport - server port to use.
public GroebnerBaseDistributed(int threads,
ThreadPool pool,
PairList<C> pl,
int port)
threads - number of threads to use.pool - ThreadPool to use.pl - pair selection strategyport - server port to use.| Method Detail |
|---|
public void terminate()
terminate 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 void clientPart(java.lang.String host)
throws java.io.IOException
host - the server runns on.
java.io.IOExceptionpublic 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 | ||||||||