public class MultiplyOrDivideUnitConcepts extends ConceptFunction
_argumentDomainOntologies, _name, _numArgsIsFixed, _outputRangeOntology
Constructor and Description |
---|
MultiplyOrDivideUnitConcepts(Ontology ontology,
boolean isMultiply)
Create a new MultiplyOrDivideUnitConcepts 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 MultiplyOrDivideUnitConcepts(Ontology ontology, boolean isMultiply) throws IllegalActionException
ontology
- The domain and range unit system ontology for this
concept function.isMultiply
- Indicates whether this concept function will perform
multiplication or division for the unit system concepts.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 UnitConcept input arguments.IllegalActionException
- Thrown if there is a problem creating
the output UnitConcept.