Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project Definition In this project, you are required to determine the shortest path between two cities using the Uniform Cost Search ( UCS ) algorithm.
Project Definition
In this project, you are required to determine the shortest path between two cities using the Uniform Cost Search UCS algorithm. Figure illustrates the road map provided for this assignment.
Figure A simplified road map of some Turkish cities.
ToDo
You are going to develop a Python application, which is expected to meet the following requirements:
R The road map should be initialized from a CSV file.
R The user should be able to specify the path of the road map file.
R The user should be able to specify the start current city
R The user should be able to specify the end target city
R The application should present the shortest path and the distance between the start and end.
R The application should be robust and able to handle exceptions eg FileNotFoundError and CityNotFoundError
Modify the script file
submission.py provided for you to meet the requirements described above. Create a PDF report describing UCS and your effort in this assignment. Furthermore, test your application with the following city pairs and include the outcomes in your report.Mayple
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started