FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
4states 4 transitions · 2 final · |Σ| = 2
Minimal DFA (Moore’s partition refinement): states with the same future are merged, so shared suffixes are drawn once. Partial: a missing transition means rejection (an implicit dead state).
- NFA 6
- subset construction 5
- minimal 4
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | b | Nonterminal | DFA states | |
|---|---|---|---|---|---|
| → | q0 | q1 | q2 | S | {q0} |
| ∗ | q1 | — | q3 | A | {q1} |
| ∗ | q2 | — | — | C | {q2,q4} |
| q3 | — | q2 | B | {q3} |
→ initial, ∗ final. Empty cells (—) lead to rejection.