nondeterministic finite automaton

finite-state machine