public abstract class TreeVisitor<T extends java.lang.Exception>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CompressedTree |
_ct |
protected int |
_depth |
protected int |
_nodes |
protected static int |
DhnasdLeft |
protected static int |
DhnasdNaLeft |
protected static int |
DhnasdNaVsRest |
Constructor and Description |
---|
TreeVisitor(CompressedTree ct) |
Modifier and Type | Method and Description |
---|---|
protected void |
leaf(float pred) |
protected void |
mid(int col,
float fcmp,
int equal) |
protected void |
post(int col,
float fcmp,
int equal) |
protected void |
pre(int col,
float fcmp,
water.util.IcedBitSet gcmp,
int equal,
int naSplitDirInt) |
void |
visit() |
protected static final int DhnasdNaVsRest
protected static final int DhnasdNaLeft
protected static final int DhnasdLeft
protected final CompressedTree _ct
protected int _depth
protected int _nodes
public TreeVisitor(CompressedTree ct)
protected void pre(int col, float fcmp, water.util.IcedBitSet gcmp, int equal, int naSplitDirInt) throws T extends java.lang.Exception
T extends java.lang.Exception
protected void mid(int col, float fcmp, int equal) throws T extends java.lang.Exception
T extends java.lang.Exception
protected void post(int col, float fcmp, int equal) throws T extends java.lang.Exception
T extends java.lang.Exception
protected void leaf(float pred) throws T extends java.lang.Exception
T extends java.lang.Exception