com.ibm.able.beans.knn
Class NodeAttrValClass
java.lang.Object
|
+--com.ibm.able.beans.knn.NodeAttrValClass
- public class NodeAttrValClass
- extends java.lang.Object
Class used by Decision Tree Bean. The elements of the count table are of
type NodeAttributeValueClass
Besides node, attribute, value, and class, each such element stores the
index of the node in the current tree, and a count.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NodeAttrValClass
public NodeAttrValClass(TreeNode nd,
int attr,
int val,
int cl)
equals
public boolean equals(java.lang.Object avc)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
incrementCount
public void incrementCount()
getClasS
public int getClasS()
getValue
public int getValue()
getAttribute
public int getAttribute()
getNode
public TreeNode getNode()
getNodeIndex
public int getNodeIndex()
setCount
public void setCount(int c)
getCount
public int getCount()
(C) Copyright IBM Corporation 1999, 2003