Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> 
===== RESTART: E:\F drive\VIT Sem 4\AI\Lab\19BAI1031\Lab 4\variantastar.py =====
Weighted A star algorithm ...
Enter starting board :
2 8 1
0 4 3
7 6 5
Enter row and col of blank cell or 0: 1 0
Enter goal board :
1 2 3
8 0 4
7 6 5
Enter the weight: 3


...Iterative Deepening Search...
Success!
Goal board is 
1 2 3 

8 0 4 

7 6 5 



Depth:  9
Total time is: 3.033272



...Astar search...
Goal reached!
Goal board is 
1 2 3 

8 0 4 

7 6 5 



Total number of moves: 10
Cost =  30
Total time is: 0.184942
>>> 