Description: Java version of the artificial intelligence problem, eight digital issues, the use of heuristic function to reduce the search space.
Features: 1. Immediately determine whether the solvability 2. Solvability conditions for all, as long as the number of states limit the search to relax properly, always able to find Solution 3. support the self-given random initial state and initial state 4. Oh operating parameters to support game modes: 1. random initial state with no parameters search java rearrange.Rearrange 2. parameter rc: random calculate, functions with 1 java rearrange.Rearrange rc 3. parameter fc: fixed calculate, search for specific initial state java rearrange.Rearrange fc 3-4-2-7-0-1-5-6-8 4. parameter rg: random game, fg: fixed game yourself to see it java rearrange.Rearrange rg java rearrange.Rearrange fg
To Search:
File list (Check if you may need any files):
rearrange\Rearrange.java
.........\Rearrange.class
.........\State.class
.........\RandomSequence.java
.........\RandomSequence.class
.........\MagicContainer.java
.........\MagicContainer.class
.........\State.java
open.bat
rearrange