Users should have the opportunity to teach new tasks on their robot to fit the specific needs in its own environment. Behaviors are good building blocks for complex tasks because they are in charge of a specific control objective and have an intuitive name. After encapsulating controls within a behavior, the task learning problem for behavior-based systems becomes a behavior recognition problem. Behavior-based task learning can be focused on either behavior segmentation, behavior recognition or behavior cooperation. The behavior diagram is expressed by an execution matrix, which consists of only numerical information referring to the parameters of the behaviors or transitions. The parameter values are determined by the behavior classificati...