EFFICIENT CONSTRUCTIONS OF TEST SETS FOR REGULAR AND CONTEXT-FREE LANGUAGES

Citation
J. Karhumaki et al., EFFICIENT CONSTRUCTIONS OF TEST SETS FOR REGULAR AND CONTEXT-FREE LANGUAGES, Theoretical computer science, 116(2), 1993, pp. 305-316
Citations number
16
Categorie Soggetti
Computer Sciences","Computer Applications & Cybernetics",Mathematics
ISSN journal
03043975
Volume
116
Issue
2
Year of publication
1993
Pages
305 - 316
Database
ISI
SICI code
0304-3975(1993)116:2<305:ECOTSF>2.0.ZU;2-8
Abstract
We present a simple construction of linear size test sets for regular languages and of single exponential test sets for context-free languag es. In the case of regular sets the size of our test set is exactly th e number of transitions of the automaton. This improves the best-known upper bounds: exponential for regular and doubly exponential for cont ext-free languages. We give also an O(n log n) time algorithm for the morphism equivalence and an O(n3 log n) time algorithm to test the gsm equivalence on a regular language. An O(n2 log n) time algorithm is g iven to test the equivalence of two deterministic gsm's as well as tha t of two deterministic finite transducers.