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 intDeprecated.Default server port.protected static final intDeprecated.Default number of threads.private static final org.apache.logging.log4j.LoggerDeprecated.protected final ExecutorServiceDeprecated.Pool of threads to use.protected final intDeprecated.Server port to use.protected final intDeprecated.Number of threads to use.Fields inherited from class 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 TypeMethodDescriptionvoidclientPart(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.voidDeprecated.Cleanup and terminate ExecutorService.Methods inherited from class 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
-
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
-
GroebnerBaseSeqPairDistributed
-
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:
terminatein 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
-
minimalGB
Deprecated.Minimal ordered groebner basis.- Specified by:
minimalGBin interfaceGroebnerBase<C extends RingElem<C>>- Overrides:
minimalGBin classGroebnerBaseAbstract<C extends RingElem<C>>- Parameters:
Fp- a Groebner base.- Returns:
- a reduced Groebner base of Fp.
-