Question: GPS Navigation Agent Problem statement Given below is the picture of a city as a grid. Due to road maintenance activities after heavy rains, some
GPS Navigation Agent
Problem statement
Given below is the picture of a city as a grid. Due to road maintenance activities after
heavy rains, some paths are blocked for traffic. You are in your office and have to reach
home. You have a GPS agent to help you find the shortest, quickest, and safest route through
the available paths avoiding the blockades so that you reach home safely. You are provided
with the map of the city with the current situation marked. Use the following algorithms to
find the shortest, and safest path.
a A
b Iterative Deepening Depth First Search
Take into consideration the following while calculating the cost:
No diagonal movements allowed. If there are no straight paths, you can move diagonally with
a penalty of points. You cannot pass through other buildings. points to be added when
your path passes adjacent next to other buildings. points to be detected when your path
passes adjacentnext to road blocks. Find the optimum path which passes through minimum
number of squares and maximum points is the shortest and safest path. Safety is of first
concern. You cannot travel through buildings and road blocks.
Evaluations will be based on the following.
Explain the PEAS Performance measure, Environment, Actuator, Sensor. for your
agent. marks
Use given algorithms and implement the algorithms in PYTHON
marks
Print the path, the total points for the path and the number of squares in the path.
marks
Include code in your implementation to calculate the space complexity and time
complexity and print the same.
text book for ACI. marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
