|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.gb.GBDistHybrid<C>
public class GBDistHybrid<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. |
protected int |
threadsPerNode
Number of threads per node to use. |
| Constructor Summary | |
|---|---|
GBDistHybrid(int threads,
int threadsPerNode,
PairList<C> pl,
java.lang.String mfile,
int port)
Constructor. |
|
GBDistHybrid(int threads,
int threadsPerNode,
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 threadsPerNode
protected final int port
| Constructor Detail |
|---|
public GBDistHybrid(int threads,
int threadsPerNode,
java.lang.String mfile,
int port)
threads - number of threads respectivly processes.threadsPerNode - number of threads per node to use.mfile - name of the machine file.port - for GB server.
public GBDistHybrid(int threads,
int threadsPerNode,
PairList<C> pl,
java.lang.String mfile,
int port)
threads - number of threads respectivly processes.threadsPerNode - number of threads per node to use.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 | ||||||||