In most sources, such as http://www.cs.may.ie/staff/jpower/Courses/Previous/parsing/node5.html , suppose the Klein closure will be built with 4 nodes.
Why can't it be built with just 2, as follows?
To get the right results when combining the two NFAs, you need to make sure that for both components:
There are no transitions from the final state; or
There are no transitions to the initial state.
Thompson's normal design provides both.
. , NFA a*b* ababab, .
a*b*
ababab
Source: https://habr.com/ru/post/1665460/More articles:How can I understand why Linenoise cannot be installed? - moduleObserved Circuits - javaHow to handle hyphens in GraphQL schema definitions - mongodbWhat is the difference between "context" and "object"? - rebolDFA design (alphabet "a" and "b"): the number "a" in a line must be a multiple of 3, and the line does not contain "aba", - finite-automataАльтернативный цвет текста для каждой строки абзаца - htmlКак размыть взгляд - androidAndroid Blur View (размытие фона за представлением) - androidWhat is the Postman interception mode equivalent in Node.js? - httppartial specialization of template variables and constexpr - c ++All Articles