Compressed Structures for Partial Derivative Automata Constructions
The partial derivative automaton ([Formula: see text]) is an elegant simulation of a regular expression. Although it is, in general, smaller than the position automaton ([Formula: see text]), the algorithms that build [Formula: see text] in quadratic worst-case time first compute [Formula: see text]. Asymptotically, and on average for the uniform distribution, the size of [Formula: see text] is half the size of [Formula: see text], being both linear on the size of the expression. We address the construction of [Formula: see text] efficiently, on average, avoiding the computation of [Formula: see text]. The expression and the set of its partial derivatives are represented by a directed acyclic graph with shared common subexpressions. We develop an algorithm for building [Formula: see text]s from expressions in strong star normal form of size [Formula: see text] that runs, on average, in time that asymptotically behaves as [Formula: see text], and space as [Formula: see text]. Empirical results corroborate its good practical performance.
Authors
- Stavros Konstantinidis (ORCID: https://orcid.org/0000-0002-6628-067X)
- Nelma Moreira (ORCID: https://orcid.org/0000-0003-0861-0105)
- António Machiavelo (ORCID: https://orcid.org/0000-0002-7595-7275)
- Rogério Reis (ORCID: https://orcid.org/0000-0001-9668-0917)
Institutions
- Universidade do Porto (PT)
- Saint Mary's University (CA)
Publication Details
- Journal
- International Journal of Foundations of Computer Science
- Published
- 2024-12-23
- DOI
- https://doi.org/10.1142/s0129054124420061
- Primary Topic
- semigroups and automata theory
- Type
- article
- Field-Weighted Citation Impact
- 0.00