Package edu.jas.gb
Class GroebnerBaseSeqPairDistributed<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.gb.GroebnerBaseAbstract<C>
-
- edu.jas.gb.GroebnerBaseSeqPairDistributed<C>
-
- Type Parameters:
C
- coefficient type
- All Implemented Interfaces:
GroebnerBase<C>
,java.io.Serializable
@Deprecated public class GroebnerBaseSeqPairDistributed<C extends RingElem<C>> extends GroebnerBaseAbstract<C>
Deprecated.no direct alternativeGroebner 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.- Author:
- Heinz Kredel
- See Also:
GroebnerBaseDistributedEC
,GroebnerBaseDistributedHybridEC
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
DEFAULT_PORT
Deprecated.Default server port.protected static int
DEFAULT_THREADS
Deprecated.Default number of threads.protected java.util.concurrent.ExecutorService
pool
Deprecated.Pool of threads to use.protected int
port
Deprecated.Server port to use.protected int
threads
Deprecated.Number of threads to use.-
Fields inherited from class edu.jas.gb.GroebnerBaseAbstract
blas, red, strategy
-
-
Constructor Summary
Constructors Constructor Description GroebnerBaseSeqPairDistributed()
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads)
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads, int port)
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads, int port, Reduction<C> red)
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads, Reduction<C> red)
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads, java.util.concurrent.ExecutorService pool, int port)
Deprecated.Constructor.GroebnerBaseSeqPairDistributed(int threads, java.util.concurrent.ExecutorService pool, int port, Reduction<C> red)
Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clientPart(java.lang.String host)
Deprecated.GB distributed client.java.util.List<GenPolynomial<C>>
GB(int modv, java.util.List<GenPolynomial<C>> F)
Deprecated.Distributed Groebner base.java.util.List<GenPolynomial<C>>
minimalGB(java.util.List<GenPolynomial<C>> Fp)
Deprecated.Minimal ordered groebner basis.void
terminate()
Deprecated.Cleanup and terminate ExecutorService.-
Methods inherited from class edu.jas.gb.GroebnerBaseAbstract
cancel, commonZeroTest, constructUnivariate, extGB, extGB, GB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGB, isGBidem, isGBsimple, isMinimalGB, isMinReductionMatrix, isMinReductionMatrix, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix, normalizeZerosOnes, toString, univariateDegrees
-
-
-
-
Field Detail
-
threads
protected final int threads
Deprecated.Number of threads to use.
-
DEFAULT_THREADS
protected static final int DEFAULT_THREADS
Deprecated.Default number of threads.- See Also:
- Constant Field Values
-
pool
protected final transient java.util.concurrent.ExecutorService pool
Deprecated.Pool of threads to use.
-
DEFAULT_PORT
protected static final int DEFAULT_PORT
Deprecated.Default server port.- See Also:
- Constant Field Values
-
port
protected final int port
Deprecated.Server port to use.
-
-
Constructor Detail
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed()
Deprecated.Constructor.
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, Reduction<C> red)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.red
- parallelism aware reduction engine
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, int port, Reduction<C> red)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.port
- server port to use.red
- parallelism aware reduction engine
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, int port)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.port
- server port to use.
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, java.util.concurrent.ExecutorService pool, int port)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.pool
- ExecutorService to use.port
- server port to use.
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, java.util.concurrent.ExecutorService pool, int port, Reduction<C> red)
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.pool
- ExecutorService to use.port
- server port to use.red
- parallelism aware reduction engine
-
-
Method Detail
-
terminate
public void terminate()
Deprecated.Cleanup and terminate ExecutorService.- Overrides:
terminate
in classGroebnerBaseAbstract<C extends RingElem<C>>
-
GB
public java.util.List<GenPolynomial<C>> GB(int modv, java.util.List<GenPolynomial<C>> F)
Deprecated.Distributed Groebner base. Slaves maintain pairlist.- Parameters:
modv
- number of module variables.F
- polynomial list.- Returns:
- GB(F) a Groebner base of F or null, if a IOException occurs.
-
clientPart
public void clientPart(java.lang.String host) throws java.io.IOException
Deprecated.GB distributed client.- Parameters:
host
- the server runs on.- Throws:
java.io.IOException
-
minimalGB
public java.util.List<GenPolynomial<C>> minimalGB(java.util.List<GenPolynomial<C>> Fp)
Deprecated.Minimal ordered groebner basis.- Specified by:
minimalGB
in interfaceGroebnerBase<C extends RingElem<C>>
- Overrides:
minimalGB
in classGroebnerBaseAbstract<C extends RingElem<C>>
- Parameters:
Fp
- a Groebner base.- Returns:
- a reduced Groebner base of Fp.
-
-