chickadee » aima » make-stateful-reflex-agent

make-stateful-reflex-agent locationprocedure

Make a stateful reflex agent and place it in the given location.

location
Where to place the agent: `left' or `right'
(define (make-stateful-reflex-agent location)
  (make-reflex-agent location (make-stateful-agent-program)))