CS 470  Artificial Intelligence  

Winter 2009,  Instructor:  Jeffrey Horn                                                                NAME:  _______________________

ASSIGNMENT 2:  Stimulus-Response (S-R) versus Finite State Machines
 
Handed out/Assigned: Tuesday, March 17, 2009
Due: Tuesday, March 24, 2009

VEHICLE: 

    Assume two inputs and two outputs.  Input is from photo detectors.  Assume detector geometry in the above, right diagram.

What is the size of the "strategy space" for vehicle 1?  (i.e., how many possible output vectors exist?)     ____________

(2)  DIGITAL Braitenberg Vehicle 2:

This is the same as vehicle 1, except that there is one more sensor bit.  Let the third sensor, "GO",  (not shown) indicate whether the object detected (if any!) is a Goal or an Obstacle (hence the name GO).  Let us say you are seeking light sources, but avoiding obstacles, and you have these two combo detectors, LS and RS, that can detect both obstacles and light sources (if a detector detects both, it will register only the closest, so note that ONLY ONE OBJECT WILL BE DETECTED AT ANY ONE TIME!).  The detectors will use the GO bit to indicate whether the nearest detected object is a light source (GO == "1") or an obstacle (GO == ")").  Note that if no obstacle is detected, then the value of GO is meaningless.