cis32 homework #1
sklar/spring-2006
and the questions are...
...the wasp's routine is to bring the paralyzed cricket to the burrow, leave it on the threshold, go inside to see that all is well, emerge, and then drag the cricket in. If the cricket is moved a few inches away while the wasp is inside making her preliminary inspection, the wasp, on emerging from the burrow, will bring the cricket back to the threshold, but not inside, and will then repeat the preparatory procedure of entering the burrow to see that everything is all right. If again the cricket is removed a few inches while the wasp is inside, once again she will move the cricket to the threhold and reenter the borrow for a final check...
Source: Nils J. Nilsson (1998), "Artificial Intelligence: A New Synthesis", Morgan Kaufmann Publishers, Inc. p82.
Pretend that you are going to program a robot to exhibit the same behavior as the wasp described above. Invent states, actions and a production system that describes the behavior.
R | ||||
G | ||||
Y | ||||
B |