public class Globally extends UnaryOperator
AtomicFunction.AtomicFunctionInputPin, AtomicFunction.AtomicFunctionOutputPin
m_witnesses
m_context, m_inputPins, m_outputPins
Constructor and Description |
---|
Globally()
Creates a new instance of the operator.
|
Modifier and Type | Method and Description |
---|---|
Globally |
duplicate(boolean with_state)
Creates a possibly stateful copy of an object.
|
PartNode |
getExplanation(Part d,
NodeFactory factory)
Produces an explanation graph for a given part, using nodes provided by
a given factory.
|
protected java.lang.Object[] |
getValue(java.lang.Object... inputs)
Computes the output value of the function based on input arguments.
|
java.lang.String |
toString() |
copyInto, getExplanation, getValue
copyInto, duplicate, evaluate, getContext, getExplanation, getInputPin, getOutputPin, reset, setContext
addToInput, addToOutput, copyInto, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addToInput, addToOutput, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutput
protected java.lang.Object[] getValue(java.lang.Object... inputs) throws InvalidNumberOfArgumentsException
AtomicFunction
getValue
in class AtomicFunction
inputs
- The input arguments.InvalidNumberOfArgumentsException
- If the number of arguments of
the method does not equal the input arity of the functionpublic PartNode getExplanation(Part d, NodeFactory factory)
ExplanationQueryable
getExplanation
in interface ExplanationQueryable
getExplanation
in class AtomicFunction
d
- 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 Globally duplicate(boolean with_state)
Duplicable
duplicate
in interface Duplicable
duplicate
in class Node
with_state
- Set to true
for a stateful copy, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © Sylvain HallĂ©. All Rights Reserved.