First-order queries on structures of bounded degree are computable with constant delay
First-order queries on structures of bounded degree are computable with constant delay
复制标题
有界度结构的一阶查询可以恒定延迟计算
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
E. Grandjean
中科院分区:
文献类型:
--
作者:
Arnaud Durand;E. Grandjean
A relational structure is <i>d</i>-degree-bounded, for some integer <i>d</i>, if each element of the domain belongs to at most <i>d</i> tuples. In this paper, we revisit the complexity of the evaluation problem of not necessarily Boolean first-order (<b>FO</b>) queries over <i>d</i>-degree-bounded structures. Query evaluation is considered here as a dynamical process. We prove that any <b>FO</b> query on <i>d</i>-degree-bounded structures belongs to the complexity class constant-Delay<inf><i>lin</i></inf>, that is, can be computed by an algorithm that has two separate parts: it has a precomputation step of time linear in the size of the structure and then, it outputs all solutions (i.e., tuples that satisfy the formula) one by one with a constant delay (i.e., depending on the size of the formula only) between each. Seen as a global process, this implies that queries on <i>d</i>-degree-bounded structures can be evaluated in total time <i>f</i>(|ϕ|).(|<i>S</i>| + |ϕ(<i>S</i>)|) and space <i>g</i>(|ϕ|).|<i>S</i>| where <i>S</i> is the structure, ϕ is the formula, ϕ(<i>S</i>) is the result of the query and <i>f</i>, <i>g</i> are some fixed functions.
Among other things, our results generalize a result of Seese on the data complexity of the model-checking problem for <i>d</i>-degree-bounded structures. Besides, the originality of our approach compared to related results is that it does not rely on the Hanf's model-theoretic technique and is simple and informative since it essentially rests on a quantifier elimination method.