public class ConstPropagationMathFunctions extends ConceptFunction
Red (cshelton) |
Green (cshelton) |
_argumentDomainOntologies, _name, _numArgsIsFixed, _outputRangeOntology
Constructor and Description |
---|
ConstPropagationMathFunctions(Ontology ontology,
java.lang.String mathOperation)
Create a new ConstPropagationMathFunctions concept function.
|
Modifier and Type | Method and Description |
---|---|
protected Concept |
_evaluateFunction(java.util.List<Concept> argValues)
Return the function output from the given input arguments.
|
evaluateFunction, getArgumentDomainOntologies, getName, getNumberOfArguments, getOutputRangeOntology, isMonotonic, isNumberOfArgumentsFixed, toString
public ConstPropagationMathFunctions(Ontology ontology, java.lang.String mathOperation) throws IllegalActionException
ontology
- The domain and range unit system ontology for this
concept function.mathOperation
- Indicates whether this concept function will perform
addition, subtraction, multiplication or division for the
FlatTokenInfiniteConcepts.IllegalActionException
- Thrown if the concept function cannot be created.protected Concept _evaluateFunction(java.util.List<Concept> argValues) throws IllegalActionException
_evaluateFunction
in class ConceptFunction
argValues
- The 2 FlatTokenInfiniteConcept input arguments.IllegalActionException
- Thrown if there is a problem creating
the output FlatTokenInfiniteConcept.