class Input : Terminal
A terminal node that represents a feature value.
The features a referenced by their index into the feature set.
NOTE: Input nodes should not be directly evaluated, as evaluation results in an infinite value. Instead, the index should be used to find the appropriate feature from a feature set.
<init> |
Input(index: Int)
A terminal node that represents a feature value. |
index |
val index: Int
The index of the feature this node represents in a flat feature set. |
arity |
val arity: Int
The number of arguments that this node expects. |