Package edu.jas.gb

Class GroebnerBaseSeqPairParallel<C extends RingElem<C>>

  • Type Parameters:
    C - coefficient type
    All Implemented Interfaces:
    GroebnerBase<C>, java.io.Serializable

    public class GroebnerBaseSeqPairParallel<C extends RingElem<C>>
    extends GroebnerBaseAbstract<C>
    Groebner Base parallel algorithm. 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. Implements a shared memory parallel version of Groebner bases. Slaves maintain pairlist.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Field Detail

      • threads

        protected final int threads
        Number of threads to use.
      • pool

        protected final transient java.util.concurrent.ExecutorService pool
        Pool of threads to use.
    • Constructor Detail

      • GroebnerBaseSeqPairParallel

        public GroebnerBaseSeqPairParallel​(int threads)
        Constructor.
        Parameters:
        threads - number of threads to use.
      • GroebnerBaseSeqPairParallel

        public GroebnerBaseSeqPairParallel​(int threads,
                                           java.util.concurrent.ExecutorService pool)
        Constructor.
        Parameters:
        threads - number of threads to use.
        pool - ExecutorService to use.
      • GroebnerBaseSeqPairParallel

        public GroebnerBaseSeqPairParallel​(int threads,
                                           Reduction<C> red)
        Constructor.
        Parameters:
        threads - number of threads to use.
        red - parallelism aware reduction engine
      • GroebnerBaseSeqPairParallel

        public GroebnerBaseSeqPairParallel​(int threads,
                                           java.util.concurrent.ExecutorService pool,
                                           Reduction<C> red)
        Constructor.
        Parameters:
        threads - number of threads to use.
        pool - ExecutorService to use.
        red - parallelism aware reduction engine