java Programming Glossary: temparray
8-Puzzle Solution executes infinitely http://stackoverflow.com/questions/13053455/8-puzzle-solution-executes-infinitely children new LinkedList EightPuzzle int loc 0 int temparray new int this.puzzle.length EightPuzzle rightP upP downP leftP.. downP leftP while this.puzzle loc 0 loc if loc 3 0 temparray this.puzzle.clone temparray loc temparray loc 1 temparray.. loc 0 loc if loc 3 0 temparray this.puzzle.clone temparray loc temparray loc 1 temparray loc 1 0 rightP new EightPuzzle..
|