Package edu.jas.gb

Class GroebnerBaseParIter<C extends RingElem<C>>

java.lang.Object
edu.jas.gb.GroebnerBaseAbstract<C>
edu.jas.gb.GroebnerBaseParIter<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
GroebnerBase<C>, Serializable

public class GroebnerBaseParIter<C extends RingElem<C>> extends GroebnerBaseAbstract<C>
Groebner Base parallel iterative algorithm. Implements a shared memory parallel version of Groebner bases.
See Also:
  • Field Details

    • logger

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

      private static final boolean debug
    • threads

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

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

    • GroebnerBaseParIter

      public GroebnerBaseParIter()
      Constructor.
    • GroebnerBaseParIter

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

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

      public GroebnerBaseParIter(int threads, PairList<C> pl)
      Constructor.
      Parameters:
      threads - number of threads to use.
      pl - pair selection strategy
    • GroebnerBaseParIter

      public GroebnerBaseParIter(int threads, ExecutorService pool)
      Constructor.
      Parameters:
      threads - number of threads to use.
      pool - ExecutorService to use.
    • GroebnerBaseParIter

      public GroebnerBaseParIter(int threads, ExecutorService pool, Reduction<C> red)
      Constructor.
      Parameters:
      pool - ExecutorService to use.
      red - Reduction engine
    • GroebnerBaseParIter

      public GroebnerBaseParIter(int threads, Reduction<C> red, PairList<C> pl)
      Constructor.
      Parameters:
      red - Reduction engine
      pl - pair selection strategy
    • GroebnerBaseParIter

      public GroebnerBaseParIter(int threads, ExecutorService pool, Reduction<C> red, PairList<C> pl)
      Constructor.
      Parameters:
      threads - number of threads to use.
      pool - ExecutorService to use.
      red - parallelism aware reduction engine
      pl - pair selection strategy
  • Method Details