类 VaryNode
java.lang.Object
weka.classifiers.bayes.net.VaryNode
- 所有已实现的接口:
Serializable
,RevisionHandler
Part of ADTree implementation. See ADNode.java for more details.
- 版本:
- $Revision: 1.6 $
- 作者:
- Remco Bouckaert (rrb@xm.co.nz)
- 另请参阅:
-
字段详细资料
-
m_iNode
public int m_iNodeindex of the node varied -
m_nMCV
public int m_nMCVmost common value -
m_ADNodes
list of ADNode children
-
-
构造器详细资料
-
VaryNode
public VaryNode(int iNode) Creates new VaryNode
-
-
方法详细资料
-
getCounts
public void getCounts(int[] nCounts, int[] nNodes, int[] nOffsets, int iNode, int iOffset, ADNode parent, boolean bSubstract) get counts for specific instantiation of a set of nodes- 参数:
nCounts
- array for storing countsnNodes
- array of node indexesnOffsets
- offset for nodes in nNodes in nCountsiNode
- index into nNode indicating current nodeiOffset
- Offset into nCounts due to nodes below iNodeparent
- parant ADNode of this VaryNodebSubstract
- indicate whether counts should be added or substracted
-
print
print is used for debugging only, called from ADNode- 参数:
sTab
- amount of space.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-