程序包 weka.core
类 Debug.DBO
java.lang.Object
weka.core.Debug.DBO
- 所有已实现的接口:
Serializable
,RevisionHandler
- 封闭类:
- Debug
contains debug methods
- 版本:
- $Revision: 7519 $
- 作者:
- Gabi Schmidberger (gabi at cs dot waikato dot ac dot nz)
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明range of outputtypboolean
enables/disables output of debug information -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
dl
(int num) Return true if the debug level is set same method as outpuTypeSet but better namevoid
prints out text but only if debug level is set.void
prints out text if verbose is on.void
prints out text + endofline but only if parameter debug type is set.void
prints out text + endofline if verbose is on.Gets the current output type selectionReturns the revision string.void
initializeRanges
(int upper) Initialize ranges, upper limit must be setboolean
outputTypeSet
(int num) Return true if the outputtype is setstatic void
prints out text.static void
prints out text + endofline.void
setOutputTypes
(String list) Switches the outputs on that are requested from the option Ovoid
Set the verbose on flag on
-
字段详细资料
-
m_verboseOn
public boolean m_verboseOnenables/disables output of debug information -
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
Switches the outputs on that are requested from the option O- 参数:
list
- list of integers, all are used for an output type
-
getOutputTypes
Gets the current output type selection- 返回:
- a string containing a comma separated list of ranges
-
dpln
prints out text + endofline if verbose is on. helps to make debug output commands more visible in text- 参数:
text
- the text to print
-
dpln
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 outputtext
- the text to print
-
dp
prints out text if verbose is on. helps to make debug output commands more visible in text- 参数:
text
- the text to print
-
dp
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 outputtext
- the text to print
-
pln
prints out text + endofline. helps to make debug output commands more visible in text- 参数:
text
- the text to print
-
p
prints out text. helps to make debug output commands more visible in text- 参数:
text
- the text to print
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-