Journal of Robotics / 2010 / Article / Alg 4

Research Article

An Extensible Dialogue Script for a Robot Based on Unification of State-Transition Models

Algorithm 4

func checkactions(adaptor, state):
 for c in state.conditions:
       if not exist c.action.instanceid in adaptor:
       detected = 1