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...

Full description

Bibliographic Details
Main Authors: Desheng Liu, Zhiping Huang, Yimeng Zhang, Xiaojun Guo, Shaojing Su
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2016-01-01
Series:PLoS ONE
Online Access:http://europepmc.org/articles/PMC5091862?pdf=render
id doaj-58f265535d6b439b815ad170bc1b807f
record_format Article
spelling doaj-58f265535d6b439b815ad170bc1b807f2020-11-25T01:49:57ZengPublic Library of Science (PLoS)PLoS ONE1932-62032016-01-011111e016586410.1371/journal.pone.0165864Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information.Desheng LiuZhiping HuangYimeng ZhangXiaojun GuoShaojing SuObtaining 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(n2). 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.http://europepmc.org/articles/PMC5091862?pdf=render
collection DOAJ
language English
format Article
sources DOAJ
author Desheng Liu
Zhiping Huang
Yimeng Zhang
Xiaojun Guo
Shaojing Su
spellingShingle Desheng Liu
Zhiping Huang
Yimeng Zhang
Xiaojun Guo
Shaojing Su
Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information.
PLoS ONE
author_facet Desheng Liu
Zhiping Huang
Yimeng Zhang
Xiaojun Guo
Shaojing Su
author_sort Desheng Liu
title Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information.
title_short 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_sort efficient deterministic finite automata minimization based on backward depth information.
publisher Public Library of Science (PLoS)
series PLoS ONE
issn 1932-6203
publishDate 2016-01-01
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(n2). 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.
url http://europepmc.org/articles/PMC5091862?pdf=render
work_keys_str_mv AT deshengliu efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation
AT zhipinghuang efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation
AT yimengzhang efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation
AT xiaojunguo efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation
AT shaojingsu efficientdeterministicfiniteautomataminimizationbasedonbackwarddepthinformation
_version_ 1725003819512758272