public abstract static class Tree.TreeVisitor<T extends java.lang.Exception>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
_regression |
protected AutoBuffer |
_ts |
Constructor and Description |
---|
Tree.TreeVisitor(AutoBuffer tbits,
boolean regression) |
Modifier and Type | Method and Description |
---|---|
protected Tree.TreeVisitor<T> |
leaf(int tclass) |
protected Tree.TreeVisitor<T> |
leafFloat(float fl) |
protected Tree.TreeVisitor<T> |
mid(int col,
float fcmp) |
protected Tree.TreeVisitor<T> |
post(int col,
float fcmp) |
protected Tree.TreeVisitor<T> |
pre(int col,
float fcmp,
int off0,
int offl,
int offr) |
Tree.TreeVisitor<T> |
visit() |
protected final AutoBuffer _ts
protected final boolean _regression
public Tree.TreeVisitor(AutoBuffer tbits, boolean regression)
protected Tree.TreeVisitor<T> leaf(int tclass) throws T extends java.lang.Exception
T extends java.lang.Exception
protected Tree.TreeVisitor<T> pre(int col, float fcmp, int off0, int offl, int offr) throws T extends java.lang.Exception
T extends java.lang.Exception
protected Tree.TreeVisitor<T> mid(int col, float fcmp) throws T extends java.lang.Exception
T extends java.lang.Exception
protected Tree.TreeVisitor<T> post(int col, float fcmp) throws T extends java.lang.Exception
T extends java.lang.Exception
protected Tree.TreeVisitor<T> leafFloat(float fl) throws T extends java.lang.Exception
T extends java.lang.Exception
public final Tree.TreeVisitor<T> visit() throws T extends java.lang.Exception
T extends java.lang.Exception