SlideServe
Menu
Préférences
© SlideServe · v2026

NFA to DFA Conversion

mateja avatar
14 diapositives · 1.7K Views · Aug 16, 2014

NFA to DFA Conversion. Rabin and Scott (1959). Removing Nondeterminism. By simulating all moves of an NFA- λ in parallel using a DFA. λ -closure of a state is the set of states reachable using only the λ -transitions. NFA- λ. p2. λ. p1. a. p3. q1. λ. λ. p5. λ. q2. a. p4.

NFA to DFA Conversion - slide 1
01 / 14NFA to DFA Conversion
1 / 17

Télécharger la présentation

NFA to DFA Conversion
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. NFA to DFA Conversion Rabin and Scott (1959) L12NFA2DFA

  2. Removing Nondeterminism • By simulating all moves of an NFA-λin parallel using a DFA. • λ-closure of a state is the set of states reachable using only the λ-transitions. L12NFA2DFA

  3. NFA-λ p2 λ p1 a p3 q1 λ λ p5 λ q2 a p4 L12NFA2DFA

  4. L12NFA2DFA

  5. Transition Function L12NFA2DFA

  6. L12NFA2DFA

  7. Equivalence Construction • Given NFA-λ M, construct a DFA DM such that L(M) = L(DM). • Observe that • A node of the DFA = Set of nodes of NFA-λ • Transition of the DFA = Transition among set of nodes of NFA- λ L12NFA2DFA

  8. {q1,…,qn} {p1,…,pm} a For every pi, there exists qj such that L12NFA2DFA

  9. Start state of DFA = Final/Accepting state of DFA = All subsets of states of NFA-λ that contain an accepting state of the NFA-λ Dead state of DFA = L12NFA2DFA

  10. Example a b q1 a q0 a+c*b* λ a q2 c L12NFA2DFA

  11. {q0} {q0} {q0,q1,q2} a b c f L12NFA2DFA

  12. {q0} {q0,q1,q2} a b c f a b {q1} c {q1,q2} a,b,c L12NFA2DFA

  13. b {q1} a,c f c {q1} b {q1,q2} a f L12NFA2DFA

  14. Equivalent DFA a a {q0} {q0,q1,q2} c c {q1,q2} b b,c b b a,c {q1} f a a,b,c L12NFA2DFA