Introduction - If you have any usage issues, please Google them yourself
The deterministic cleaning-robot MDP a cleaning robot has to collect a used can also has to recharge its batteries. the state describes the position of the robot and the action describes the direction of motion. The robot can move to the left or to the right. The first (1) and the final (6) states are the terminal states. The goal is to find an optimal policy that maximizes the return any initial state.