Class WekaRegexToRange

    • Field Detail

      • m_Regex

        protected String m_Regex
        regular expression used to determine attribute list.
      • m_Invert

        protected boolean m_Invert
        invert matching?
    • Constructor Detail

      • WekaRegexToRange

        public WekaRegexToRange()
    • Method Detail

      • setInvert

        public void setInvert​(boolean value)
        Invert match?
        Parameters:
        value - invert?
      • getInvert

        public boolean getInvert()
        Get invert match?
        Returns:
        invert the match?
      • 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.
      • setRegex

        public void setRegex​(String value)
        Sets the regular expression for attribute matching.
        Parameters:
        value - the regular expression.
      • getRegex

        public String getRegex()
        Returns the regular expression for attribute matching.
        Returns:
        the regular expression for attribute matching.
      • regexTipText

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

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        weka.core.Instance.class, weka.core.Instances.class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        java.lang.String.class
      • match

        protected boolean match​(String input)
        Return match, given invert status.
        Parameters:
        input - string to match
        Returns:
        matches? Given invert status.
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message