程序包 weka.gui.beans

类 TestSetMaker

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSourceListener, EventConstraints, TestSetProducer, TrainingSetListener, Visible

Bean that accepts data sets and produces test sets
版本:
$Revision: 9752 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • TestSetMaker

      public TestSetMaker()
  • 方法详细资料

    • setCustomName

      public void setCustomName(String name)
      Set a custom (descriptive) name for this bean
      指定者:
      setCustomName 在接口中 BeanCommon
      参数:
      name - the name to use
    • getCustomName

      public String getCustomName()
      Get the custom (descriptive) name for this bean (if one has been set)
      指定者:
      getCustomName 在接口中 BeanCommon
      返回:
      the custom name (or the default name)
    • globalInfo

      public String globalInfo()
      Global info for this bean
      返回:
      a String value
    • acceptDataSet

      public void acceptDataSet(DataSetEvent e)
      Accepts and processes a data set event
      指定者:
      acceptDataSet 在接口中 DataSourceListener
      参数:
      e - a DataSetEvent value
    • acceptTrainingSet

      public void acceptTrainingSet(TrainingSetEvent e)
      从接口复制的说明: TrainingSetListener
      Accept and process a training set
      指定者:
      acceptTrainingSet 在接口中 TrainingSetListener
      参数:
      e - a TrainingSetEvent value
    • stop

      public void stop()
      从类复制的说明: AbstractTestSetProducer
      Stop any processing that the bean might be doing. Subclass must implement
      指定者:
      stop 在接口中 BeanCommon
      指定者:
      stop 在类中 AbstractTestSetProducer
    • isBusy

      public boolean isBusy()
      Returns true if. at this time, the bean is busy with some (i.e. perhaps a worker thread is performing some calculation).
      指定者:
      isBusy 在接口中 BeanCommon
      返回:
      true if the bean is busy.
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true, if at the current time, the named event could be generated. Assumes that supplied event names are names of events that could be generated by this bean.
      指定者:
      eventGeneratable 在接口中 EventConstraints
      参数:
      eventName - the name of the event in question
      返回:
      true if the named event could be generated at this point in time