Question: 3 . [ 2 0 points ] Programming Assignment I: For this assignment, you are going to implement a simple simulation of robot path plan

3.[20 points] Programming Assignment I:
For this assignment, you are going to implement a simple simulation of robot path plan- ning on a grid world and use value iteration to come up with a policy to get the robot to navigate a maze. You are given two files (mdp.py and utils2.py) with an MDP implementa- tion that you need to understand.
(a) Run the code as follows:
python mdp.py
Show a snapshot of the code running.
(b) Explain the relationship between the class MDP and the class GridMDP in mdp.py.
(c) Explain the following python functions from the sample code:
- vector add
- turn right
- turn left
- value iteration
- best policy
- expected utility
(d) What happens with the found policy if the reward for the entries that have -0.04 are changed to \(-1,-0.3\), or -0.02? Explain the impact of changing rewards on the policy.
3 . [ 2 0 points ] Programming Assignment I: For

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!