public static final class DTree.LeafNode extends DTree.Node
Modifier and Type | Field and Description |
---|---|
float |
_pred |
_nid, _pid, _tree
Constructor and Description |
---|
DTree.LeafNode(DTree tree,
int pid) |
DTree.LeafNode(DTree tree,
int pid,
int nid) |
Modifier and Type | Method and Description |
---|---|
protected water.AutoBuffer |
compress(water.AutoBuffer ab,
water.AutoBuffer abAux) |
double |
pred() |
protected int |
size() |
java.lang.String |
toString() |
java.lang.StringBuilder |
toString2(java.lang.StringBuilder sb,
int depth) |
nid, pid
public DTree.LeafNode(DTree tree, int pid)
public DTree.LeafNode(DTree tree, int pid, int nid)
public java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.StringBuilder toString2(java.lang.StringBuilder sb, int depth)
toString2
in class DTree.Node
protected water.AutoBuffer compress(water.AutoBuffer ab, water.AutoBuffer abAux)
compress
in class DTree.Node
protected int size()
size
in class DTree.Node
public final double pred()