📃 docs(4.3人工智能导论及机器学习): 新增4.3.4修改部分之前文档排版及内容
This commit is contained in:
@@ -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:
|
||||

|
||||
|
||||
根节点的值是多少?
|
||||
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
1. 2
|
||||
2. 3
|
||||
3. 4
|
||||
4. 5
|
||||
5. 6
|
||||
6. 7
|
||||
7. 8
|
||||
8. 9
|
||||
|
||||
Reference in New Issue
Block a user