Cargando…
Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information
Obtaining a minimal automaton is a fundamental issue in the theory and practical implementation of deterministic finite automatons (DFAs). A minimization algorithm is presented in this paper that consists of two main phases. In the first phase, the backward depth information is built, and the state...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2016
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5091862/ https://www.ncbi.nlm.nih.gov/pubmed/27806102 http://dx.doi.org/10.1371/journal.pone.0165864 |
_version_ | 1782464646521815040 |
---|---|
author | Liu, Desheng Huang, Zhiping Zhang, Yimeng Guo, Xiaojun Su, Shaojing |
author_facet | Liu, Desheng Huang, Zhiping Zhang, Yimeng Guo, Xiaojun Su, Shaojing |
author_sort | Liu, Desheng |
collection | PubMed |
description | Obtaining a minimal automaton is a fundamental issue in the theory and practical implementation of deterministic finite automatons (DFAs). A minimization algorithm is presented in this paper that consists of two main phases. In the first phase, the backward depth information is built, and the state set of the DFA is partitioned into many blocks. In the second phase, the state set is refined using a hash table. The minimization algorithm has a lower time complexity O(n) than a naive comparison of transitions O(n(2)). Few states need to be refined by the hash table, because most states have been partitioned by the backward depth information in the coarse partition. This method achieves greater generality than previous methods because building the backward depth information is independent of the topological complexity of the DFA. The proposed algorithm can be applied not only to the minimization of acyclic automata or simple cyclic automata, but also to automata with high topological complexity. Overall, the proposal has three advantages: lower time complexity, greater generality, and scalability. A comparison to Hopcroft’s algorithm demonstrates experimentally that the algorithm runs faster than traditional algorithms. |
format | Online Article Text |
id | pubmed-5091862 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2016 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-50918622016-11-15 Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information Liu, Desheng Huang, Zhiping Zhang, Yimeng Guo, Xiaojun Su, Shaojing PLoS One Research Article Obtaining a minimal automaton is a fundamental issue in the theory and practical implementation of deterministic finite automatons (DFAs). A minimization algorithm is presented in this paper that consists of two main phases. In the first phase, the backward depth information is built, and the state set of the DFA is partitioned into many blocks. In the second phase, the state set is refined using a hash table. The minimization algorithm has a lower time complexity O(n) than a naive comparison of transitions O(n(2)). Few states need to be refined by the hash table, because most states have been partitioned by the backward depth information in the coarse partition. This method achieves greater generality than previous methods because building the backward depth information is independent of the topological complexity of the DFA. The proposed algorithm can be applied not only to the minimization of acyclic automata or simple cyclic automata, but also to automata with high topological complexity. Overall, the proposal has three advantages: lower time complexity, greater generality, and scalability. A comparison to Hopcroft’s algorithm demonstrates experimentally that the algorithm runs faster than traditional algorithms. Public Library of Science 2016-11-02 /pmc/articles/PMC5091862/ /pubmed/27806102 http://dx.doi.org/10.1371/journal.pone.0165864 Text en © 2016 Liu et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Liu, Desheng Huang, Zhiping Zhang, Yimeng Guo, Xiaojun Su, Shaojing Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title | Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title_full | Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title_fullStr | Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title_full_unstemmed | Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title_short | Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information |
title_sort | efficient deterministic finite automata minimization based on backward depth information |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5091862/ https://www.ncbi.nlm.nih.gov/pubmed/27806102 http://dx.doi.org/10.1371/journal.pone.0165864 |
work_keys_str_mv | AT liudesheng efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation AT huangzhiping efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation AT zhangyimeng efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation AT guoxiaojun efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation AT sushaojing efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation |