类 ClusterDefinition

java.lang.Object
weka.datagenerators.ClusterDefinition
所有已实现的接口:
Serializable, OptionHandler, RevisionHandler
直接已知子类:
SubspaceClusterDefinition

public abstract class ClusterDefinition extends Object implements Serializable, OptionHandler, RevisionHandler
Ancestor to all ClusterDefinitions, i.e., subclasses that handle their own parameters that the cluster generator only passes on.
版本:
$Revision: 1.5 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • ClusterDefinition

      public ClusterDefinition()
      initializes the cluster, without a parent cluster (necessary for GOE)
    • ClusterDefinition

      public ClusterDefinition(ClusterGenerator parent)
      initializes the cluster
      参数:
      parent - the datagenerator this cluster belongs to
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing this data generator.
      返回:
      a description of the data generator suitable for displaying in the explorer/experimenter gui
    • listOptions

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

      public abstract void setOptions(String[] options) throws Exception
      Parses a list of options for this object.

      For list of valid options see class description.

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

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

      public ClusterGenerator getParent()
      returns the parent datagenerator this cluster belongs to
      返回:
      the parent this cluster belongs to
    • setParent

      public void setParent(ClusterGenerator parent)
      sets the parent datagenerator this cluster belongs to
      参数:
      parent - the parent datagenerator
    • parentTipText

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

      public String toString()
      returns a string representation of the cluster
      覆盖:
      toString 在类中 Object
      返回:
      the cluster definition as string