mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-29 08:34:46 +08:00
Update ARAstar.py
This commit is contained in:
@@ -40,7 +40,7 @@ class AraStar:
|
|||||||
"""
|
"""
|
||||||
initialize each set.
|
initialize each set.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.g[self.s_start] = 0.0
|
self.g[self.s_start] = 0.0
|
||||||
self.g[self.s_goal] = math.inf
|
self.g[self.s_goal] = math.inf
|
||||||
self.OPEN[self.s_start] = self.f_value(self.s_start)
|
self.OPEN[self.s_start] = self.f_value(self.s_start)
|
||||||
|
|||||||
Reference in New Issue
Block a user