Esempio n. 1
0
 /// <summary>
 ///   Creates a new decision node.
 /// </summary>
 ///
 /// <param name="owner">The owner tree for this node.</param>
 ///
 public DecisionNode(DecisionTree owner)
 {
     Owner      = owner;
     Comparison = ComparisonKind.None;
     Branches   = new DecisionBranchNodeCollection(this);
 }
Esempio n. 2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="DecisionTreeExpressionCreator"/> class.
 /// </summary>
 ///
 /// <param name="tree">The decision tree.</param>
 ///
 internal DecisionTreeExpressionCreator(DecisionTree tree)
 {
     this.tree = tree;
 }