A practical demonstration of graph traversals using cities in Ghana as examples. Informed Searching Algorithms implemented include:
- Depth First Search (DFS)
- Breadth First Search (BFS)
- Uniform Cost Search (UCS)
Uninformed Searching Algorithms implemented also include:
- Greedy Best First Search (GBFS)
- A* Searching Algorithm (A*A)
- A less populated (simple) map
- A much complex map
- Accra
- Tema
- Achimota
- Kasoa
- Dansoman
- Mamprobi
- Kaneshie
- Boduase
- Mankessim
- Accra
- Tema
- Achimota
- Kasoa
- Dansoman
- Mamprobi
- Kaneshie
- Boduase
- Mankessim
- Korle Gono
- James Town
- Russia
- Bubuashie
- Tesano
- Kakum
- Elmina
- Cape Coast
- Takoradi
All these cities are goal states and the algorithms find paths to these goal states
This Program has two run modes:
- Console mode
- Gui mode
To run the GUI part of the program, run the searcheron.py file.
To run the console part of the program, run the console_test.py file
- Python 2.7 - Code was only tested in Python2.7. I cannot confirm if it run in other Python Versions or not.
- PyQt4 - (How to install PyQt4 in Python2.7 can be found in requirements.txt file)