Package edu.jas.gb

Class GroebnerBaseParallel<C extends RingElem<C>>

    • 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

      • GroebnerBaseParallel

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

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

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

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

        public GroebnerBaseParallel​(int threads,
                                    java.util.concurrent.ExecutorService pool,
                                    Reduction<C> red)
        Constructor.
        Parameters:
        pool - ThreadPool to use.
        red - Reduction engine
      • GroebnerBaseParallel

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