public class ConstPropagationAbsIntMathFunctions extends ConceptFunction
_argumentDomainOntologies, _name, _numArgsIsFixed, _outputRangeOntology
Constructor and Description |
---|
ConstPropagationAbsIntMathFunctions(Ontology ontology,
java.lang.String mathOperation)
Create a new ConstPropagationAbsIntMathFunctions 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 ConstPropagationAbsIntMathFunctions(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
FlatScalarTokenInfiniteConcepts.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 FlatScalarTokenInfiniteConcept input arguments.IllegalActionException
- Thrown if there is a problem creating
the output FlatScalarTokenInfiniteConcept.