edu.jas.ring
Class GBDist<C extends RingElem<C>>

java.lang.Object
  extended by edu.jas.ring.GBDist<C>

public class GBDist<C extends RingElem<C>>
extends java.lang.Object

Setup to run a distributed GB example.

Author:
Heinz Kredel

Field Summary
protected  int port
          Server port to use.
protected  int threads
          Number of threads to use.
 
Constructor Summary
GBDist(int threads, java.lang.String mfile, int port)
          Constructor.
 
Method Summary
 java.util.List<GenPolynomial<C>> execute(java.util.List<GenPolynomial<C>> F)
          Execute a distributed GB example.
 java.util.List<GenPolynomial<C>> executeOld(java.util.List<GenPolynomial<C>> F)
          Execute a distributed GB example.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threads

protected final int threads
Number of threads to use.


port

protected final int port
Server port to use.

Constructor Detail

GBDist

public GBDist(int threads,
              java.lang.String mfile,
              int port)
Constructor.

Parameters:
threads - number of threads respectivly processes.
mfile - name of the machine file.
port - for GB server.
Method Detail

executeOld

public java.util.List<GenPolynomial<C>> executeOld(java.util.List<GenPolynomial<C>> F)
Execute a distributed GB example. Distribute clients and start master. Obsolete version.

Parameters:
F - list of polynomials
Returns:
GB(F) a Groebner base for F.

execute

public java.util.List<GenPolynomial<C>> execute(java.util.List<GenPolynomial<C>> F)
Execute a distributed GB example. Distribute clients and start master.

Parameters:
F - list of polynomials
Returns:
GB(F) a Groebner base for F.