Package edu.jas.gb

Class SolvableGroebnerBaseParallel<C extends RingElem<C>>

java.lang.Object
edu.jas.gb.SolvableGroebnerBaseAbstract<C>
edu.jas.gb.SolvableGroebnerBaseParallel<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
SolvableGroebnerBase<C>, Serializable

public class SolvableGroebnerBaseParallel<C extends RingElem<C>> extends SolvableGroebnerBaseAbstract<C>
Solvable Groebner Base parallel algorithm. Implements a shared memory parallel version of Groebner bases. Threads 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

    • SolvableGroebnerBaseParallel

      public SolvableGroebnerBaseParallel()
      Constructor.
    • SolvableGroebnerBaseParallel

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

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

      public SolvableGroebnerBaseParallel(int threads, SolvableReduction<C> sred)
      Constructor.
      Parameters:
      threads - number of threads to use.
      sred - parallelism aware reduction engine
    • SolvableGroebnerBaseParallel

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

      public SolvableGroebnerBaseParallel(int threads, SolvableReduction<C> sred, PairList<C> pl)
      Constructor.
      Parameters:
      threads - number of threads to use.
      sred - parallelism aware reduction engine
      pl - pair selection strategy
    • SolvableGroebnerBaseParallel

      public SolvableGroebnerBaseParallel(int threads, ExecutorService pool, SolvableReduction<C> sred)
      Constructor.
      Parameters:
      threads - number of threads to use.
      pool - ExecutorService to use.
      sred - parallelism aware reduction engine
    • SolvableGroebnerBaseParallel

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