public class VectorApply extends ParameterizedVectorFunction
AtomicFunction.AtomicFunctionInputPin, AtomicFunction.AtomicFunctionOutputPinm_function, m_lastInstancesm_lastOutputsm_lastInputsm_context, m_inputPins, m_outputPins| Constructor and Description |
|---|
VectorApply(Function f)
Creates a new instance of the function.
|
| Modifier and Type | Method and Description |
|---|---|
VectorApply |
duplicate(boolean with_state)
Creates a possibly stateful copy of an object.
|
PartNode |
getExplanation(Part part,
NodeFactory factory)
Produces an explanation graph for a given part, using nodes provided by
a given factory.
|
protected java.util.List<?> |
getVectorValue(java.util.List<?>... in_lists)
Computes the output list based on input lists.
|
java.lang.String |
toString() |
copyInto, getSubNode, resetgetOutputValue, replaceElementByOutput, replaceInputByElementgetMinLength, getValuecopyInto, duplicate, evaluate, getContext, getExplanation, getInputPin, getOutputPin, setContextaddToInput, addToOutput, copyInto, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddToInput, addToOutput, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutputpublic VectorApply(Function f)
f - The function to apply on each element of the input vectorprotected java.util.List<?> getVectorValue(java.util.List<?>... in_lists)
VectorOutputFunctiongetVectorValue in class VectorOutputFunctionin_lists - The input listspublic PartNode getExplanation(Part part, NodeFactory factory)
ExplanationQueryablegetExplanation in interface ExplanationQueryablegetExplanation in class VectorOutputFunctionpart - The part used as the starting point of the explanationfactory - The factory that provides nodesPartNode with
part as its part, and the callee as the subject. Other nodes
may or may not be attached to this root, depending on the subject and
the explanation.public VectorApply duplicate(boolean with_state)
Duplicableduplicate in interface Duplicableduplicate in class Nodewith_state - Set to true for a stateful copy, false
otherwisepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © Sylvain HallĂ©. All Rights Reserved.