#NEWLINE# def __init__( self , states = [ ] ) : #NEWLINE# #INDENT# '\n        Constructor.\n        \n        Args:\n            :param states: list of possible states and allowed transitions\n        ' #NEWLINE# '\n        Constructor\n        ' #NEWLINE# self . _states = self #NEWLINE# self . currentState = None