Download Extending the Knowledge Machine
Transcript
59 Chapter 10 Failed actions and sequences of actions 10.1 Inspiration The introduction of failed actions and sequences of actions has mainly been inspired by [San97a]. The basic idea is that actions may succeed or fail and that this can be used to model sequences of actions where the actions to be performed are not predefined but depend on the outcome of each other. More specifically, there are two kinds of sequences. In the first case, the actions in the sequences are performed one by one until either an action fails or there are no more actions to perform. In the second case, the ”stop condition” is success instead of failure, i.e. the actions are tried until an action succeeds or there are no more actions. 10.2 Implementation When failed actions and sequences of actions were first considered for this thesis the approach taken was to introduce a built-in slot failed to be used to represent failure of actions. However, it was later realised that failure