SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4960
Partition Method for DFA Minimization
Abhishek Singh1, Dr. Satwinder Singh2
1M. Tech (Computer Science and Technology), Central University of Punjab, Bathinda.
2Assistant Professor, Dept. of Computer Science and Technology, Central University of Punjab, Bathinda.
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - It is usually perceived that there are many DFAs which have those states which are not necessary for the machine.
Removal of those states cannot do any harm to machine. In this paper, our priority is to merge those states who are equalin terms
of transition. A method is proposed through which it can be done.
Key Words: DFA, Minimization.
1. INTRODUCTION
DFA is a mathematical conception, due to which strings are operated by taking an input and after processing they give some
output in the form of string. The language accepted or recognized by DFA is Regular Language.
There are finite number of states in DFA, in which, there is at-most on outgoing edge/transition from one state to another. It
has only one initial state but consists of a finite number of final states, means final state can be more than one.
DFA minimization is a process in which DFA is converted to an equivalent another DFA in which number of states are
particularly less. All states are compared through an algorithm and states those have same transitions aremergedas theygive
equivalent output for an equivalent input. The main advantages for a minimal DFA is as follows:
1. A minimal DFA executes faster in terms of time.
2. As number of states go less, the cost for designing a machine also go less.
3. Having less number of states helps in designing the less complex structure of a machine.
There are three types of non-productive states which can be merged or removed when minimization algorithmisappliedona
given DFA. Two of them don’t change the structure of DFA but one of them changed it, however, language recognized by the
DFA will be the same after minimization. The explanation of these non-productive states is:
1. Unreachable State: It is a state which cannot be reached directly or indirectly from initial state. If it is removed then, no
changes are done in the language of machine as well as structure of machine.
2. Dead State: It is a state from which we cannot come back to any state and it will go to itself number of times as it will
trap in itself. If it is removed, then no changes are done in the language of machine but there is a change in structure of
machine. The DFA will be converted into NFA after removing dead state.
3. Equal State: Two states are said to be equal when both of states go to the final or non-final state for the same input
transition. If both are go to the final or non-final state, then they can be mergedasgivesameoutputforthesameinput.If
they are merged, there is no change in language of machine as well as structure of machine.
There is numerous minimization algorithm present to convert a DFA into minimal DFA.Inthispaper,weproposed a partition
algorithm from which one can minimize the DFA.
2. PROPOSED WORK
In our proposed algorithm, we take partition of states for minimization in a particular pattern. After applying the method,
equivalent states are merged and the process is continued till all the states are compared for minimization and we get a
minimized DFA.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4961
Algorithm
Input: Deterministic Finite Automata
Output: Minimized Deterministic Finite Automata
Algorithm:
 Take a DFA with Initial State Qi and Final State Qj.
 Take Partition in the form of [ (Total number of states/2) +1]. Take floor value of division.
 Take first partition starting from initial State that is Q0.
 Check in the partition whether any state equivalent or not.
 If two state are equivalent then merge them and move to next partition.
 If any state from the current partition is not equivalent then move to next partition.
 States who have already merged cannot be the part of next partition but they will count in total number of states.
 Take next partition starting from next state in incremental numeric formforexample:ifinfirstpartitionifQ0 ismerge
other state take next partition from Q1 if Q0 and Q1 both are equivalent to some other states take partition fromQ2and
so on.
 Continue this process until all the states are covered.
 For last partition take the remaining ones
 After this process all the equivalent states are merged and DFA will become minimized DFA.
For equivalent state, here we consider that two state P and Q are said to be if both P and Q δ (P, x) and δ (Q, x) goestofinal state
or non-final state for every input string x.
3. EXPERIMENTS AND RESULTS
The experiments are done in the JFLAP tool in default settings.
Input: Given DFA
Table 1: Transition Table of DFA
Fig 1: Transition Diagram of DFA
States 0 1
Q0 Q0 Q2
Q1 Q3 Q1
Q2 Q3 Q1
Q3 Q1 Q4
Q4 Q1 Q4
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4962
Now according to Algorithm, first partition is taken according to the formula and is in between three states and the table is
given below
States 0 1
Q0 Q0 Q2
Q1 Q3 Q1
Q2 Q3 Q1
Table 2: First Partition Table
In this table, it is clear that states Q1 and state Q2 are equivalent since in both Q1 and Q2., transition of Q1 on 0 goes to Q3andon1
it goes to Q1 && Q2 on 0 goes to Q3 and on 1 it goes to Q1. Hence, they are equivalent state. So, we merge them (Q12).
Now for the next partition we start from the state Q3 the table is given below.
States 0 1
Q3 Q1 Q4
Q4 Q1 Q4
Q0 Q0 Q2
Table 3: Second Partition Table
Here in this partition, it is clear that state Q3 and state Q4 are equivalent states. Transition of Q3 on 0 is Q1 and on 1 it isQ4&&Q4
on 0 is Q1 and on 1 it goes to Q4.
Now, according to algorithm all the states cover we stop here and make a minimized DFA with the help Of the JFLAP tool. Now
our minimized DFA is given below:
Fig 2: Minimized DFA
After applying partition, we get minimized DFA.
Fig 3: Multiple Run of Strings in DFA
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4963
Fig 4: Multiple Run of Strings in DFA
Figure 3 and figure 4 represents the strings that are accepted before and after minimization on given DFA respectively. It is
clear from both the figures that there is no change in language of DFA, strings that are recognized by DFA before minimization
are also recognized even after applying minimization.
4. CONCLUSION
In this experiment, we proposed a minimization partition method from which by partitioning the states according to the
formula one can minimize the DFA by merging equivalent states and removing dead and unreachable states. All the
experimentation is done through JFLAP tool. After the minimization, it is checked that the DFA is successfully minimized with
no change in structure and accepting language by running the few examples on DFA.
REFERENCES
[1] lmeida, M., Moreira, N., & Reis, R. (2007). On the performance of automata minimization algorithms. In Proceedingsof
the 4th Conference on Computation in Europe: Logic and Theory of Algorithms, pp. 3-14.
[2] Amit Kishor Shukla, A. S. (December 2015). State Minimization Approach in Deterministic Finite Automatausing
Inefficient STate Elimination Approach. Internation Journal of AdvanceResearchinComputerScienceandManagement
Studies, Vol 3, Issue 12, pp 20-28.
[3] Basten, H. J. S. (2011). Ambiguity detection methods for context-free grammars (Doctoral dissertation, University of
Amsterdam).
[4] Berry G. and Sethi R. (1986), From Regular Expressions to Deterministic Automata, TheoreticalComputerScience,Vol.
48 pp. 117-126.
[5] Bruggemann Klein A.(1992), “Regular Expressions into Finite Automata,” Springer link Lecture notes in Computer
Science, Vol.583 pp. 87-98.
[6] Champarnaud, J. M., Ponty, J. L., &Ziadi, D. (1999). From regular expressionstofiniteautomata. Internationaljournal of
computer mathematics, Vol 72(4), pp 415-431.
[7] Chang, C. H., & Paige, R. (1992). From regular expressions to dfa's using compressed nfa's. In Annual Symposium on
Combinatorial Pattern Matching, pp. 90-110. Springer, Berlin, Heidelberg.
[8] Chang, C. H., & Paige, R. (1997). From regular expressions to DFA's using compressed NFA's. Theoretical Computer
Science, Vol 178(1-2), pp 1-36.
[9] Chhabra, T., & Kuymar, A. (2012). New heuristics for conversion of Deterministic finite automata to Regular
expression. International Journal of Advanced Research in Computer Science, 3(4).
[10] Choubey, A., & Ravi, K. M. (2013). Minimization of deterministic finite automata with vague (final) states and
intuitionistic fuzzy (final) states. Iranian Journal of Fuzzy Systems, 10(1), 75-88.
[11] Gruber, H., & Holzer, M. (2015). From finite automata to regular expressions and back—a summary on descriptional
complexity. International Journal of Foundations of Computer Science, Vol 26(08), pp 1009-1040.

More Related Content

PDF
IRJET- A Study on Algorithms for FFT Computations
PPTX
Algorithm and pseudocode conventions
PPT
Problem solving
PPT
Algorithm Design Presentation
PPTX
Notion of an algorithm
PDF
Software of Time Series Forecasting based on Combinations of Fuzzy and Statis...
PDF
ADA complete notes
PPSX
Ds03 algorithms jyoti lakhani
IRJET- A Study on Algorithms for FFT Computations
Algorithm and pseudocode conventions
Problem solving
Algorithm Design Presentation
Notion of an algorithm
Software of Time Series Forecasting based on Combinations of Fuzzy and Statis...
ADA complete notes
Ds03 algorithms jyoti lakhani

What's hot (19)

PDF
Design and analysis of algorithms
PDF
Main topic 3 problem solving and office automation
PPT
3 algorithm-and-flowchart
PPTX
Algorithmic research
PPT
Amortized analysis
PDF
Algorithm defination, design & Implementation
PDF
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
PPTX
Our presentation on algorithm design
PPTX
C basics
PPT
Fundamental of Algorithms
PDF
IRJET- Matrix Multiplication using Strassen’s Method
PPTX
Basic Algorithm @PPSC(1)
PPTX
Design and analysis of algorithms - Abstract View
PDF
Type Conversion Elimination by Dominant Flow Analysis
PDF
PERFORMANCE EVALUATIONS OF GRIORYAN FFT AND COOLEY-TUKEY FFT ONTO XILINX VIRT...
PDF
Performance evaluations of grioryan fft and cooley tukey fft onto xilinx virt...
PDF
Fundamentals of algorithms
PPTX
Algorithm and flowchart
Design and analysis of algorithms
Main topic 3 problem solving and office automation
3 algorithm-and-flowchart
Algorithmic research
Amortized analysis
Algorithm defination, design & Implementation
Implementation Of Grigoryan FFT For Its Performance Case Study Over Cooley-Tu...
Our presentation on algorithm design
C basics
Fundamental of Algorithms
IRJET- Matrix Multiplication using Strassen’s Method
Basic Algorithm @PPSC(1)
Design and analysis of algorithms - Abstract View
Type Conversion Elimination by Dominant Flow Analysis
PERFORMANCE EVALUATIONS OF GRIORYAN FFT AND COOLEY-TUKEY FFT ONTO XILINX VIRT...
Performance evaluations of grioryan fft and cooley tukey fft onto xilinx virt...
Fundamentals of algorithms
Algorithm and flowchart
Ad

Similar to IRJET- Partition Method for DFA Minimization (20)

PDF
DFA Minimization using Hopcroft’s Theorem
PDF
NFA to DFA conversion in C
PDF
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
PDF
DFA CREATOR AND STRING TESTER
PDF
IRJET- RESULT:Wavelet Transform along with SPIHT Algorithm Used for Image Com...
PDF
IMPLEMENTATION OF FRACTIONAL ORDER TRANSFER FUNCTION USING LOW COST DSP
PDF
IRJET - Design and Implementation of FFT using Compressor with XOR Gate Topology
PDF
IRJET- Analysis of Cocke-Younger-Kasami and Earley Algorithms on Probabilisti...
PDF
IRJET - Distributed Arithmetic Method for Complex Multiplication
PDF
Transpose Form Fir Filter Design for Fixed and Reconfigurable Coefficients
PDF
IRJET- Designing of Basic Types of Filters using Standard Tool
PDF
Regular Expression to Non-Deterministic Finite Automata Converter
PDF
Regular Expression to Deterministic Finite Automata
PDF
IRJET- Smart Wiper System for Skyscrapers
PDF
IRJET- Two-Class Priority Queueing System with Restricted Number of Priority ...
PDF
IRJET - Handwritten Bangla Digit Recognition using Capsule Network
PDF
IRJET- Fault- Tolerant Fir Filter Implementation
PDF
Improvement in Traditional Set Partitioning in Hierarchical Trees (SPIHT) Alg...
PDF
IRJET- Next Generation System Assistant
PDF
IRJET- Low Complexity Pipelined FFT Design for High Throughput and Low Densit...
DFA Minimization using Hopcroft’s Theorem
NFA to DFA conversion in C
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
DFA CREATOR AND STRING TESTER
IRJET- RESULT:Wavelet Transform along with SPIHT Algorithm Used for Image Com...
IMPLEMENTATION OF FRACTIONAL ORDER TRANSFER FUNCTION USING LOW COST DSP
IRJET - Design and Implementation of FFT using Compressor with XOR Gate Topology
IRJET- Analysis of Cocke-Younger-Kasami and Earley Algorithms on Probabilisti...
IRJET - Distributed Arithmetic Method for Complex Multiplication
Transpose Form Fir Filter Design for Fixed and Reconfigurable Coefficients
IRJET- Designing of Basic Types of Filters using Standard Tool
Regular Expression to Non-Deterministic Finite Automata Converter
Regular Expression to Deterministic Finite Automata
IRJET- Smart Wiper System for Skyscrapers
IRJET- Two-Class Priority Queueing System with Restricted Number of Priority ...
IRJET - Handwritten Bangla Digit Recognition using Capsule Network
IRJET- Fault- Tolerant Fir Filter Implementation
Improvement in Traditional Set Partitioning in Hierarchical Trees (SPIHT) Alg...
IRJET- Next Generation System Assistant
IRJET- Low Complexity Pipelined FFT Design for High Throughput and Low Densit...
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Geodesy 1.pptx...............................................
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Welding lecture in detail for understanding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Well-logging-methods_new................
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Geodesy 1.pptx...............................................
UNIT 4 Total Quality Management .pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
bas. eng. economics group 4 presentation 1.pptx
Welding lecture in detail for understanding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Well-logging-methods_new................
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx

IRJET- Partition Method for DFA Minimization

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4960 Partition Method for DFA Minimization Abhishek Singh1, Dr. Satwinder Singh2 1M. Tech (Computer Science and Technology), Central University of Punjab, Bathinda. 2Assistant Professor, Dept. of Computer Science and Technology, Central University of Punjab, Bathinda. ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - It is usually perceived that there are many DFAs which have those states which are not necessary for the machine. Removal of those states cannot do any harm to machine. In this paper, our priority is to merge those states who are equalin terms of transition. A method is proposed through which it can be done. Key Words: DFA, Minimization. 1. INTRODUCTION DFA is a mathematical conception, due to which strings are operated by taking an input and after processing they give some output in the form of string. The language accepted or recognized by DFA is Regular Language. There are finite number of states in DFA, in which, there is at-most on outgoing edge/transition from one state to another. It has only one initial state but consists of a finite number of final states, means final state can be more than one. DFA minimization is a process in which DFA is converted to an equivalent another DFA in which number of states are particularly less. All states are compared through an algorithm and states those have same transitions aremergedas theygive equivalent output for an equivalent input. The main advantages for a minimal DFA is as follows: 1. A minimal DFA executes faster in terms of time. 2. As number of states go less, the cost for designing a machine also go less. 3. Having less number of states helps in designing the less complex structure of a machine. There are three types of non-productive states which can be merged or removed when minimization algorithmisappliedona given DFA. Two of them don’t change the structure of DFA but one of them changed it, however, language recognized by the DFA will be the same after minimization. The explanation of these non-productive states is: 1. Unreachable State: It is a state which cannot be reached directly or indirectly from initial state. If it is removed then, no changes are done in the language of machine as well as structure of machine. 2. Dead State: It is a state from which we cannot come back to any state and it will go to itself number of times as it will trap in itself. If it is removed, then no changes are done in the language of machine but there is a change in structure of machine. The DFA will be converted into NFA after removing dead state. 3. Equal State: Two states are said to be equal when both of states go to the final or non-final state for the same input transition. If both are go to the final or non-final state, then they can be mergedasgivesameoutputforthesameinput.If they are merged, there is no change in language of machine as well as structure of machine. There is numerous minimization algorithm present to convert a DFA into minimal DFA.Inthispaper,weproposed a partition algorithm from which one can minimize the DFA. 2. PROPOSED WORK In our proposed algorithm, we take partition of states for minimization in a particular pattern. After applying the method, equivalent states are merged and the process is continued till all the states are compared for minimization and we get a minimized DFA.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4961 Algorithm Input: Deterministic Finite Automata Output: Minimized Deterministic Finite Automata Algorithm:  Take a DFA with Initial State Qi and Final State Qj.  Take Partition in the form of [ (Total number of states/2) +1]. Take floor value of division.  Take first partition starting from initial State that is Q0.  Check in the partition whether any state equivalent or not.  If two state are equivalent then merge them and move to next partition.  If any state from the current partition is not equivalent then move to next partition.  States who have already merged cannot be the part of next partition but they will count in total number of states.  Take next partition starting from next state in incremental numeric formforexample:ifinfirstpartitionifQ0 ismerge other state take next partition from Q1 if Q0 and Q1 both are equivalent to some other states take partition fromQ2and so on.  Continue this process until all the states are covered.  For last partition take the remaining ones  After this process all the equivalent states are merged and DFA will become minimized DFA. For equivalent state, here we consider that two state P and Q are said to be if both P and Q δ (P, x) and δ (Q, x) goestofinal state or non-final state for every input string x. 3. EXPERIMENTS AND RESULTS The experiments are done in the JFLAP tool in default settings. Input: Given DFA Table 1: Transition Table of DFA Fig 1: Transition Diagram of DFA States 0 1 Q0 Q0 Q2 Q1 Q3 Q1 Q2 Q3 Q1 Q3 Q1 Q4 Q4 Q1 Q4
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4962 Now according to Algorithm, first partition is taken according to the formula and is in between three states and the table is given below States 0 1 Q0 Q0 Q2 Q1 Q3 Q1 Q2 Q3 Q1 Table 2: First Partition Table In this table, it is clear that states Q1 and state Q2 are equivalent since in both Q1 and Q2., transition of Q1 on 0 goes to Q3andon1 it goes to Q1 && Q2 on 0 goes to Q3 and on 1 it goes to Q1. Hence, they are equivalent state. So, we merge them (Q12). Now for the next partition we start from the state Q3 the table is given below. States 0 1 Q3 Q1 Q4 Q4 Q1 Q4 Q0 Q0 Q2 Table 3: Second Partition Table Here in this partition, it is clear that state Q3 and state Q4 are equivalent states. Transition of Q3 on 0 is Q1 and on 1 it isQ4&&Q4 on 0 is Q1 and on 1 it goes to Q4. Now, according to algorithm all the states cover we stop here and make a minimized DFA with the help Of the JFLAP tool. Now our minimized DFA is given below: Fig 2: Minimized DFA After applying partition, we get minimized DFA. Fig 3: Multiple Run of Strings in DFA
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4963 Fig 4: Multiple Run of Strings in DFA Figure 3 and figure 4 represents the strings that are accepted before and after minimization on given DFA respectively. It is clear from both the figures that there is no change in language of DFA, strings that are recognized by DFA before minimization are also recognized even after applying minimization. 4. CONCLUSION In this experiment, we proposed a minimization partition method from which by partitioning the states according to the formula one can minimize the DFA by merging equivalent states and removing dead and unreachable states. All the experimentation is done through JFLAP tool. After the minimization, it is checked that the DFA is successfully minimized with no change in structure and accepting language by running the few examples on DFA. REFERENCES [1] lmeida, M., Moreira, N., & Reis, R. (2007). On the performance of automata minimization algorithms. In Proceedingsof the 4th Conference on Computation in Europe: Logic and Theory of Algorithms, pp. 3-14. [2] Amit Kishor Shukla, A. S. (December 2015). State Minimization Approach in Deterministic Finite Automatausing Inefficient STate Elimination Approach. Internation Journal of AdvanceResearchinComputerScienceandManagement Studies, Vol 3, Issue 12, pp 20-28. [3] Basten, H. J. S. (2011). Ambiguity detection methods for context-free grammars (Doctoral dissertation, University of Amsterdam). [4] Berry G. and Sethi R. (1986), From Regular Expressions to Deterministic Automata, TheoreticalComputerScience,Vol. 48 pp. 117-126. [5] Bruggemann Klein A.(1992), “Regular Expressions into Finite Automata,” Springer link Lecture notes in Computer Science, Vol.583 pp. 87-98. [6] Champarnaud, J. M., Ponty, J. L., &Ziadi, D. (1999). From regular expressionstofiniteautomata. Internationaljournal of computer mathematics, Vol 72(4), pp 415-431. [7] Chang, C. H., & Paige, R. (1992). From regular expressions to dfa's using compressed nfa's. In Annual Symposium on Combinatorial Pattern Matching, pp. 90-110. Springer, Berlin, Heidelberg. [8] Chang, C. H., & Paige, R. (1997). From regular expressions to DFA's using compressed NFA's. Theoretical Computer Science, Vol 178(1-2), pp 1-36. [9] Chhabra, T., & Kuymar, A. (2012). New heuristics for conversion of Deterministic finite automata to Regular expression. International Journal of Advanced Research in Computer Science, 3(4). [10] Choubey, A., & Ravi, K. M. (2013). Minimization of deterministic finite automata with vague (final) states and intuitionistic fuzzy (final) states. Iranian Journal of Fuzzy Systems, 10(1), 75-88. [11] Gruber, H., & Holzer, M. (2015). From finite automata to regular expressions and back—a summary on descriptional complexity. International Journal of Foundations of Computer Science, Vol 26(08), pp 1009-1040.