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