Answered step by step
Verified Expert Solution
Link Copied!

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 1 illustrates the road map provided for this assignment.
Figure 1. A simplified road map of some Turkish cities.
To-Do
You are going to develop a Python application, which is expected to meet the following requirements:
R1. The road map should be initialized from a CSV file.
R2. The user should be able to specify the path of the road map file.
R3. The user should be able to specify the start (current city).
R4. The user should be able to specify the end (target city).
R5. The application should present the shortest path and the distance between the start and end.
R6. The application should be robust and able to handle exceptions (e.g., 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Identify several examples of ethical investing and SRI.

Answered: 1 week ago