- Hands-On Artificial Intelligence with Unreal Engine
- Francesco Sapio
- 264字
- 2021-06-24 15:23:21
The structure of a Mathematical Tree
Alright, it's time to understand how a Behavior Tree works. First of all, as the name suggests, it is a tree, mathematical speaking.
It is important to specify that a (mathematical) tree expresses relationships between nodes. In this sense, the same relationship that describes a family (e.g. parent, child, sibling) has been adopted in technical terms. To simplify the understanding of a tree, you can imagine your genealogical tree: each node is a person, and the branches (that connect people) are the relationships between the various people. However, the structure is still slightly different.
So, what is a tree? It is a graph that describes relationships between different nodes.
In particular, there is a "Root" node, which is the only node without a parent. From there, every node can have one or more children, but only one parent. The end nodes, which are the ones that do not have any child, are called leaves. Here is a simple diagram to help you understand the basic structure of a Mathematical Tree in general:

It might sound complicated, but it really isn't. Things will start getting interesting as we move on and talk about BehaviorTrees.
- .NET 4.0面向對象編程漫談:基礎篇
- NativeScript for Angular Mobile Development
- Learning AWS Lumberyard Game Development
- 數據結構(Python語言描述)(第2版)
- Python 3網絡爬蟲實戰
- Bootstrap 4:Responsive Web Design
- Oracle Exadata專家手冊
- Java網絡編程核心技術詳解(視頻微課版)
- 用戶體驗可視化指南
- SQL Server實用教程(SQL Server 2008版)
- QGIS Python Programming Cookbook(Second Edition)
- Oracle數據庫編程經典300例
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Building Dynamics CRM 2015 Dashboards with Power BI
- 一步一步跟我學Scratch3.0案例