|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.demo.ApplyToMatrix
@ALDAOperator(genericExecutionMode=ALL,
level=APPLICATION)
public class ApplyToMatrixDemo operator to apply a summarizing operation to a 2D array in row or column wise fashion. The summarizing operator is assumed to take a 1D array as input and return a summarizing scalar, e.g. the mean or the maxium value.
| Nested Class Summary | |
|---|---|
static class |
ApplyToMatrix.SummarizeMode
Choose row or colum wise sum |
| Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
|---|
ALDOperator.HidingMode |
| Field Summary |
|---|
| Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
|---|
completeDAG, name, portHashAccess, verbose, versionProvider |
| Constructor Summary | |
|---|---|
ApplyToMatrix()
Default constructor. |
|
ApplyToMatrix(java.lang.Double[][] _matrix)
Constructor. |
|
| Method Summary | |
|---|---|
long |
getElapsedTime()
Get value of elapsedTime. |
java.lang.Double[][] |
getMatrix()
Get value of matrix. |
boolean |
getReturnElapsedTime()
Get value of returnElapsedTime. |
java.lang.Double[] |
getSummaries()
Get value of summaries. |
ApplyToMatrix.SummarizeMode |
getSummarizeMode()
Get value of summarizeMode. |
ALDSummarizeArrayOp |
getSummarizeOp()
Get value of summarizeOp. |
java.lang.Boolean |
getVerbose()
Get value of verbose. |
protected void |
operate()
This method does the actual work and needs to be implemented by every subclass. |
void |
setElapsedTime(long value)
Set value of elapsedTime. |
void |
setMatrix(java.lang.Double[][] value)
Set value of matrix. |
void |
setReturnElapsedTime(boolean value)
Set value of returnElapsedTime. |
void |
setSummaries(java.lang.Double[] value)
Set value of summaries. |
void |
setSummarizeMode(ApplyToMatrix.SummarizeMode value)
Set value of summarizeMode. |
void |
setSummarizeOp(ALDSummarizeArrayOp value)
Set value of summarizeOp. |
void |
setVerbose(java.lang.Boolean value)
Set value of verbose. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplyToMatrix()
throws ALDOperatorException
ALDOperatorException
public ApplyToMatrix(java.lang.Double[][] _matrix)
throws ALDOperatorException
matrix - Input matrix.
ALDOperatorException| Method Detail |
|---|
protected void operate()
throws ALDOperatorException,
ALDProcessingDAGException
ALDOperator
operate in class ALDOperatorALDOperatorException
ALDProcessingDAGExceptionpublic boolean getReturnElapsedTime()
public void setReturnElapsedTime(boolean value)
value - New value of returnElapsedTimepublic java.lang.Boolean getVerbose()
getVerbose in class ALDOperatorpublic void setVerbose(java.lang.Boolean value)
setVerbose in class ALDOperatorvalue - New value of verbosepublic ALDSummarizeArrayOp getSummarizeOp()
public void setSummarizeOp(ALDSummarizeArrayOp value)
value - New value of summarizeOppublic ApplyToMatrix.SummarizeMode getSummarizeMode()
public void setSummarizeMode(ApplyToMatrix.SummarizeMode value)
value - New value of summarizeModepublic long getElapsedTime()
public void setElapsedTime(long value)
value - New value of elapsedTimepublic java.lang.Double[][] getMatrix()
public void setMatrix(java.lang.Double[][] value)
value - New value of matrixpublic java.lang.Double[] getSummaries()
public void setSummaries(java.lang.Double[] value)
value - New value of summaries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||