lib/astar: report final queue length
这个提交包含在:
父节点
e1fb37d229
当前提交
e9ada04aa9
@ -27,6 +27,7 @@ def search(start, is_goal, neighbors, heuristic=None):
|
||||
|
||||
if is_goal(this):
|
||||
print("astar: visited", len(done), "nodes")
|
||||
print("astar: pending", len(q), "nodes")
|
||||
# reconsruct the path
|
||||
n = this
|
||||
path = []
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户