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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Compressed Structures for Partial Derivative Automata Constructions

Stavros Konstantinidis, Nelma Moreira, António Machiavelo, Rogério Reis
International Journal of Foundations of Computer Science
semigroups and automata theory
article

Compressed Structures for Partial Derivative Automata Constructions

Stavros Konstantinidis, Nelma Moreira, António Machiavelo, Rogério Reis
article en

Abstract

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.

International Journal of Foundations of Computer Science
Universidade do Porto (PT), Saint Mary's University (CA)
Openalex Percentile: Top 72%
semigroups and automata theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.