This attribute reflects the current task of the simulated agent. This task is modified by any of a number of operators that place a ^new-task attribute on the top state. O-supported productions then remove the old ^task and replace it with the new one.
Substructure of the attribute:
(<top-state> ^task <t>)
(<t> ^name <any>
^criterion <crit>
^target <recog>
^criterion-satisfied << true false unknown >>)
Only the ^name attribute is required. If there is a
criterion, there are productions which will determine whether it is
satisfied and mark the task with the appropriate value of
^criterion-satisfied. If there is a target, recognition
productions will match (or fail to match) that target, and add the
^criterion-satisfied attribute. Implementation of task switching: generic.soar6