程序包 weka.core

类 Debug.DBO

java.lang.Object
weka.core.Debug.DBO
所有已实现的接口:
Serializable, RevisionHandler
封闭类:
Debug

public static class Debug.DBO extends Object implements Serializable, RevisionHandler
contains debug methods
版本:
$Revision: 7519 $
作者:
Gabi Schmidberger (gabi at cs dot waikato dot ac dot nz)
另请参阅:
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    range of outputtyp
    boolean
    enables/disables output of debug information
  • 构造器概要

    构造器
    构造器
    说明
    DBO()
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    dl(int num)
    Return true if the debug level is set same method as outpuTypeSet but better name
    void
    dp(int debugType, String text)
    prints out text but only if debug level is set.
    void
    dp(String text)
    prints out text if verbose is on.
    void
    dpln(int debugType, String text)
    prints out text + endofline but only if parameter debug type is set.
    void
    dpln(String text)
    prints out text + endofline if verbose is on.
    Gets the current output type selection
    Returns the revision string.
    void
    initializeRanges(int upper)
    Initialize ranges, upper limit must be set
    boolean
    outputTypeSet(int num)
    Return true if the outputtype is set
    static void
    p(String text)
    prints out text.
    static void
    pln(String text)
    prints out text + endofline.
    void
    Switches the outputs on that are requested from the option O
    void
    Set the verbose on flag on

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • m_verboseOn

      public boolean m_verboseOn
      enables/disables output of debug information
    • m_outputTypes

      public Range m_outputTypes
      range of outputtyp
  • 构造器详细资料

    • DBO

      public DBO()
  • 方法详细资料

    • setVerboseOn

      public void setVerboseOn()
      Set the verbose on flag on
    • initializeRanges

      public void initializeRanges(int upper)
      Initialize ranges, upper limit must be set
      参数:
      upper - upper limit
    • outputTypeSet

      public boolean outputTypeSet(int num)
      Return true if the outputtype is set
      参数:
      num - value that is reserved for a specific outputtype
      返回:
      return true if the output type is set
    • dl

      public boolean dl(int num)
      Return true if the debug level is set same method as outpuTypeSet but better name
      参数:
      num - value that is reserved for a specific outputtype
      返回:
      return true if the debug level is set
    • setOutputTypes

      public void setOutputTypes(String list)
      Switches the outputs on that are requested from the option O
      参数:
      list - list of integers, all are used for an output type
    • getOutputTypes

      public String getOutputTypes()
      Gets the current output type selection
      返回:
      a string containing a comma separated list of ranges
    • dpln

      public void dpln(String text)
      prints out text + endofline if verbose is on. helps to make debug output commands more visible in text
      参数:
      text - the text to print
    • dpln

      public void dpln(int debugType, String text)
      prints out text + endofline but only if parameter debug type is set. helps to make debug output commands more visible in text
      参数:
      debugType - the type of the output
      text - the text to print
    • dp

      public void dp(String text)
      prints out text if verbose is on. helps to make debug output commands more visible in text
      参数:
      text - the text to print
    • dp

      public void dp(int debugType, String text)
      prints out text but only if debug level is set. helps to make debug output commands more visible in text
      参数:
      debugType - the type of the output
      text - the text to print
    • pln

      public static void pln(String text)
      prints out text + endofline. helps to make debug output commands more visible in text
      参数:
      text - the text to print
    • p

      public static void p(String text)
      prints out text. helps to make debug output commands more visible in text
      参数:
      text - the text to print
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision