Lines Matching full:current_state
14 (input_symbol, current_state) --> (action, next_state)
21 (current_state) --> (action, next_state)
30 current_state, or "memory". The "memory" attribute can be any object that you
38 (input_symbol, current_state) --> (action, next_state)
40 If the pair (input_symbol, current_state) is found then process() will call the
43 If the FSM cannot find a match for (input_symbol, current_state) it will then
46 (current_state) --> (action, next_state)
48 If the current_state is found then the process() method will call the
51 for a current_state and ANY input_symbol. Hence, it is called the "any" table.
53 (input_symbol, current_state).
63 current_state then the FSM will raise an exception. This may be desirable, but
91 # Map (input_symbol, current_state) --> (action, next_state).
93 # Map (current_state) --> (action, next_state).
99 self.current_state = self.initial_state
106 """This sets the current_state to the initial_state and sets
110 self.current_state = self.initial_state
117 (input_symbol, current_state) --> (action, next_state)
150 (current_state) --> (action, next_state)
154 checks for an exact match of (input_symbol, current_state).
169 current_state in the transition_any list. This is useful as a final
215 input_symbol and current_state. If the action is None then the action
221 (self.action, self.next_state) = self.get_transition (self.input_symbol, self.current_state)
224 self.current_state = self.next_state