- Joined
- Nov 3, 2013
- Messages
- 609
- Thread Author
- #21
The idea of learning about a binary search tree is to get the author "Balance" their tree in a similar way. If you can make the height of the tree minimal, and keep the most often traversed paths close to the root, you will have a bot that is doing less busy work. This leads to faster reaction times and all that jazz.It actually isn't a binary search tree. It is just a binary tree. Suggesting that someone learn a binary search tree is really overcomplicating the problem. In reality a tree bot is just a looping bot with each the if/elses replaced by tree nodes which just improves maintainability.
Overall, a good tutorial on how to make a decision tree though.