Generalized nondeterministic finite automaton: Difference between revisions

Content deleted Content added
Tag: nowiki added
 
(One intermediate revision by one other user not shown)
Line 3:
 
==Formal definition==
{{MOS|section|[[MOS:MATHSPECIAL]] - Use <code><nowiki><math>... \setminus ...</math></nowiki></code> or <code><nowiki><math>... \smallsetminus ...</math></nowiki></code> instead of {{unichar|2216|SET MINUS}} or {{unichar|005C|REVERSE SOLIDUS}} for set substraction|date=February 2024}}
A GNFA can be defined as a [[n-tuple|5-tuple]], (''S'', Σ, ''T'', ''s'', ''a''), consisting of
* a [[finite set]] of states (''S'');
* a finite set called the alphabet (Σ);
* a transition [[function (mathematics)|function]] (''T'' : (''S'' <math>\setminus</math> {''a''}) × (''S'' <math>\setminus</math> {''s''}) → ''R'');
* a start state (''s'' ∈ ''S'');
* an accept state (''a'' ∈ ''S'');
Line 21 ⟶ 20:
* A graphical description of GNFAs and the process of converting an NFA to a regular expression using GNFAs, can be found at [http://www.cs.sunysb.edu/~cse350/slides/rgExp2.pdf]
 
[[Category:Finite-state automatamachines]]