C - coefficient typepublic class GroebnerBaseDistributedEC<C extends RingElem<C>> extends GroebnerBaseAbstract<C>
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_PORT
Default server port.
|
protected static int |
DEFAULT_THREADS
Default number of threads.
|
protected int |
DHT_PORT
Default distributed hash table server port.
|
protected java.lang.String |
mfile
machine file to use.
|
protected java.util.concurrent.ExecutorService |
pool
Pool of threads to use.
|
protected int |
port
Server port to use.
|
protected int |
threads
Number of threads to use.
|
blas, red, strategy| Constructor and Description |
|---|
GroebnerBaseDistributedEC(java.lang.String mfile)
Constructor.
|
GroebnerBaseDistributedEC(java.lang.String mfile,
int threads)
Constructor.
|
GroebnerBaseDistributedEC(java.lang.String mfile,
int threads,
java.util.concurrent.ExecutorService pool,
int port)
Constructor.
|
GroebnerBaseDistributedEC(java.lang.String mfile,
int threads,
java.util.concurrent.ExecutorService pool,
PairList<C> pl,
int port)
Constructor.
|
GroebnerBaseDistributedEC(java.lang.String mfile,
int threads,
int port)
Constructor.
|
GroebnerBaseDistributedEC(java.lang.String mfile,
int threads,
PairList<C> pl,
int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends RingElem<C>> |
clientPart(java.lang.String host,
int port,
int dhtport)
GB distributed client part.
|
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 ExecutorService.
|
void |
terminate(boolean shutDown)
Terminates the distributed thread pools.
|
cancel, commonZeroTest, constructUnivariate, extGB, extGB, GB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGB, isGBidem, isGBsimple, isMinimalGB, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix, normalizeZerosOnes, toString, univariateDegreesprotected final int threads
protected static final int DEFAULT_THREADS
protected final transient java.util.concurrent.ExecutorService pool
protected static final int DEFAULT_PORT
protected final int DHT_PORT
protected final int port
protected final java.lang.String mfile
public GroebnerBaseDistributedEC(java.lang.String mfile)
mfile - name of the machine file.public GroebnerBaseDistributedEC(java.lang.String mfile, int threads)
mfile - name of the machine file.threads - number of threads to use.public GroebnerBaseDistributedEC(java.lang.String mfile, int threads, int port)
mfile - name of the machine file.threads - number of threads to use.port - server port to use.public GroebnerBaseDistributedEC(java.lang.String mfile, int threads, java.util.concurrent.ExecutorService pool, int port)
mfile - name of the machine file.threads - number of threads to use.pool - ExecutorService to use.port - server port to use.public GroebnerBaseDistributedEC(java.lang.String mfile, int threads, PairList<C> pl, int port)
mfile - name of the machine file.threads - number of threads to use.pl - pair selection strategyport - server port to use.public GroebnerBaseDistributedEC(java.lang.String mfile, int threads, java.util.concurrent.ExecutorService pool, PairList<C> pl, int port)
mfile - name of the machine file.threads - number of threads to use.pool - ExecutorService to use.pl - pair selection strategyport - server port to use.public void terminate()
terminate in class GroebnerBaseAbstract<C extends RingElem<C>>public void terminate(boolean shutDown)
shutDown - true, if shut-down of the remote executable servers is
requested, false, if remote executable servers stay alive.public java.util.List<GenPolynomial<C>> GB(int modv, java.util.List<GenPolynomial<C>> F)
modv - number of module variables.F - polynomial list.public static <C extends RingElem<C>> void clientPart(java.lang.String host, int port, int dhtport) throws java.io.IOException
host - the server runs on.port - the server runs.dhtport - of the DHT server.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.