Package edu.jas.gb

Class GBDistSP<C extends RingElem<C>>


  • @Deprecated
    public class GBDistSP<C extends RingElem<C>>
    extends java.lang.Object
    Deprecated.
    use RunGB or RunSGB for standalone execution
    Setup to run a distributed GB example.
    See Also:
    RunGB, RunSGB
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private GroebnerBaseSeqPairDistributed<C> bbd
      Deprecated.
      GB algorithm to use.
      private DistThreadPool dtp
      Deprecated.
      Distributed thread pool to use.
      private java.lang.String mfile
      Deprecated.
      machine file to use.
      protected int port
      Deprecated.
      Server port to use.
      protected int threads
      Deprecated.
      Number of threads to use.
    • Constructor Summary

      Constructors 
      Constructor Description
      GBDistSP​(int threads, java.lang.String mfile, int port)
      Deprecated.
      Constructor.
    • Field Detail

      • mfile

        private final java.lang.String mfile
        Deprecated.
        machine file to use.
      • threads

        protected final int threads
        Deprecated.
        Number of threads to use.
      • port

        protected final int port
        Deprecated.
        Server port to use.
      • dtp

        private final DistThreadPool dtp
        Deprecated.
        Distributed thread pool to use.
    • Constructor Detail

      • GBDistSP

        public GBDistSP​(int threads,
                        java.lang.String mfile,
                        int port)
        Deprecated.
        Constructor.
        Parameters:
        threads - number of threads respectively processes.
        mfile - name of the machine file.
        port - for GB server.
    • Method Detail

      • execute

        public java.util.List<GenPolynomial<C>> execute​(java.util.List<GenPolynomial<C>> F)
        Deprecated.
        Execute a distributed GB example. Distribute clients and start master.
        Parameters:
        F - list of polynomials
        Returns:
        GB(F) a Groebner base for F.
      • terminate

        public void terminate​(boolean shutDown)
        Deprecated.
        Terminates the distributed thread pools.
        Parameters:
        shutDown - true, if shut-down of the remote executable servers is requested, false, if remote executable servers stay alive.