On Minimizing Cover Automata for Finite Languages in O(n log n) Time
نویسنده
چکیده
A deterministic finite automaton (DFA) A is called a cover automaton (DFCA) for a finite language L over some alphabet Σ if L = L(A) ∩ Σ≤l, with l being the length of some longest word in L. Thus a word w ∈ Σ∗ is in L if and only if |w| ≤ l and w ∈ L(A). The DFCA A is minimal if no DFCA for L has fewer states. In this paper, we present an algorithm which converts an n–state DFA for some finite language L into a corresponding minimal DFCA, using only O(n log n) time and O(n) space. The best previously known algorithm [2] requires O(n) time and space. Furthermore, the new algorithm can also be used to minimize any DFCA, where the best previous method [1] takes O(n) time and space.
منابع مشابه
A Time And Space Efficient Algorithm For Minimizing Cover Automata For Finite Languages
A deterministic finite automaton (DFA) A is called a cover automaton (DFCA) for a finite language L over some alphabet Σ if L = L(A) ∩ Σ≤l, with l being the length of some longest word in L. Thus a word w ∈ Σ∗ is in L if and only if |w| ≤ l and w ∈ L(A). The DFCA A is minimal if no DFCA for L has fewer states. In this paper, we present an algorithm which converts an n–state DFA for some finite ...
متن کاملAn O(n2) Algorithm for Constructing Minimal Cover Automata for Finite Languages
Cover automata were introduced in [1] as an efficient representation of finite languages. In [1], an algorithm was given to transform a DFA that accepts a finite language to a minimal deterministic finite cover automaton (DFCA) with the time complexity O(n), where n is the number of states of the given DFA. In this paper, we introduce a new efficient transformation algorithm with the time compl...
متن کاملOn the Hopcroft's minimization technique for DFA and DFCA
We show that the absolute worst case time complexity for Hopcroft’s minimization algorithm applied to unary languages is reached only for deterministic automata or cover automata following the structure of the de Bruijn words. A previous paper by Berstel and Carton gave the example of de Bruijn words as a language that requires O(n log n) steps in the case of deterministic automata by carefully...
متن کاملHyper-Minimizing States in a (Minimized) Deterministic Automaton
We improve a recent result [A. Badr: Hyper-Minimization in O(n). In Proc. CIAA, LNCS 5148, 2008] for hyper-minimized finite automata. Namely, we present an O(n log n) algorithm that computes for a given finite deterministic automaton (dfa) an almost equivalent dfa that is as small as possible—such an automaton is called hyper-minimal. Here two finite automata are almost equivalent if and only i...
متن کاملMinimizing NFA's and Regular Expressions
We show inapproximability results concerning minimization of nondeterministic finite automata (nfa’s) as well as regular expressions relative to given nfa’s, regular expressions or deterministic finite automata (dfa’s). We show that it is impossible to efficiently minimize a given nfa or regular expression with n states, transitions, resp. symbols within the factor o(n), unless P = PSPACE. Our ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002