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>
,Serializable
@Deprecated
public class GroebnerBaseSeqPairDistributed<C extends RingElem<C>>
extends GroebnerBaseAbstract<C>
Deprecated.
no direct alternative
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
Deprecated.Default server port.protected static final int
Deprecated.Default number of threads.private static final org.apache.logging.log4j.Logger
Deprecated.protected final ExecutorService
Deprecated.Pool of threads to use.protected final int
Deprecated.Server port to use.protected final int
Deprecated.Number of threads to use.Fields inherited from class edu.jas.gb.GroebnerBaseAbstract
blas, red, strategy
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.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, ExecutorService pool, int port) Deprecated.Constructor.GroebnerBaseSeqPairDistributed
(int threads, ExecutorService pool, int port, Reduction<C> red) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clientPart
(String host) Deprecated.GB distributed client.GB
(int modv, List<GenPolynomial<C>> F) Deprecated.Distributed Groebner base.minimalGB
(List<GenPolynomial<C>> Fp) Deprecated.Minimal ordered groebner basis.void
Deprecated.Cleanup and terminate ExecutorService.Methods inherited from class edu.jas.gb.GroebnerBaseAbstract
cancel, commonZeroTest, constructUnivariate, criterion3, extGB, extGB, GB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGB, isGBidem, isGBsimple, isMinimalGB, isMinReductionMatrix, isMinReductionMatrix, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix, normalizeZerosOnes, toString, univariateDegrees
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger loggerDeprecated. -
threads
protected final int threadsDeprecated.Number of threads to use. -
DEFAULT_THREADS
protected static final int DEFAULT_THREADSDeprecated.Default number of threads.- See Also:
-
pool
Deprecated.Pool of threads to use. -
DEFAULT_PORT
protected static final int DEFAULT_PORTDeprecated.Default server port.- See Also:
-
port
protected final int portDeprecated.Server port to use.
-
-
Constructor Details
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed()Deprecated.Constructor. -
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads) Deprecated.Constructor.- Parameters:
threads
- number of threads to use.
-
GroebnerBaseSeqPairDistributed
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.red
- parallelism aware reduction engine
-
GroebnerBaseSeqPairDistributed
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
Deprecated.Constructor.- Parameters:
threads
- number of threads to use.pool
- ExecutorService to use.port
- server port to use.
-
GroebnerBaseSeqPairDistributed
public GroebnerBaseSeqPairDistributed(int threads, 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 Details
-
terminate
public void terminate()Deprecated.Cleanup and terminate ExecutorService.- Overrides:
terminate
in classGroebnerBaseAbstract<C extends RingElem<C>>
-
GB
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
Deprecated.GB distributed client.- Parameters:
host
- the server runs on.- Throws:
IOException
-
minimalGB
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.
-