edu.jas.gb
Class GBDistSP<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.gb.GBDistSP<C>
-
public class GBDistSP<C extends RingElem<C>> extends java.lang.ObjectSetup to run a distributed GB example.
-
-
Constructor Summary
Constructors Constructor and Description GBDistSP(int threads, java.lang.String mfile, int port)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<GenPolynomial<C>>execute(java.util.List<GenPolynomial<C>> F)Execute a distributed GB example.voidterminate(boolean shutDown)Terminates the distributed thread pools.
-
-
-
Constructor Detail
-
GBDistSP
public GBDistSP(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
-
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.
-
terminate
public void terminate(boolean shutDown)
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG