Summary
Agent initializes then loops
- sense, select behavior, execute behavior
- until no behavior is feasible
Sensing is a behavior that is always feasible, and generates a percept
A behavior is a feasibility test and an action, both depend only on the percept
- the current behavior is selected from among those that are currently feasible
An action can have arbitrary code, but calls the Truckworld through macrops
- a macrop expands into a sequence of Truckworld primitives using variable substitution