Ejemplo n.º 1
0
 // Add an entry in the dictionary linking a possible output
 // of Selector to a node
 public void AddLink(object value, IDTNode next)
 {
     links.Add(value, next);
 }
Ejemplo n.º 2
0
 // Create a decision tree with starting from a root node
 public DecisionTree(IDTNode start)
 {
     root = start;
 }
Ejemplo n.º 3
0
 public DTBinaryDecision(Func <bool> condition, IDTNode trueNode, IDTNode falseNode)
 {
     this.condition = condition;
     this.falseNode = falseNode;
     this.trueNode  = trueNode;
 }