Skip to content

sr33kar/7-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7-puzzle

Commands to run the program:

For q1.1 : python3 q1.py
For q1.2 : python3 q2.py
For q1.5 : python3 q5.py

Input Format :

White block='w' Black block='b' Empty block='_'

For q1 and q2:

Output:
The first line consists of the minimum cost of solving the puzzle.
The minimum cost path from input state to goal state will be printed from the second line along with the serial number of each step.

For q5:

Output:
The first line consists of the minimum cost of solving the puzzle.
All the possible goal states and their corresponding costs will be printed from the second line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages