Class BinaryOperationMonotonicFunctionDefinition

    • Field Detail

      • functionOntologyName

        public StringParameter functionOntologyName
        The name of the ontology that specifies the domain and range of concepts for the defined binary operation concept function.
    • Constructor Detail

      • BinaryOperationMonotonicFunctionDefinition

        public BinaryOperationMonotonicFunctionDefinition​(CompositeEntity container,
                                                          java.lang.String name)
                                                   throws IllegalActionException,
        Construct the BinaryOperationConceptFunctionDefinition attribute with the given container and name.
        container - The container.
        name - The name of this attribute.
        IllegalActionException - If the entity cannot be contained by the proposed container.
        NameDuplicationException - If the container already has an actor with this name.
    • Method Detail

      • attributeChanged

        public void attributeChanged​(Attribute attribute)
                              throws IllegalActionException
        Override the attributeChanged method so that the output range and all argument domain ontology names are set to the functionOntologyName.
        attributeChanged in class NamedObj
        attribute - The attribute that has been changed.
        IllegalActionException - If there is a problem changing the attribute.