Package edu.jas.gb

Class GBDistSP<C extends RingElem<C>>

java.lang.Object
edu.jas.gb.GBDistSP<C>

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

    • mfile

      private final 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.
    • bbd

      private final GroebnerBaseSeqPairDistributed<C extends RingElem<C>> bbd
      Deprecated.
      GB algorithm to use.
    • dtp

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

    • GBDistSP

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

    • execute

      public List<GenPolynomial<C>> execute(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.