Update ARAstar.py

This commit is contained in:
zhm-real
2020-08-09 23:31:07 -07:00
parent 5a7638bc07
commit b1ccf848b4
+1 -1
View File
@@ -40,7 +40,7 @@ class AraStar:
"""
initialize each set.
"""
self.g[self.s_start] = 0.0
self.g[self.s_goal] = math.inf
self.OPEN[self.s_start] = self.f_value(self.s_start)