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.
    Author:
    Heinz Kredel
    See Also:
    RunGB, RunSGB
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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

      • threads

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

        protected final int port
        Deprecated.
        Server port 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.