Question: You are provided with a city map represented as a ( 7 times 7 ) grid. Due to road maintenance after heavy
You are provided with a city map represented as a times grid. Due to road maintenance after heavy rains, several roads are blocked, and your task is to navigate from your office to home. The goal is to find the shortest, safest route, avoiding blocked paths and restricted zones such as parks and buildings.
Constraints:
Restricted areas no movement allowed: Roadblocks, buildings and parks
Allowed Movements: Horizontal or vertical only no diagonal movement
Expected Output:
Optimal path from Office to Home.
Number of steps taken along the path.
Time and space complexity of algorithms.
Use the following algorithms to find the optimal path.
Iterative Deepening A Algorithm
Hill Climbing algorithms
Evaluations will be based on the following.
Explain the PEAS and Task environment of the agent
Define the heuristic and or fitness function for the given algorithms and the given problem. Mark
Use appropriate data structures and implement search algorithms informed and local search The starting point is to be obtained from the user as input. Mark Find and print space and time complexity using code in your implementation. Mark
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
