Enumeration on Trees with Tractable Combined Complexity and Efficient Updates
Enumeration on Trees with Tractable Combined Complexity and Efficient Updates
复制标题
具有易于处理的组合复杂性和高效更新的树枚举
DOI:
10.1145/3294052.3319702
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Matthias Niewerth
中科院分区:
文献类型:
--
作者:
Antoine Amarilli;P. Bourhis;S. Mengel;Matthias Niewerth
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 algorithms based on deterministic tree automata, and is also inspired by our earlier result on words and nondeterministic sequential extended variable-set automata in the context of document spanners. We extend these results and combine them with a recent tree balancing scheme by Niewerth, so that our enumeration structure supports updates to the underlying tree in logarithmic time (with leaf insertions, leaf deletions, and node relabelings). Our result implies that, for MSO queries with free first-order variables, we can enumerate the results with linear preprocessing and constant-delay and update the underlying tree in logarithmic time, which improves on several known results for words and trees. Building on lower bounds from data structure research, we also show unconditionally that up to a doubly logarithmic factor the update time of our algorithm is optimal. Thus, unlike other settings, there can be no algorithm with constant update time.
DOI:
10.1145/3232056
发表时间:
2017
期刊:
ACM Transactions on Database Systems (TODS)
影响因子:
--
作者:
Christoph Berkholz;Jens Keppeler;Nicole Schweikardt
通讯作者:
Nicole Schweikardt
DOI:
10.1145/2603088.2603137
发表时间:
2014
期刊:
Proceedings of the Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
影响因子:
--
作者:
Katja Losemann;Wim Martens
通讯作者:
Wim Martens