temp
This commit is contained in:
parent
03f12139e7
commit
adc7d7287c
@ -224,7 +224,6 @@ class Agent:
|
||||
queue = []
|
||||
heapq.heappush(queue, (0,(start_state, [], 0)))
|
||||
while queue:
|
||||
queue.sort(key=self.calculate_priority)
|
||||
_, que = heapq.heappop(queue)
|
||||
state, actions, gscore = que
|
||||
self.xPOM, self.yPOM, self.directionPOM = state
|
||||
|
Loading…
Reference in New Issue
Block a user