|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.neighboursearch.CoverTree.CoverTreeNode
public class CoverTree.CoverTreeNode
class representing a node of the cover tree.
| Constructor Summary | |
|---|---|
CoverTree.CoverTreeNode()
Constructor for the class. |
|
CoverTree.CoverTreeNode(java.lang.Integer i,
double md,
double pd,
Stack<CoverTree.CoverTreeNode> childs,
int numchilds,
int s)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getRevision()
Returns the revision string. |
boolean |
isALeaf()
Returns whether if the node is a leaf or not. |
Instance |
p()
Returns the instance represented by the node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoverTree.CoverTreeNode()
public CoverTree.CoverTreeNode(java.lang.Integer i,
double md,
double pd,
Stack<CoverTree.CoverTreeNode> childs,
int numchilds,
int s)
i - The index of the Instance this node is
associated with.md - The distance of the furthest descendant.pd - The distance of the node to its parent.childs - Children of the node in a stack.numchilds - The number of children of the
node.s - The scale/level of the node in the tree.| Method Detail |
|---|
public Instance p()
public boolean isALeaf()
public java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||