类 SingleAssociatorEnhancer

java.lang.Object
weka.associations.AbstractAssociator
weka.associations.SingleAssociatorEnhancer
所有已实现的接口:
Serializable, Cloneable, Associator, CapabilitiesHandler, OptionHandler, RevisionHandler
直接已知子类:
FilteredAssociator

public abstract class SingleAssociatorEnhancer extends AbstractAssociator implements OptionHandler
Abstract utility class for handling settings common to meta associators that use a single base associator.
版本:
$Revision: 5504 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz), FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • SingleAssociatorEnhancer

      public SingleAssociatorEnhancer()
  • 方法详细资料

    • listOptions

      public Enumeration listOptions()
      Returns an enumeration describing the available options.
      指定者:
      listOptions 在接口中 OptionHandler
      返回:
      an enumeration of all the available options.
    • setOptions

      public void setOptions(String[] options) throws Exception
      Parses a given list of options. Valid options are:

      -W classname
      Specify the full class name of the base associator.

      Options after -- are passed to the designated associator.

      指定者:
      setOptions 在接口中 OptionHandler
      参数:
      options - the list of options as an array of strings
      抛出:
      Exception - if an option is not supported
    • getOptions

      public String[] getOptions()
      Gets the current settings of the associator.
      指定者:
      getOptions 在接口中 OptionHandler
      返回:
      an array of strings suitable for passing to setOptions
    • associatorTipText

      public String associatorTipText()
      Returns the tip text for this property
      返回:
      tip text for this property suitable for displaying in the explorer/experimenter gui
    • setAssociator

      public void setAssociator(Associator value)
      Set the base associator.
      参数:
      value - the associator to use.
    • getAssociator

      public Associator getAssociator()
      Get the associator used as the base associator.
      返回:
      the currently used associator
    • getCapabilities

      public Capabilities getCapabilities()
      Returns default capabilities of the base associator.
      指定者:
      getCapabilities 在接口中 Associator
      指定者:
      getCapabilities 在接口中 CapabilitiesHandler
      覆盖:
      getCapabilities 在类中 AbstractAssociator
      返回:
      the capabilities of the base associator
      另请参阅: