| java Programming Glossary: gn8-Puzzle Solution executes infinitely http://stackoverflow.com/questions/13053455/8-puzzle-solution-executes-infinitely  or some other text editor which has the capability to recognize java source file because there are lot of comments in the.. int h1 int list  h1 the number of misplaced tiles   int gn 0  for int i 0 i list.length i    if list i i list i 0   gn.. 0  for int i 0 i list.length i    if list i i list i 0   gn   return gn  public LinkedList EightPuzzle getChildren   LinkedList.. 
 |