This commit is contained in:
deadsmond 2019-11-25 19:15:35 +01:00
parent c78c8da1e0
commit d258966be9

View File

@ -50,7 +50,7 @@ class automata:
return not set(self.state).isdisjoint(self.accepting_states) return not set(self.state).isdisjoint(self.accepting_states)
def get_node_transition(self, q, i): def get_node_transition(self, q, i):
return [] if not self.storage[q][i] else return self.storage[q][i] return [] if not self.storage[q][i] else self.storage[q][i]
auto = automata() auto = automata()