类 VaryNode

java.lang.Object
weka.classifiers.bayes.net.VaryNode
所有已实现的接口:
Serializable, RevisionHandler

public class VaryNode extends Object implements Serializable, RevisionHandler
Part of ADTree implementation. See ADNode.java for more details.
版本:
$Revision: 1.6 $
作者:
Remco Bouckaert (rrb@xm.co.nz)
另请参阅:
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    list of ADNode children
    int
    index of the node varied
    int
    most common value
  • 构造器概要

    构造器
    构造器
    说明
    VaryNode(int iNode)
    Creates new VaryNode
  • 方法概要

    修饰符和类型
    方法
    说明
    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
    Returns the revision string.
    void
    print(String sTab)
    print is used for debugging only, called from ADNode

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

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

    • m_iNode

      public int m_iNode
      index of the node varied
    • m_nMCV

      public int m_nMCV
      most common value
    • m_ADNodes

      public ADNode[] 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 counts
      nNodes - array of node indexes
      nOffsets - offset for nodes in nNodes in nCounts
      iNode - index into nNode indicating current node
      iOffset - Offset into nCounts due to nodes below iNode
      parent - parant ADNode of this VaryNode
      bSubstract - indicate whether counts should be added or substracted
    • print

      public void print(String sTab)
      print is used for debugging only, called from ADNode
      参数:
      sTab - amount of space.
    • getRevision

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