Exemplo n.º 1
0
        public BTTree(string question, string yesGuess, string noGuess)
        {
            rootNode = new BTNode(question);
            rootNode.setYesNode(new BTNode(yesGuess));
            rootNode.setNoNode(new BTNode(noGuess));

            //Serialize the object on creation
            this.saveQuestionTree();
        }