public abstract class TreeVisitor<T extends java.lang.Exception>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected hex.tree.CompressedTree |
_ct |
protected int |
_depth |
protected int |
_nodes |
protected SharedTreeModel |
_tm |
| Constructor and Description |
|---|
TreeVisitor(SharedTreeModel tm,
hex.tree.CompressedTree ct) |
protected final SharedTreeModel _tm
protected final hex.tree.CompressedTree _ct
protected int _depth
protected int _nodes
public TreeVisitor(SharedTreeModel tm, hex.tree.CompressedTree ct)
protected void pre(int col,
float fcmp,
water.util.IcedBitSet gcmp,
int equal)
throws T extends java.lang.Exception
T extends java.lang.Exceptionprotected void mid(int col,
float fcmp,
int equal)
throws T extends java.lang.Exception
T extends java.lang.Exceptionprotected void post(int col,
float fcmp,
int equal)
throws T extends java.lang.Exception
T extends java.lang.Exceptionprotected void leaf(float pred)
throws T extends java.lang.Exception
T extends java.lang.Exception