|
|||||||||
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.GroebnerBaseSeqPairDistributed<C>
C
- coefficient typepublic class GroebnerBaseSeqPairDistributed<C extends RingElem<C>>
Groebner Base distributed algorithm. Implements a distributed memory parallel version of Groebner bases. Using pairlist class, distributed tasks do reduction. 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.
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 | |
---|---|
GroebnerBaseSeqPairDistributed()
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads)
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads,
int port)
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads,
int port,
Reduction<C> red)
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads,
Reduction<C> red)
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads,
ThreadPool pool,
int port)
Constructor. |
|
GroebnerBaseSeqPairDistributed(int threads,
ThreadPool pool,
int port,
Reduction<C> red)
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 GroebnerBaseSeqPairDistributed()
public GroebnerBaseSeqPairDistributed(int threads)
threads
- number of threads to use.public GroebnerBaseSeqPairDistributed(int threads, Reduction<C> red)
threads
- number of threads to use.red
- parallelism aware reduction enginepublic GroebnerBaseSeqPairDistributed(int threads, int port, Reduction<C> red)
threads
- number of threads to use.port
- server port to use.red
- parallelism aware reduction enginepublic GroebnerBaseSeqPairDistributed(int threads, int port)
threads
- number of threads to use.port
- server port to use.public GroebnerBaseSeqPairDistributed(int threads, ThreadPool pool, int port)
threads
- number of threads to use.pool
- ThreadPool to use.port
- server port to use.public GroebnerBaseSeqPairDistributed(int threads, ThreadPool pool, int port, Reduction<C> red)
threads
- number of threads to use.pool
- ThreadPool to use.port
- server port to use.red
- parallelism aware reduction engineMethod 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.IOException
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 |