@ALDAOperator(genericExecutionMode=ALL, allowBatchMode=false, shortDescription="Transposes a given 2D integer data array.") public class ALDTransposeMatrix extends ALDOperator
ALDOperator.HidingMode, ALDOperator.HistoryConstructionMode
Modifier and Type | Field and Description |
---|---|
private int[][] |
data
Input data array.
|
private int[][] |
tdata
Output data array.
|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
Constructor and Description |
---|
ALDTransposeMatrix()
Default constructor.
|
ALDTransposeMatrix(int[][] _data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentation()
Full description of the operator, e.g., to be shown as documentation in GUI.
|
protected void |
operate()
This method does the actual work and needs to be implemented by every
subclass.
|
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Input data", required=true, direction=IN, description="Input data.") private int[][] data
@Parameter(label="Transposed array", direction=OUT, description="Result.") private transient int[][] tdata
public ALDTransposeMatrix() throws ALDOperatorException
ALDOperatorException
public ALDTransposeMatrix(int[][] _data) throws ALDOperatorException
_data
- Input data.ALDOperatorException
protected void operate()
ALDOperator
operate
in class ALDOperator
public String getDocumentation()
ALDOperator
getDocumentation
in class ALDOperator
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.