Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Kleene's Algorithm

Graph Algorithm

Kleene's algorithm converts a nondeterministic finite automaton into an equivalent regular expression, establishing the equivalence between automata and regular expressions as two ways of describing the same regular languages. It is named for Stephen C. Kleene and traces to his 1956 paper, with equivalent methods later given by Brzozowski and McCluskey and by McNaughton and Yamada. The algorithm works by incrementally building, for each pair of states, a regular expression describing the paths between them that pass only through lower-numbered intermediate states, then combining the expressions from the start state to every accepting state into the automaton's overall regular expression. This description is adapted from Wikipedia contributors under CC BY-SA 4.0; changes were made. https://creativecommons.org/licenses/by-sa/4.0/

Connections

In Field

Source Wikipedia: Kleene's algorithm
Sources
Wikipedia: Kleene's algorithm
  • Lead section
    In theoretical computer science, in particular in formal language theory, Kleene's algorithm transforms a given nondeterministic finite automaton (NFA) into a regular expression.
  • In Group: Rule Matching and Automata Conversion Algorithms, Introduction
    In theoretical computer science, in particular in formal language theory, Kleene's algorithm transforms a given nondeterministic finite automaton (NFA) into a regular expression.
  • In Field: Algorithms and Complexity Theory, Lead sentence
    Kleene's algorithm transforms a given nondeterministic finite automaton (NFA) into a regular expression.
View the Source
Wikidata: Kleene's Algorithm
Wikidata Q17102078, class allow-list match (w-wdresolver-0926)View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.