|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.gb.GBDist<C>
public class GBDist<C extends RingElem<C>>
Setup to run a distributed GB example.
Field Summary | |
---|---|
protected int |
port
Server port to use. |
protected int |
threads
Number of threads to use. |
Constructor Summary | |
---|---|
GBDist(int threads,
PairList<C> pl,
java.lang.String mfile,
int port)
Constructor. |
|
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. |
void |
terminate(boolean shutDown)
Terminates the distributed thread pools. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int threads
protected final int port
Constructor Detail |
---|
public GBDist(int threads, java.lang.String mfile, int port)
threads
- number of threads respectivly processes.mfile
- name of the machine file.port
- for GB server.public GBDist(int threads, PairList<C> pl, java.lang.String mfile, int port)
threads
- number of threads respectivly processes.pl
- pair selection strategymfile
- name of the machine file.port
- for GB server.Method Detail |
---|
public java.util.List<GenPolynomial<C>> execute(java.util.List<GenPolynomial<C>> F)
F
- list of polynomials
public void terminate(boolean shutDown)
shutDown
- true, if shut-down of the remote executable servers is
requested, false, if remote executable servers stay alive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |