Action¶
-
class
tupa.action.Action(action_type, tag=None, orig_edge=None, orig_node=None, oracle=None, id_=None)[source]¶ Bases:
dictAttributes Summary
is_swapremotetype_to_idMethods Summary
__call__(*args, **kwargs)Call self as a function. apply()is_type(*others)Attributes Documentation
-
is_swap¶
-
remote¶
-
type_to_id= {'FINISH': 11, 'IMPLICIT': 3, 'LABEL': 4, 'LEFT-EDGE': 6, 'LEFT-REMOTE': 8, 'NODE': 1, 'REDUCE': 5, 'REMOTE-NODE': 2, 'RIGHT-EDGE': 7, 'RIGHT-REMOTE': 9, 'SHIFT': 0, 'SWAP': 10}¶
Methods Documentation
-