Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a robot world with a robot R in a 4 x 4 maze. Here are the rules for the robot world: The maze has
Consider a robot world with a robot R in a x maze. Here are the rules for the robot world:
The maze has walls restricting the movement of the robot.
The robot can face east E west W north N or south S
The robot can move to a neighboring cell if there is no wall blocking the robot. It uses the move M operation to change the cell location.
The robot can rotate to change the direction it faces using E W N or S to set its new direction.
The robot has a specific location in the maze.
There are up to three targets T that can be placed in the maze.
The robot must traverse the maze to pick up all targets in the maze.
A maze may not have any targets at all.
Robots may visit a cell with a target to pick up the target.
In the initial state of the system, the robot may not be located in a cell where there is a target and there cannot be more than one target in each cell.
Below is a sample maze with the robot R located in cell facing north, denoted as RN and two targets located in cells and respectively. The northfacing robot can change its direction to RW to face west using operation W The robot can change its location to cell However, it must first rotate to face south before executing the move operation.
HW Q Mazejpg
Answer the following questions about this maze.
Not considering any targets and assuming that the robot world has a single robot located inside the maze, compute the size of the state space, ie the number of states of the robot world:
enter a number only
A single rotation may rotate the robot from north to south, east to west, or east to north, and so forth.
Including rotations eg north to south how many steps does it take for the robot to reach the cell of the closest target:
enter a number only
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