FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
4states 3 transitions · 2 final · |Σ| = 2
Deterministic, by subset construction on the NFA: the prefix tree (trie) of the words. Hover a state to see the NFA states it stands for. Partial: a missing transition means rejection (an implicit dead state).
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | b | Nonterminal | NFA states | |
|---|---|---|---|---|---|
| → | q0 | q1 | — | S | {q0} |
| q1 | — | q2 | A | {q1,q3} | |
| ∗ | q2 | — | q3 | B | {q2,q4} |
| ∗ | q3 | — | — | C | {q5} |
→ initial, ∗ final. Empty cells (—) lead to rejection.