Model.Defaults, Model.TransformValue.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple| Modifier and Type | Field and Description |
|---|---|
int |
col
The number of the input column (variable) to be
tested;
|
Value |
split
Select subTree '0', or '1', as the input datum
is '<' or '≥' split respectively.
|
Tree.M[] |
subTrees
The two sub-Models for <
split
or ≥split respectively. |
| Constructor and Description |
|---|
OFork(double msg1,
double msg2,
Value sp)
sp = (col, split, [sp0, sp1]).
|
| Modifier and Type | Method and Description |
|---|---|
int |
col()
The number of the column of the input that is to be tested.
|
Model |
condModel(Value id)
|
asUPModel, condNl2Pr, condNlPr, condPr, nlPr, pr, random, randomasEstimator, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTrivpublic final int col
public final Value split
public OFork(double msg1,
double msg2,
Value sp)
public int col()
Tree.Forkpublic Model condModel(Value id)
col of the input datum, <
v. ≥ split, to choose one of the two
subTrees.
Also see Tree.DFork.condModel(la.la.Value).condModel in class FunctionModel