Q9 Hive Minds: Jumping Bug Your single insect is a...
Q9 Hive Minds: Jumping Bug Your single insect is alone in the maze again. This time, it has super legs that can take it as far as you want in a straight line in each time step. The disadvantage of these legs is that they make turning slower, so now it takes the insect a time step to change the direction it is facing. Moving vv squares v requires that all intermediate squares passed through, as well as the vvvth square, currently be empty. The cost of a multi-square move is still 1 time unit, as is a turning move. As an example, the arrows in the maze below indicate where the insect will be and which direction it is facing after each time step in the optimal (fewest time steps) plan (cost 5):Q9.1 Which of the following is a minimal state representation?
A、A tuple (x,y) giving the position of the insect.
B、A tuple (x,y) giving the position of the insect, plus the direction the insect is facing.
C、A tuple (x,y) giving the position of the insect, plus an integer representing the number of direction changes necessary on the optimal path from the insect to the goal.
D、A tuple (x,y) giving the position of the insect, plus an integer t representing the number of time steps that have passed.