History

Please fill in your query. A complete syntax description you will find on the General Help page.
The average transition complexity of Glushkov and partial derivative automata. (English)
Mauri, Giancarlo (ed.) et al., Developments in language theory. 15th international conference, DLT 2011, Milan, Italy, July 19‒22, 2011. Proceedings. Berlin: Springer (ISBN 978-3-642-22320-4/pbk). Lecture Notes in Computer Science 6795, 93-104 (2011).
Summary: In this paper, the relation between the Glushkov automaton ($\mathcal{A}_{\mathrm{pos}}$) and the partial derivative automaton ($\mathcal{A}_{\mathrm{pd}}$) of a given regular expression, in terms of transition complexity, is studied. The average transition complexity of $\mathcal{A}_{\mathrm{pos}}$ 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 $\mathcal{A}_{\mathrm{pos}}$. Here we present a new quadratic construction of $\mathcal{A}_{\mathrm{pos}}$ 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 $\mathcal{A}_{\mathrm{pd}}$ to the number of states of $\mathcal{A}_{\mathrm{pos}}$, which is about $\frac{1}{2}$ for large alphabet sizes. Here we show how to obtain an upper bound for the number of transitions in $\mathcal{A}_{\mathrm{pd}}$, which we then use to get an average case approximation. Some experimental results are presented that illustrate the quality of our estimate.