@ALDAOperator(genericExecutionMode=ALL, level=STANDARD, shortDescription="Computes the sum of all elements in a given 1D array.") @ALDDerivedClass public class ALDArraySum extends ALDSummarizeArrayOp
ALDOperator.HidingMode, ALDOperator.HistoryConstructionMode
data, summary
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
Constructor and Description |
---|
ALDArraySum()
Default constructor.
|
ALDArraySum(Double[] 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.
|
getData, getSummary, setData
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
public ALDArraySum() throws ALDOperatorException
ALDOperatorException
public ALDArraySum(Double[] data) throws ALDOperatorException
data
- Input array.ALDOperatorException
protected void operate()
ALDOperator
operate
in class ALDOperator
public String getDocumentation()
ALDOperator
getDocumentation
in class ALDSummarizeArrayOp
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.