Package edu.jas.gb

Class SolvableGroebnerBaseParallel<C extends RingElem<C>>

  • Type Parameters:
    C - coefficient type
    All Implemented Interfaces:
    SolvableGroebnerBase<C>, java.io.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:
    Serialized Form
    • Field Detail

      • logger

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

      • SolvableGroebnerBaseParallel

        public SolvableGroebnerBaseParallel()
        Constructor.
      • SolvableGroebnerBaseParallel

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

        public SolvableGroebnerBaseParallel​(int threads,
                                            java.util.concurrent.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,
                                            java.util.concurrent.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,
                                            java.util.concurrent.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