
336
Chapter Sixteen
Demonstrating "When" as well as "What"
| 6.3 The Semantics of Stimulus-Response
The generalization or inference machine of a stimulus-response system in-
terprets the meaning of the examples a designer provides during the dem-
onstration. It takes the demonstrated stimulus-response examples as input
and output behaviors that, if represented as code, would appear something
like this:
On StimulusObject. Stimulus(<formal parameters>)
{
if (checkcontext)
Operation(<ResponseObject>,<other response parameters>)
Some major challenges in interpreting the examples are as follows:
• Which object(s) is the designer signifying ...