Application of Artificial Intelligence (ID A*) - 8-Puzzle
The 8-puzzle is an old game largely used to test new heuristic AI techniques.
The software solves any 8-puzzle combination (even and odd) using "board counting".
An even combination will find the following objective:
012
345
678
An odd combination will find the following objective:
123
804
765
How to run the program:
1. Extract files from "8puzzle.zip" in FOLDER.
2. Change MATLAB location to FOLDER.
3. Run the file "StartGame.m" from MATLAB.
4. Enter a 3 X 3 matrix. ex. [3 2 1, 4 5 6 , 0 8 7]
5. Wait for the solution.
Zitieren als
Fabiano (2024). Application of Artificial Intelligence (ID A*) - 8-Puzzle (https://www.mathworks.com/matlabcentral/fileexchange/40347-application-of-artificial-intelligence-id-a-8-puzzle), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: Application of Artificial intelligence (A*) - Puzzle - 8
Inspiriert: food calories calculation via live camera
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
8Blocos/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | english typo correction in DESCRIPTION |
||
1.0.0.0 |