de.unihalle.informatik.Alida.demo
Class ALDTransposeMatrix

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.Alida.demo.ALDTransposeMatrix
All Implemented Interfaces:
ALDConfigurationValidator

@ALDAOperator(genericExecutionMode=ALL,
              allowBatchMode=false)
public class ALDTransposeMatrix
extends ALDOperator

Operator for transposing matrices.

Author:
moeller

Nested Class Summary
 
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
ALDOperator.HidingMode
 
Field Summary
private  int[][] data
          Input data array.
private  int[][] tdata
          Output data array.
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, portHashAccess, verbose, versionProvider
 
Constructor Summary
ALDTransposeMatrix()
          Default constructor.
ALDTransposeMatrix(int[][] _data)
          Constructor.
 
Method Summary
protected  void operate()
          This method does the actual work and needs to be implemented by every subclass.
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
deserializeFromXmlFile, fieldContained, getALDPortHashAccessKey, getConstructionMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, isConfigured, parametersToXmlObject, print, print, print, printInterface, printInterface, readHistory, readResolve, reinitializeParameterDescriptors, runOp, runOp, runOp, serializeToXmlFile, setConstructionMode, setName, setParameter, setParametersFromXml, setParametersFromXml, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory, writeParametersToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

@Parameter(label="Input data",
           required=true,
           direction=IN,
           description="Input data.")
private int[][] data
Input data array.


tdata

@Parameter(label="Transposed array",
           direction=OUT,
           description="Result.")
private transient int[][] tdata
Output data array.

Constructor Detail

ALDTransposeMatrix

public ALDTransposeMatrix()
                   throws ALDOperatorException
Default constructor.

Throws:
ALDOperatorException

ALDTransposeMatrix

public ALDTransposeMatrix(int[][] _data)
                   throws ALDOperatorException
Constructor.

Parameters:
_data - Input data.
Throws:
ALDOperatorException
Method Detail

operate

protected void operate()
Description copied from class: ALDOperator
This method does the actual work and needs to be implemented by every subclass.

Specified by:
operate in class ALDOperator