de.unihalle.informatik.Alida.demo
Class ALDPCAOp

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.Alida.demo.ALDPCAOp
All Implemented Interfaces:
ALDConfigurationValidator, ALDOperatorExecutionProgressEventListener, EventListener

@ALDAOperator(genericExecutionMode=ALL,
              level=APPLICATION)
public class ALDPCAOp
extends ALDOperator

Demo operator computing the PCA for experimental data.

The result is again of type experimental data where the sub experiments are projections into the subspace computed by the PCA.

Author:
posch

Nested Class Summary
 
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, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
 
Constructor Summary
ALDPCAOp()
          Default constructor.
ALDPCAOp(ExperimentalData _experiment)
          Constructor.
 
Method Summary
 ExperimentalData getExperiment()
          Get value of experiment.
 Integer getNumComponents()
           
 ExperimentalData getResult()
          Get value of result.
protected  void operate()
          This method does the actual work and needs to be implemented by every subclass.
 void setExperiment(ExperimentalData value)
          Set value of data.
 void setNumComponents(Integer numComponents)
           
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
addOperatorExecutionProgressEventListener, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, isConfigured, print, print, print, printInterface, printInterface, readHistory, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALDPCAOp

public ALDPCAOp()
         throws ALDOperatorException
Default constructor.

Throws:
ALDOperatorException

ALDPCAOp

public ALDPCAOp(ExperimentalData _experiment)
         throws ALDOperatorException
Constructor.

Parameters:
_experiment - Experimental data
Throws:
ALDOperatorException
Method Detail

getNumComponents

public Integer getNumComponents()
Returns:
the numComponents

setNumComponents

public void setNumComponents(Integer numComponents)
Parameters:
numComponents - the numComponents to set

operate

protected void operate()
                throws ALDOperatorException,
                       ALDProcessingDAGException
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
Throws:
ALDOperatorException
ALDProcessingDAGException

getResult

public ExperimentalData getResult()
Get value of result. Explanation: Normalized experiment.

Returns:
value of result

getExperiment

public ExperimentalData getExperiment()
Get value of experiment. Explanation: Experimental data to be normalized.

Returns:
value of data

setExperiment

public void setExperiment(ExperimentalData value)
Set value of data. Explanation: Experimental data to be normalized.

Parameters:
value - New value of data


Copyright © 2010–2014 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.