Create a decision tree node.
Create a decision tree node. The concrete type may be a Leaf or an InteriorNode depending on whether number the number of descendants is 0 or more. If descendants size is non-zero, then an scala.collection.immutable.Seq will be produced from descendants.
type of the value passed to the decision tree for use in making the branching decisions.
the type of data stored in the nodes
a value stored in the node
the descendant nodes
a means of choosing the descendant
Create a decision tree leaf node.
Create a decision tree leaf node.
the type of the value
a value stored in the leaf node.
Provides factory methods for creating Decision Tree nodes.