MDABUSAYED / AI-Path-Finding-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI-Path-Finding-Project

How to run code:

I implement whole program using python programming language. In “Programming_Assignment_1_Part1.py” I implement only BFS and in “Programming_Assignment_1_Part2” we implement BFS, IDS and A* search.

Run Python code:

These python programs can be run from any python IDE only using the command line argument. To execute Breadth First Search we will give “BFS” command as algorithm name. To execute Depth First Search we will give “DFS” command as algorithm name. To execute A* Search we will give “A*” command as algorithm name. For Spyder we use this.

Format: runfile('Path', args='input_file search_algorithm_name')

Example: runfile('.../Programming_Assignment_1_Part2.py', args='map1.txt BFS')
Example: runfile('.../Programming_Assignment_1_Part2.py', args='map1.txt IDS')
Example: runfile('.../Programming_Assignment_1_Part2.py', args='map1.txt A*')

Run Executable:

To run our executable form any computer, just make sure that executable and input map text file are in same folder.

Format : Executable_name.exe input_file search_algorithm_name

Example : Programming_Assignment_1_Part2.exe map1.txt BFS
Example : Programming_Assignment_1_Part2.exe map1.txt IDS
Example : Programming_Assignment_1_Part2.exe map1.txt A*
Example : Programming_Assignment_1_Part2.exe map5.txt BFS
Example : Programming_Assignment_1_Part2.exe map5.txt IDS
Example : Programming_Assignment_1_Part2.exe map5.txt A*

About


Languages

Language:Python 100.0%