Package edu.jas.gb

Class GroebnerBaseSeqPairDistributed<C extends RingElem<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 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:
    GroebnerBaseDistributedEC, GroebnerBaseDistributedHybridEC, Serialized Form
    • Field Detail

      • logger

        private static final org.apache.logging.log4j.Logger logger
        Deprecated.
      • 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

      • 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