|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.loadbalancing.util.JacobiWorker
public class JacobiWorker
Worker contains a bloc of the global matrix
Constructor Summary | |
---|---|
JacobiWorker()
|
|
JacobiWorker(java.lang.Integer id)
|
|
JacobiWorker(java.lang.Integer id,
java.lang.Double boundaryValue,
java.lang.Integer maxIter)
|
Method Summary | |
---|---|
void |
computeBorderLine()
Compute varaition for the border value of subMatrix |
void |
computeInsideLine(int line)
Compute variation for one line Use to refine granularity of the computation so as to serve get request |
void |
computeNewSubMatrix()
One iteration of jacobi process |
void |
endIter(int iter)
|
void |
receiveBoundary(int fromWho,
double[] boundary,
int iter)
|
void |
sendBoundaries()
return the border line oriented which.value |
int |
setNeighbours(JacobiWorker up,
JacobiWorker down,
JacobiWorker left,
JacobiWorker right)
|
int |
setSubMatrix(int globalMatrixSize,
int subMatrixSize,
int upperLeftX,
int upperLeftY,
double[][] subMatrix)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JacobiWorker()
public JacobiWorker(java.lang.Integer id)
public JacobiWorker(java.lang.Integer id, java.lang.Double boundaryValue, java.lang.Integer maxIter)
Method Detail |
---|
public int setSubMatrix(int globalMatrixSize, int subMatrixSize, int upperLeftX, int upperLeftY, double[][] subMatrix)
public int setNeighbours(JacobiWorker up, JacobiWorker down, JacobiWorker left, JacobiWorker right)
public void computeNewSubMatrix()
public void computeInsideLine(int line)
line
- global matrixpublic void computeBorderLine()
public void sendBoundaries()
which
- public void endIter(int iter)
public void receiveBoundary(int fromWho, double[] boundary, int iter)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |