Esempio n. 1
0
 public DecisionTree(Dictionary <int, Node> tree)
 {
     if (!IsValidTree(tree))
     {
         throw new System.Exception("Tree contains errors");
     }
     _tree = tree;
     _q    = QFunction.Default;
 }
Esempio n. 2
0
 public AssignResultNode(QFunction qfunction)
 {
     _q = qfunction;
 }
Esempio n. 3
0
 public AssignResultNode(params IPDGame.Choices[] choices)
 {
     _q = new QFunction(choices);
 }
Esempio n. 4
0
 public DecisionTree(Dictionary <int, Node> tree, QFunction q) : this(tree)
 {
     _q = q;
 }