-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What steps will reproduce the problem?
aStarMap = new AreaMap(mapWidth, mapHeight, obstacleMap);
aStarHeuristic = new ClosestHeuristic(this);
aStarSearch = new AStar(aStarMap, aStarHeuristic);
...
aStarSearch.calcShortestPath(...)
aStarSearch.calcShortestPath(...)
What is the expected output? What do you see instead?
At the second call to aStarSearch.calcShortestPath(...) the method
AStar.reconstructPath() hangs in an infinite loop.
Please provide any additional information below.
I could easily solve this problem by adding the following as first line to
AStar.reconstructPath():
map.clear();
Original issue reported on code.google.com by hai...@gmail.com on 2 Feb 2013 at 11:52
Reactions are currently unavailable