|
|||||||||
| 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.GroebnerBaseDistributedHybrid<C>
C - coefficient typepublic class GroebnerBaseDistributedHybrid<C extends RingElem<C>>
Groebner Base distributed hybrid algorithm. Implements a distributed memory with multi-core CPUs parallel version of Groebner bases. Using pairlist class, distributed multi-threaded tasks do reduction, one communication channel per remote node.
| Field Summary | |
|---|---|
static java.lang.Integer |
ackTag
Message tag for acknowledgments. |
boolean |
debug
|
protected static int |
DEFAULT_PORT
Default server port. |
protected static int |
DEFAULT_THREADS
Default number of threads. |
protected static int |
DEFAULT_THREADS_PER_NODE
Default number of threads per compute node. |
static org.apache.log4j.Logger |
logger
|
static java.lang.Integer |
pairTag
Message tag for pairs. |
protected ThreadPool |
pool
Pool of threads to use. |
protected int |
port
Server port to use. |
static java.lang.Integer |
resultTag
Message tag for results. |
protected int |
threads
Number of threads to use. |
protected int |
threadsPerNode
Number of threads per node to use. |
| Fields inherited from class edu.jas.gb.GroebnerBaseAbstract |
|---|
blas, red, strategy |
| Constructor Summary | |
|---|---|
GroebnerBaseDistributedHybrid()
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
int port)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
int port)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
PairList<C> pl,
int port)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
ThreadPool pool,
int port)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
ThreadPool pool,
PairList<C> pl,
int port)
Constructor. |
|
GroebnerBaseDistributedHybrid(int threads,
ThreadPool pool,
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 hybrid Groebner base. |
java.util.List<GenPolynomial<C>> |
minimalGB(java.util.List<GenPolynomial<C>> Fp)
Minimal ordered groebner basis. |
void |
terminate()
Cleanup and terminate. |
| 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 |
|---|
public static final org.apache.log4j.Logger logger
public final boolean debug
protected final int threads
protected static final int DEFAULT_THREADS
protected final int threadsPerNode
protected static final int DEFAULT_THREADS_PER_NODE
protected final ThreadPool pool
protected static final int DEFAULT_PORT
protected final int port
public static final java.lang.Integer pairTag
public static final java.lang.Integer resultTag
public static final java.lang.Integer ackTag
| Constructor Detail |
|---|
public GroebnerBaseDistributedHybrid()
public GroebnerBaseDistributedHybrid(int threads)
threads - number of threads to use.
public GroebnerBaseDistributedHybrid(int threads,
int port)
threads - number of threads to use.port - server port to use.
public GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
int port)
threads - number of threads to use.threadsPerNode - threads per node to use.port - server port to use.
public GroebnerBaseDistributedHybrid(int threads,
ThreadPool pool,
int port)
threads - number of threads to use.pool - ThreadPool to use.port - server port to use.
public GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
PairList<C> pl,
int port)
threads - number of threads to use.threadsPerNode - threads per node to use.pl - pair selection strategyport - server port to use.
public GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
ThreadPool pool,
int port)
threads - number of threads to use.threadsPerNode - threads per node to use.port - server port to use.
public GroebnerBaseDistributedHybrid(int threads,
int threadsPerNode,
ThreadPool pool,
PairList<C> pl,
int port)
threads - number of threads to use.threadsPerNode - threads per node 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 runs 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 | ||||||||