Question
Consider a scenario where a rabbit is trapped on cave. Given above is the picture of a cave as a grid. The task of the
Consider a scenario where a rabbit is trapped on cave. Given above is the picture of a cave as a grid. The task of the rescue robot is to help the rabbit to find the optimal path to reach the finish position. It can move to the north, south, west and east direction. While navigating through the environment it has obstacles like walls, fire and Bush plant. For each transition, a path cost of +3 is added in search. Assume that the robots vision sensors are sensitive to the exposure to the fire and whenever it tries to move towards the fire cell resulting in incurring an additional penalty of +5 cost. In addition, every time the rabbit attempts to move towards the bush plant cell, an extra transition cost of +1 is incurred. Use Manhattan distance as a heuristic wherever necessary. Use Genetic Algorithm to find optimal path and give algotithm in python. Also Use appropriate data structures and implement search algorithms (informed and local search) to find and print the optimal path sequence with costs. Include code in your implementation to calculate the space complexity and time complexity for the informed search and print the same. For local search interpret the significance of the hyperparameters if any applicable .
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