¡@

Home 

java Programming Glossary: openset

8-Puzzle Solution executes infinitely

http://stackoverflow.com/questions/13053455/8-puzzle-solution-executes-infinitely

So after sometime all the states in the PriorityQueue openset have a heuristic of 11 or 12. So there is not much to choose.. in proj1 astar where the infinite looping happening. openset is the PriorityQueue containing unexpanded nodes and closedset.. is the LinkedList containing expanded nodes. while openset.size 0 EightPuzzle x openset.peek if x.mapEquals goal Stack..