Package weka.core

Interface OptionHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String[] getOptions()
      Gets the current option settings for the OptionHandler.
      java.util.Enumeration listOptions()
      Returns an enumeration of all the available options..
      void setOptions​(java.lang.String[] options)
      Sets the OptionHandler's options using the given list.
    • Method Detail

      • listOptions

        java.util.Enumeration listOptions()
        Returns an enumeration of all the available options..
        Returns:
        an enumeration of all available options.
      • setOptions

        void setOptions​(java.lang.String[] options)
                 throws java.lang.Exception
        Sets the OptionHandler's options using the given list. All options will be set (or reset) during this call (i.e. incremental setting of options is not possible).
        Parameters:
        options - the list of options as an array of strings
        Throws:
        java.lang.Exception - if an option is not supported
      • getOptions

        java.lang.String[] getOptions()
        Gets the current option settings for the OptionHandler.
        Returns:
        the list of current option settings as an array of strings