ABLE 2.0.0 07/02/2003 10:25:01

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.


Constructor Summary
NodeAttrValClass(TreeNode nd, int attr, int val, int cl)
           
 
Method Summary
 boolean equals(java.lang.Object avc)
           
 int getAttribute()
           
 int getClasS()
           
 int getCount()
           
 TreeNode getNode()
           
 int getNodeIndex()
           
 int getValue()
           
 int hashCode()
           
 void incrementCount()
           
 void setCount(int c)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAttrValClass

public NodeAttrValClass(TreeNode nd,
                        int attr,
                        int val,
                        int cl)
Method Detail

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()

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003