Interface ChainedFunctionI
- All Known Implementing Classes:
ChainableBinaryFunction,ChainableBinaryFunctionSwapped,ChainableGeneralFunction,ChainableUnaryFunction,ChainedBinaryFunction,ChainedBinaryFunctionSwapped,ChainedGeneralFunction,ChainedNaryFunction,ChainedUnaryFunction
public interface ChainedFunctionI
Specifies functions than can be used in a chain.
The
apply(Evaluator, Node, Object)
is called during evaluation
by the ChainingOpPfmc
when the function is on the right hand side of the composition operator.
This interface should not be used with
UnaryFunction, BinaryFunction,
NaryFunction, NaryBinaryFunction, or NullaryFunction.
-
Method Summary
-
Method Details
-
apply
Evaluate a chained function using an additional argument.- Parameters:
ev- the evaluatornode- top node of functionarg- additional argument from previous element in the chain- Returns:
- Throws:
EvaluationException
-