mragankyadav / 8-puzzle-solver Goto Github PK
View Code? Open in Web Editor NEWArtificial Intelligence
Artificial Intelligence
This code solves the 8-Puzzle problem using various kinds of searches. We have a start state and a goal state for the 8-Puzzle and we use all the following 9 search strategies on it to reach the goal state. This code has following searches: 1-> Brute Force DFS 2->Brute Force BFS 3->Iterative Depth First Search 4->Greedy Best First Search using Manhatten Heuristic 5->Greedy Best First Search using Out of Place Tile Heuristic 6->A Star Search using Manhatten Heuristic 7->A Star Search using Out of Place Tile Heuristic 8->IDA Star Search using Manhatten Heuristic 9->IDA Star Search using Out of Place Heuristic The programs returns the time used, the total number of nodes visited, ram used and other statistics to help compare various search strategies and determine the best one. The program can be run using command python search.py Also, basic user interactivity has been provided and three sample inputs have been included in the code to check the results.
I want to try using this on my computer, what libraries do I need installed to run it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.