Proceedings of the 38th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems 2019
DOI: 10.1145/3294052.3319702
|View full text |Cite
|
Sign up to set email alerts
|

Enumeration on Trees with Tractable Combined Complexity and Efficient Updates

Abstract: We give an algorithm to enumerate the results on trees of monadic second-order (MSO) queries represented by nondeterministic tree automata. After linear time preprocessing (in the input tree), we can enumerate answers with linear delay (in each answer). We allow updates on the tree to take place at any time, and we can then restart the enumeration after logarithmic time in the tree. Further, all our combined complexities are polynomial in the automaton.Our result follows our previous circuit-based enumeration … Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1

Citation Types

1
21
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
6
2
1

Relationship

4
5

Authors

Journals

citations
Cited by 22 publications
(22 citation statements)
references
References 29 publications
1
21
0
Order By: Relevance
“…Hence, also in the context of MSO enumeration, it is not known whether we can achieve linear preprocessing and constant delay in data complexity while remaining tractable in the (generally non-deterministic) automaton. The result that we show in the present paper implies that we can achieve this for MSO queries on words when all free variables are first-order, with the query being represented as a generally non-deterministic sequential VA, or as a sequential regex-formula with capture variables: note that an extension to trees is investigated in our follow-up work [5].…”
Section: Introductionmentioning
confidence: 62%
See 1 more Smart Citation
“…Hence, also in the context of MSO enumeration, it is not known whether we can achieve linear preprocessing and constant delay in data complexity while remaining tractable in the (generally non-deterministic) automaton. The result that we show in the present paper implies that we can achieve this for MSO queries on words when all free variables are first-order, with the query being represented as a generally non-deterministic sequential VA, or as a sequential regex-formula with capture variables: note that an extension to trees is investigated in our follow-up work [5].…”
Section: Introductionmentioning
confidence: 62%
“…Connection to circuits. We remark that our mapping DAG can be seen as a kind of Boolean circuit, and our enumeration algorithm on mapping DAGs can be connected to earlier work by some of the present authors on enumeration for Boolean circuits [2,5]. Specifically, a mapping DAG can be understood as describing a kind of binary decision diagram (BDD): these are special kind of Boolean circuits where each conjunction always involves a literal.…”
mentioning
confidence: 88%
“…A second question is to generalize our result from words to trees, but this is challenging: the run of a tree automaton is no longer linear in just one direction, so it is not easy to skip parts of the input similarly to the jump function of Section 5, or to combine computation that occurs in different branches. We believe that these difficulties can be solved and that a similar result can be shown for trees, but that the resulting algorithm is far more complex: this point, and the question of updates, are explored in our follow-up work [4].…”
Section: Discussionmentioning
confidence: 89%
“…Our study of enumeration for annotated grammars is also reminiscent of enumeration results for queries over trees expressed as tree automata. An algorithm for this was given by Bagan [8] with linear-time preprocessing and constant-delay in data complexity, for deterministic tree automata, and this was extended in [6] to nondeterministic automata. However, this is again more restricted: evaluating a tree automaton on a tree amounts to evaluating a visibly pushdown automaton over a string representation of the tree, which is again more restrictive than general context-free grammars.…”
Section: Introductionmentioning
confidence: 99%