Class AbstractAttributeCapabilities

    • Field Detail

      • m_Capabilities

        protected Capability[] m_Capabilities
        the class index.
      • m_Invert

        protected boolean m_Invert
        whether to invert the matching sense.
      • m_ActualCapabilities

        protected weka.core.Capabilities m_ActualCapabilities
        the capabilities object to use.
    • Constructor Detail

      • AbstractAttributeCapabilities

        public AbstractAttributeCapabilities()
    • Method Detail

      • setCapabilities

        public void setCapabilities​(Capability[] value)
        Sets the capabilities.
        Parameters:
        value - the capabilities
      • getCapabilities

        public Capability[] getCapabilities()
        Returns the capabilities.
        Returns:
        the capabilities
      • capabilitiesTipText

        public String capabilitiesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setInvert

        public void setInvert​(boolean value)
        Sets whether to invert the matching sense of the capabilities.
        Parameters:
        value - if true then the matching sense gets inverted
      • getInvert

        public boolean getInvert()
        Returns whether the matching sense of the capabilities is inverted.
        Returns:
        true if the matching sense is inverted
      • invertTipText

        public String invertTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doEvaluate

        protected abstract boolean doEvaluate​(Actor owner,
                                              Token token)
        Performs the actual evaluation.
        Specified by:
        doEvaluate in class AbstractBooleanCondition
        Parameters:
        owner - the owning actor
        token - the current token passing through
        Returns:
        the result of the evaluation