public class ApplyBinaryFunctionToMultipleArguments extends ConceptFunction
_argumentDomainOntologies, _name, _numArgsIsFixed, _outputRangeOntology
Constructor and Description |
---|
ApplyBinaryFunctionToMultipleArguments(java.lang.String name,
Ontology inputOutputOntology,
ConceptFunction binaryFunction)
Create a new ApplyBinaryFunctionToMultipleArguments concept function
for the specified binary concept function and ontology.
|
Modifier and Type | Method and Description |
---|---|
protected Concept |
_evaluateFunction(java.util.List<Concept> argValues)
Evaluate the concept function for the given list of arguments.
|
evaluateFunction, getArgumentDomainOntologies, getName, getNumberOfArguments, getOutputRangeOntology, isMonotonic, isNumberOfArgumentsFixed, toString
public ApplyBinaryFunctionToMultipleArguments(java.lang.String name, Ontology inputOutputOntology, ConceptFunction binaryFunction) throws IllegalActionException
name
- The name of this function.inputOutputOntology
- The ontology over which this function is
defined.binaryFunction
- The binary concept function to be applied to the
input argumentsIllegalActionException
- Thrown if the given binary concept function
is not specified to have exactly 2 arguments.protected Concept _evaluateFunction(java.util.List<Concept> argValues) throws IllegalActionException
_evaluateFunction
in class ConceptFunction
argValues
- The list of concept arguments for which the function
will be evaluated.IllegalActionException
- Thrown if there is an error calculating
the output concept result.