Skip to content

Ab-Rehman99/8-Puzzle-Problem-solving-using-A_star-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8-Puzzle-Problem-solving-using-A-star-Algorithm

2 classes are used : Game and State

State class is use to define the structure of the state(configuration) and also provides functionality to move the empty space and generate child states from the current state. Game class is use to accept the initial and goal states of the N-Puzzle problem and provides functions to calculate the A-star( f(x)=g(x)+h(x) ) of any given state.

About

A program to solve 8 Puzzle problem using A* search Algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages