Package edu.jas.gb

Class GroebnerBaseSeqPairParallel<C extends RingElem<C>>

java.lang.Object
edu.jas.gb.GroebnerBaseAbstract<C>
edu.jas.gb.GroebnerBaseSeqPairParallel<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
GroebnerBase<C>, 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.
See Also:
  • Field Details

    • logger

      private static final org.apache.logging.log4j.Logger logger
    • threads

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

      protected final transient ExecutorService pool
      Pool of threads to use.
  • Constructor Details

    • GroebnerBaseSeqPairParallel

      public GroebnerBaseSeqPairParallel()
      Constructor.
    • GroebnerBaseSeqPairParallel

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

      public GroebnerBaseSeqPairParallel(int threads, 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, ExecutorService pool, Reduction<C> red)
      Constructor.
      Parameters:
      threads - number of threads to use.
      pool - ExecutorService to use.
      red - parallelism aware reduction engine
  • Method Details