mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-29 08:34:46 +08:00
LRTA*
This commit is contained in:
@@ -105,8 +105,8 @@ class LRT_A_star2():
|
||||
xi = dehash(strxi)
|
||||
self.Astar.h[strxi] = min([cost(xi,xj) + self.Astar.h[hash3D(xj)] for xj in self.Astar.children(xi)])
|
||||
|
||||
#def move(self):
|
||||
# print(np.argmin([j[0] for j in self.Astar.OPEN.enumerate()]))
|
||||
def move(self):
|
||||
print(np.argmin([j[0] for j in self.Astar.OPEN.enumerate()]))
|
||||
|
||||
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user