AlgorithmsStringsEdit on GitHubEdit history
Thompson's Construction
Thompson NFA, McNaughton–Yamada–Thompson algorithm1968
A construction that builds an NFA proportional in size to a regular expression by combining small NFA fragments with ε-transitions for concatenation, alternation and repetition. The original paper generated search code that tracks the set of states of this NFA simultaneously.
Origin
Ken Thompson (1968). Programming Techniques: Regular expression search algorithm. Communications of the ACM 11(6).doi:10.1145/363347.363387 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Powerset Construction1959
Structural analysisSearching while tracking a whole set of NFA states at once has the same structure as performing the subset construction on the fly.
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…