If the current behavior is interrupted, the intention generator is able to store in a single-item short term memory (we do not wish to give artificial fish an unnaturally large memory capacity) the current intention and some associated information that may be used to resume the interrupted behavior. The typical use of this behavior memory is illustrated in Fig. . The persistence serves mainly to make longer duration behaviors such as feeding, mating and schooling more robust. Suppose for example that the current behavior is mating and that an imminent collision is detected. This causes an avoid intention and the storage of the mate intention (we refer to the stored intention as in Fig. ) along with the identity of the mating partner. After the obstacle is cleared, the intention generator commands the focusser to generate up-to-date heading and range information about the mating partner, assuming it is still in viewing range. A similar scenario may occur during feeding. Moreover, feeding and mating can interrupt one another if appropriate opportunities present themselves.
|Xiaoyuan Tu||January 1996|