public static class Tree.Param.DFork extends Tree.Param.Fork
Tree.DFork
, i.e., an
input-column number, and a Vector of parameters for sub-Trees.
Also see Tree.Param.OFork
.Tree.Param.DFork, Tree.Param.Fork, Tree.Param.Leaf, Tree.Param.OFork
Value.Option.GP
Value.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
Constructor and Description |
---|
DFork(int col,
Tree.Param[] subTrees) |
Modifier and Type | Method and Description |
---|---|
Value |
elt(int i)
Return
col if i==0, Tree.Param.Fork.subTs() if i==1. |
int |
n()
Return this Option Value's number within its
Option
Type . |
col, subT, subTs
type
AoM, elts, frth, fst, nlAoM, print, snd, thrd, toString
public DFork(int col, Tree.Param[] subTrees)
public int n()
Value.Option
Type
.n
in class Value.Option
public Value elt(int i)
col
if i==0, Tree.Param.Fork.subTs()
if i==1.elt
in class Value.Structured