Description:
A 3/4-Puzzle solver written in C++, uses A*/IDA* uses manhattan distance+linear conflict and pattern database as heuristics.
Most part of the input is hardcoded and the pattern database generator program is extremely inefficient but gets the job done
after the database is created.
The codes are completely unrefined and might be difficult to follow/use, still there are comments, which very well document the code.
Usage:
->The Pattern database generator is to be used to create the 6-6-3 database, once the database is created use N-Puzzle(IDA*)
program to solve the problem using pattern database heuristic and make sure that the database and progrm are in the same folder.
->The database generator can take a couple upto a myriad of minutes to generate depending on the processing power and RAM.
->The other heuristic programs are straightforward and easy to use.
-
Notifications
You must be signed in to change notification settings - Fork 0
A fast 3/4-Puzzle solver written in C++
PhoenixDD/N-Puzzle-Solver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A fast 3/4-Puzzle solver written in C++
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published