Title
The average transition complexity of Glushkov and partial derivative automata
Abstract
In this paper, the relation between the Glushkov automaton (Apos) and the partial derivative automaton (Apd) of a given regular expression, in terms of transition complexity, is studied. The average transition complexity of Apos was proved by Nicaud to be linear in the size of the corresponding expression. This result was obtained using an upper bound of the number of transitions of Apos. Here we present a new quadratic construction of Apos that leads to a more elegant and straightforward implementation, and that allows the exact counting of the number of transitions. Based on that, a better estimation of the average size is presented. Asymptotically, and as the alphabet size grows, the number of transitions per state is on average 2. Broda et al. computed an upper bound for the ratio of the number of states of Apd to the number of states of Apos, which is about 1/2 for large alphabet sizes. Here we show how to obtain an upper bound for the number of transitions in Apd, which we then use to get an average case approximation. Some experimental results are presented that illustrate the quality of our estimate.
Year
DOI
Venue
2011
10.1007/978-3-642-22321-1_9
Developments in Language Theory
Keywords
Field
DocType
average transition complexity,alphabet size,large alphabet size,average case approximation,average size,transition complexity,regular expression,partial derivative automaton,corresponding expression,glushkov automaton
Discrete mathematics,Combinatorics,Regular expression,Upper and lower bounds,Automaton,Quadratic equation,Partial derivative,Mathematics,Alphabet
Conference
Citations 
PageRank 
References 
2
0.36
13
Authors
4
Name
Order
Citations
PageRank
Sabine Broda16413.83
António Machiavelo2458.82
Nelma Moreira318033.98
Rogério Reis414025.74