SlideShare a Scribd company logo
1 of 14
Compiler Design
Optimization of DFA-Based
Pattern Matchers
02/13/17 1
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
Optimization of DFA-Based Pattern Matchers
• It refers to detecting those states of a DFA whose
presence or absence in a DFA does not affect the
language accepted by the automata.
• These states can be eliminated from the automata
without affecting the language accepted by the
automata.
• SUCH STATES ARE:-
• Unreachable States:
• Dead States:
• Nondistinguishable States:
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
2
Contd…….
• Unreachable States: Unreachable states of a DFA are not
reachable from the initial state of DFA on any possible input
sequence.
• Dead States: A dead state is a nonfinal state of a DFA whose
transitions on every input symbol terminates on itself. For
example, q is a dead state if q is in Q F, and δ(q, a) = q for
every a in Σ.
• Nondistinguishable States: Nondistinguishable states are those
states of a DFA for which there exist no distinguishing strings;
hence, they cannot be distinguished from one another.
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
3
Contd……..
• Optimization entails:
• Detection of unreachable states and eliminating
them from DFA;
• Identification of nondistinguishable states, and
merging them together; and
• Detecting dead states and eliminating them from
the DFA.
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
4
Consider The Transition Diagram
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
5
Fig: Partitioning down to a single state.
Contd……
• Initially, we have two groups, as shown below:
Group I Group II
Since
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
6
A, B, C, E, F D
Contd…..
• Partitioning of Group I is not possible, because the
transitions from all the members of Group I go only to
Group I. But since
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
7
state F is distinguishable from the rest of the members of Group I. Hence, we divide
Group I into two groups: one containing A, B, C, E, and the other containing F, as shown
below:
Contd……
Group I Group II Group III
Since
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
8
A, B, C, E F D
partitioning of Group I is not possible, because the transitions from all the
members of Group I go only to Group I. But since
Contd…..
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
9
states A and E are distinguishable from states B and C. Hence, we further divide Group
I into two groups: one containing A and E, and the other containing B and C, as shown
below:
Contd……
Group I Group II Group III Group IV
Since
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
10
A, E B, C F D
state A is distinguishable from state E. Hence, we divide Group I into two groups:
one containing A and the other containing E, as shown below:
Contd……
Group I Group II Group III Group IV Group V
Since
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
11
A E B, C D
partitioning of Group III is not possible, because the transitions from all the
members of Group III on a go to group III only. Similarly,
F
Contd…..
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
12
partitioning of Group III is not possible, because the transitions from all the
members of Group III on b also only go to Group III.
Hence, B and C are nondistinguishable states; therefore, we merge B and C to
form a single state, B1, as shown in next Figure…
Contd……..
02/13/17
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI
13
Fig. Merging nondistinguishable states B&C into a single state
B1.
THANKS
02/13/17 14
ANKUR SRIVASTAVA ASSISTANT
PROFESSOR JETGI

More Related Content

What's hot

Circular wait - Operating Systems
Circular wait - Operating SystemsCircular wait - Operating Systems
Circular wait - Operating SystemsOmair Imtiaz Ansari
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolutionTianlu Wang
 
ML_ Unit 2_Part_B
ML_ Unit 2_Part_BML_ Unit 2_Part_B
ML_ Unit 2_Part_BSrimatre K
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler designRiazul Islam
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmHema Kashyap
 
Context free languages
Context free languagesContext free languages
Context free languagesJahurul Islam
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite AutomataRatnakar Mikkili
 
Basic Traversal and Search Techniques
Basic Traversal and Search TechniquesBasic Traversal and Search Techniques
Basic Traversal and Search TechniquesSVijaylakshmi
 
3.5 equivalence of pushdown automata and cfl
3.5 equivalence of pushdown automata and cfl3.5 equivalence of pushdown automata and cfl
3.5 equivalence of pushdown automata and cflSampath Kumar S
 
Lexical analyzer generator lex
Lexical analyzer generator lexLexical analyzer generator lex
Lexical analyzer generator lexAnusuya123
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAsst.prof M.Gokilavani
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic NotationsRishabh Soni
 
Advanced topics in artificial neural networks
Advanced topics in artificial neural networksAdvanced topics in artificial neural networks
Advanced topics in artificial neural networksswapnac12
 
Computer Network Notes UNIT II
Computer Network Notes UNIT IIComputer Network Notes UNIT II
Computer Network Notes UNIT IINANDINI SHARMA
 

What's hot (20)

Markov Random Field (MRF)
Markov Random Field (MRF)Markov Random Field (MRF)
Markov Random Field (MRF)
 
Circular wait - Operating Systems
Circular wait - Operating SystemsCircular wait - Operating Systems
Circular wait - Operating Systems
 
16 2 predicate resolution
16 2 predicate resolution16 2 predicate resolution
16 2 predicate resolution
 
ML_ Unit 2_Part_B
ML_ Unit 2_Part_BML_ Unit 2_Part_B
ML_ Unit 2_Part_B
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler design
 
Lecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithmLecture 14 Heuristic Search-A star algorithm
Lecture 14 Heuristic Search-A star algorithm
 
Context free languages
Context free languagesContext free languages
Context free languages
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Basic Traversal and Search Techniques
Basic Traversal and Search TechniquesBasic Traversal and Search Techniques
Basic Traversal and Search Techniques
 
3.5 equivalence of pushdown automata and cfl
3.5 equivalence of pushdown automata and cfl3.5 equivalence of pushdown automata and cfl
3.5 equivalence of pushdown automata and cfl
 
Lexical analyzer generator lex
Lexical analyzer generator lexLexical analyzer generator lex
Lexical analyzer generator lex
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptx
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Recognition-of-tokens
Recognition-of-tokensRecognition-of-tokens
Recognition-of-tokens
 
Asymptotic Notations
Asymptotic NotationsAsymptotic Notations
Asymptotic Notations
 
Advanced topics in artificial neural networks
Advanced topics in artificial neural networksAdvanced topics in artificial neural networks
Advanced topics in artificial neural networks
 
Loops in flow
Loops in flowLoops in flow
Loops in flow
 
And or graph
And or graphAnd or graph
And or graph
 
Transport layer
Transport layerTransport layer
Transport layer
 
Computer Network Notes UNIT II
Computer Network Notes UNIT IIComputer Network Notes UNIT II
Computer Network Notes UNIT II
 

Viewers also liked

Viewers also liked (20)

Bnf and ambiquity
Bnf and ambiquityBnf and ambiquity
Bnf and ambiquity
 
Lexicalanalyzer
LexicalanalyzerLexicalanalyzer
Lexicalanalyzer
 
Lex
LexLex
Lex
 
Passescd
PassescdPassescd
Passescd
 
COSCUP 2014 : open source compiler 戰國時代的軍備競賽
COSCUP 2014 : open source compiler 戰國時代的軍備競賽COSCUP 2014 : open source compiler 戰國時代的軍備競賽
COSCUP 2014 : open source compiler 戰國時代的軍備競賽
 
GCC
GCCGCC
GCC
 
DFA Minimization
DFA MinimizationDFA Minimization
DFA Minimization
 
Optimization of dfa
Optimization of dfaOptimization of dfa
Optimization of dfa
 
C under Linux
C under LinuxC under Linux
C under Linux
 
Cd2 [autosaved]
Cd2 [autosaved]Cd2 [autosaved]
Cd2 [autosaved]
 
GCC, GNU compiler collection
GCC, GNU compiler collectionGCC, GNU compiler collection
GCC, GNU compiler collection
 
Backus Naur and Chomsky Normal Forms
Backus Naur and Chomsky Normal FormsBackus Naur and Chomsky Normal Forms
Backus Naur and Chomsky Normal Forms
 
An Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and RuntimeAn Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and Runtime
 
Cardiology Presentation
Cardiology PresentationCardiology Presentation
Cardiology Presentation
 
Yacc
YaccYacc
Yacc
 
Clinical Cardiology Cases
Clinical  Cardiology  CasesClinical  Cardiology  Cases
Clinical Cardiology Cases
 
Lex tool manual
Lex tool manualLex tool manual
Lex tool manual
 
Compiler unit 1
Compiler unit 1Compiler unit 1
Compiler unit 1
 
Compiler unit 2&3
Compiler unit 2&3Compiler unit 2&3
Compiler unit 2&3
 
History of cardiology
History of cardiologyHistory of cardiology
History of cardiology
 

More from BBDITM LUCKNOW (13)

Unit 5 cspc
Unit 5 cspcUnit 5 cspc
Unit 5 cspc
 
Unit 4 cspc
Unit 4 cspcUnit 4 cspc
Unit 4 cspc
 
Unit3 cspc
Unit3 cspcUnit3 cspc
Unit3 cspc
 
Cse ppt 2018
Cse ppt 2018Cse ppt 2018
Cse ppt 2018
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Unit 4 ca-input-output
Unit 4 ca-input-outputUnit 4 ca-input-output
Unit 4 ca-input-output
 
Unit 3 ca-memory
Unit 3 ca-memoryUnit 3 ca-memory
Unit 3 ca-memory
 
Unit 2 ca- control unit
Unit 2 ca- control unitUnit 2 ca- control unit
Unit 2 ca- control unit
 
Unit 1 ca-introduction
Unit 1 ca-introductionUnit 1 ca-introduction
Unit 1 ca-introduction
 
Compiler unit 4
Compiler unit 4Compiler unit 4
Compiler unit 4
 
Compiler unit 5
Compiler  unit 5Compiler  unit 5
Compiler unit 5
 
Cspc final
Cspc finalCspc final
Cspc final
 
Validation based protocol
Validation based protocolValidation based protocol
Validation based protocol
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

Minimization of dfa

  • 1. Compiler Design Optimization of DFA-Based Pattern Matchers 02/13/17 1 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI
  • 2. Optimization of DFA-Based Pattern Matchers • It refers to detecting those states of a DFA whose presence or absence in a DFA does not affect the language accepted by the automata. • These states can be eliminated from the automata without affecting the language accepted by the automata. • SUCH STATES ARE:- • Unreachable States: • Dead States: • Nondistinguishable States: 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 2
  • 3. Contd……. • Unreachable States: Unreachable states of a DFA are not reachable from the initial state of DFA on any possible input sequence. • Dead States: A dead state is a nonfinal state of a DFA whose transitions on every input symbol terminates on itself. For example, q is a dead state if q is in Q F, and δ(q, a) = q for every a in Σ. • Nondistinguishable States: Nondistinguishable states are those states of a DFA for which there exist no distinguishing strings; hence, they cannot be distinguished from one another. 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 3
  • 4. Contd…….. • Optimization entails: • Detection of unreachable states and eliminating them from DFA; • Identification of nondistinguishable states, and merging them together; and • Detecting dead states and eliminating them from the DFA. 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 4
  • 5. Consider The Transition Diagram 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 5 Fig: Partitioning down to a single state.
  • 6. Contd…… • Initially, we have two groups, as shown below: Group I Group II Since 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 6 A, B, C, E, F D
  • 7. Contd….. • Partitioning of Group I is not possible, because the transitions from all the members of Group I go only to Group I. But since 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 7 state F is distinguishable from the rest of the members of Group I. Hence, we divide Group I into two groups: one containing A, B, C, E, and the other containing F, as shown below:
  • 8. Contd…… Group I Group II Group III Since 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 8 A, B, C, E F D partitioning of Group I is not possible, because the transitions from all the members of Group I go only to Group I. But since
  • 9. Contd….. 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 9 states A and E are distinguishable from states B and C. Hence, we further divide Group I into two groups: one containing A and E, and the other containing B and C, as shown below:
  • 10. Contd…… Group I Group II Group III Group IV Since 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 10 A, E B, C F D state A is distinguishable from state E. Hence, we divide Group I into two groups: one containing A and the other containing E, as shown below:
  • 11. Contd…… Group I Group II Group III Group IV Group V Since 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 11 A E B, C D partitioning of Group III is not possible, because the transitions from all the members of Group III on a go to group III only. Similarly, F
  • 12. Contd….. 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 12 partitioning of Group III is not possible, because the transitions from all the members of Group III on b also only go to Group III. Hence, B and C are nondistinguishable states; therefore, we merge B and C to form a single state, B1, as shown in next Figure…
  • 13. Contd…….. 02/13/17 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI 13 Fig. Merging nondistinguishable states B&C into a single state B1.
  • 14. THANKS 02/13/17 14 ANKUR SRIVASTAVA ASSISTANT PROFESSOR JETGI