Tinker: a programming by Demonstration System for Beginning Programmers by Henry Lieberman Media Laboratory Massachusetts Institute of Technology


Figure 5: After performing the Move-Block operation



Download 177.19 Kb.
Page10/15
Date06.04.2021
Size177.19 Kb.
1   ...   7   8   9   10   11   12   13   14   15
Figure 5: After performing the Move-Block operation




The result of this is a somewhat trivial definition of the Stack function that simply calls Move-Block. Next we show it the more complicated example involving Blocks X, Y, and Z. In this case, moving the From block to the To block will not work. We must teach Tinker how to remove obstacles.


Showing Tinker A More Complex Example For Stack



We present the example expression (Stack Block X Block-Y), and tell Tinker that this is a New Example.

We must take care to teach Tinker how to remove the obstacle in such a way that the system can make appropriate generalizations. If we were to simply do the concrete operations,

(Move-Block Block-Z The-Table) and
(Move-Block Block-X Block-Y),

Tinker would not learn the relationship between Block-Z and Block-X, although it would indeed appear to accomplish the task in this specific example. The procedure would not then work correctly in future examples.







Share with your friends:
1   ...   7   8   9   10   11   12   13   14   15




The database is protected by copyright ©essaydocs.org 2020
send message

    Main page