Class WekaSetInstanceValue

    • Field Detail

      • m_Index

        protected WekaAttributeIndex m_Index
        the attribute index to set in the Instance.
      • m_Value

        protected String m_Value
        the value to set.
    • Constructor Detail

      • WekaSetInstanceValue

        public WekaSetInstanceValue()
    • Method Detail

      • setIndex

        public void setIndex​(WekaAttributeIndex value)
        Sets the 1-based attribute index to set in the Instance.
        Parameters:
        value - the 1-based index
      • getIndex

        public WekaAttributeIndex getIndex()
        Returns the 1-based attribute index to set in the Instance.
        Returns:
        the field
      • indexTipText

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

        public void setValue​(String value)
        Sets the value to set in the report.
        Parameters:
        value - the value to set
      • getValue

        public String getValue()
        Returns the value to set in the report.
        Returns:
        the value to set
      • valueTipText

        public String valueTipText()
        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
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        weka.core.Instance.class
      • doExecute

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