de.unihalle.informatik.Alida.demo
Class ALDCalcMeanArray

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

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

Operator for calculating the mean of given double values.

Author:
moeller

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
ALDCalcMeanArray()
          Default constructor.
ALDCalcMeanArray(Double[] _data)
          Constructor.
 
Method Summary
 Double getResultMean()
          Returns the calculated mean value.
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
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

ALDCalcMeanArray

public ALDCalcMeanArray()
                 throws ALDOperatorException
Default constructor.

Throws:
ALDOperatorException

ALDCalcMeanArray

public ALDCalcMeanArray(Double[] _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

getResultMean

public Double getResultMean()
Returns the calculated mean value.



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