ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
Discrete Applied Mathematics
Volume 134, Issues 1-3, 5 January 2004, Pages 317-337
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Article
Purchase PDF (397 K)

 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/S0166-218X(03)00299-3    How to Cite or Link Using DOI (Opens New Window)
Copyright © 2003 Elsevier B.V. All rights reserved.

A characterization of Thompson digraphs*1

Dora GiammarresiE-mail The Corresponding Author, a, Jean-Luc PontyE-mail The Corresponding Author, b, Derick WoodE-mail The Corresponding Author, c and Djelloul ZiadiE-mail The Corresponding Author, d

a Dipartimento di matematica, Universitá di Roma “Tor Vergata”, via della ricerca scientifica, 00133, Rome, Italy b 25 rue Philippe Lebon, BP 540, 76058, Le Havre Cedex, France c Department of Computer Science, Hong Kong University of Science & Technology, Clear Water Bay, Kowloon, Hong Kong, China d L.I.F.A.R. (Laboratoire d'Informatique), Université de Rouen, 76821, Mont-Saint-Aignan Cedex, France

Received 9 February 1999; 
revised 13 September 2002; 
accepted 7 February 2003. ;
Available online 25 July 2003.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

A finite-state machine is called a Thompson machine if it can be constructed from an empty-free regular expression using the construction of Thompson as modified by Hopcroft and Ullman. We call the underlying digraph of a Thompson machine a Thompson digraph. We characterize Thompson digraphs and we give an algorithm that generates an equivalent regular expression from a Thompson machine that has size linear in the total number of states and transitions. Although the algorithm is simple, it is novel in that the usual constructions of equivalent regular expressions from finite-state machines produce regular expressions that have size exponential in the size of the given machine, in the worst case. The algorithm provides a tentative first step in the construction of small expressions from finite-state machines.

Author Keywords: Regular expressions; Dyck strings; Thompson digraphs and machines

Article Outline

1. Introduction
2. Notation and terminology
3. Thompson machines and digraphs
4. The characterization theorem
5. Computational issues
5.1. Thompson dag recognition
5.2. Thompson digraph recognition
6. Regular expressions from Thompson machines
7. Concluding remarks
8. History
Acknowledgements
References










 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.