|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.meta.ND.NDTree
Field Summary | |
protected FastVector |
m_indices
The indices associated with this node |
protected ND.NDTree |
m_left
The left successor |
protected ND.NDTree |
m_parent
The parent |
protected ND.NDTree |
m_right
The right successor |
Constructor Summary | |
protected |
ND.NDTree()
Constructor. |
Method Summary | |
protected boolean |
contains(int index)
Checks whether an index is in the array. |
protected int[] |
getIndices()
Gets the indices in an array of ints. |
protected java.lang.String |
getString()
Returns the list of indices as a string. |
protected void |
insertClassIndex(int classIndex)
Inserts a class index into the tree. |
protected void |
insertClassIndexAtNode(int classIndex)
Inserts the class index at a given node. |
protected ND.NDTree |
locateNode(int nodeIndex,
int[] currentIndex)
Locates the node with the given index (depth-first traversal). |
protected void |
propagateClassIndex(int classIndex)
Propagates class index to the root. |
protected void |
toString(java.lang.StringBuffer text,
int[] id,
int level)
Returns a description of the tree rooted at this node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected FastVector m_indices
protected ND.NDTree m_parent
protected ND.NDTree m_left
protected ND.NDTree m_right
Constructor Detail |
protected ND.NDTree()
Method Detail |
protected ND.NDTree locateNode(int nodeIndex, int[] currentIndex)
protected void insertClassIndex(int classIndex)
protected void propagateClassIndex(int classIndex)
protected void insertClassIndexAtNode(int classIndex)
protected int[] getIndices()
protected boolean contains(int index)
protected java.lang.String getString()
protected void toString(java.lang.StringBuffer text, int[] id, int level)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |