def __init__(self, name, config):
        """Construct an Automaton.

        :param string name: name of the automaton
        :param dict config: configuration
        """
        self.states = ObjectDict()
        self.name = name
        self.load(config)
def __init__ ( self , name , config ) : self . states = ObjectDict ( ) self . name = name self . load ( config )
Construct an Automaton.

        :param string name: name of the automaton
        :param dict config: configuration