📃 docs(4.3人工智能导论及机器学习): 新增4.3.4修改部分之前文档排版及内容

This commit is contained in:
E1PsyCongroo
2023-09-10 12:50:06 +08:00
parent 5707dcf627
commit 07ef5e8e09
27 changed files with 818 additions and 43 deletions

View File

@@ -9,8 +9,6 @@
本节附件下载 <Download url="https://cdn.xyxsw.site/code/1-Lecture.zip"/>
:::
/4.人工智能/code/MAZE.zip
## Node
```python
@@ -149,7 +147,7 @@ class Maze:
actions = []
cells = []
while node.parent is not None: # 遍历父节点得到路径动作
actions.append(node.action)
actions.append(node.action)
cells.append(node.state)
node = node.parent
actions.reverse()
@@ -200,12 +198,11 @@ class Maze:
![](https://cdn.xyxsw.site/UVssbyMxCoEQSuxvjh3caWAFnOb.png)
根节点的值是多少?
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
1. 2
2. 3
3. 4
4. 5
5. 6
6. 7
7. 8
8. 9