de.unihalle.informatik.Alida.demo
Class ALDCalcMeanArray
java.lang.Object
de.unihalle.informatik.Alida.operator.ALDOperator
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
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 |
ALDCalcMeanArray
public ALDCalcMeanArray()
throws ALDOperatorException
- Default constructor.
- Throws:
ALDOperatorException
ALDCalcMeanArray
public ALDCalcMeanArray(Double[] _data)
throws ALDOperatorException
- Constructor.
- Parameters:
_data
- Input data.
- Throws:
ALDOperatorException
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.