First-order queries on structures of bounded degree are computable with constant delay. Durand, A. & Grandjean, E. ACM Transactions on Computational Logic, 8(4):18, ACM, August, 2005.
First-order queries on structures of bounded degree are computable with constant delay [link]Paper  doi  abstract   bibtex   
A bounded degree structure is either a relational structure all of whose relations are of bounded degree or a functional structure involving bijective functions only. In this paper, we revisit the complexity of the evaluation problem of not necessarily Boolean first-order queries over structures of bounded degree. Query evaluation is considered here as a dynamical process. We prove that any query on bounded degree structures is \$\backslash constantdelaylin\$, i.e., can be computed by an algorithm that has two separate parts: it has a precomputation step of linear time in the size of the structure and then, it outputs all tuples one by one with a constant (i.e. depending on the size of the formula only) delay between each. Seen as a global process, this implies that queries on bounded structures can be evaluated in total time \$O(f(|\backslash phi|).(|\backslash calS|+|\backslash phi(\backslash calS)|))\$ and space \$O(f(|\backslash phi|).|\backslash calS|)\$ where \$\backslash calS\$ is the structure, \$\backslash phi\$ is the formula, \$\backslash phi(\backslash calS)\$ is the result of the query and \$f\$ is some function. Among other things, our results generalize a result of $\backslash$cite\Seese-96\ on the data complexity of the model-checking problem for bounded degree structures. Besides, the originality of our approach compared to that $\backslash$cite\Seese-96\ and comparable results is that it does not rely on the Hanf's model-theoretic technic (see $\backslash$cite\Hanf-65\) and is completely effective.
@article{ Durand2007,
  abstract = {A bounded degree structure is either a relational structure all of whose relations are of bounded degree or a functional structure involving bijective functions only. In this paper, we revisit the complexity of the evaluation problem of not necessarily Boolean first-order queries over structures of bounded degree. Query evaluation is considered here as a dynamical process. We prove that any query on bounded degree structures is \$\backslash constantdelaylin\$, i.e., can be computed by an algorithm that has two separate parts: it has a precomputation step of linear time in the size of the structure and then, it outputs all tuples one by one with a constant (i.e. depending on the size of the formula only) delay between each. Seen as a global process, this implies that queries on bounded structures can be evaluated in total time \$O(f(|\backslash phi|).(|\backslash calS|+|\backslash phi(\backslash calS)|))\$ and space \$O(f(|\backslash phi|).|\backslash calS|)\$ where \$\backslash calS\$ is the structure, \$\backslash phi\$ is the formula, \$\backslash phi(\backslash calS)\$ is the result of the query and \$f\$ is some function. Among other things, our results generalize a result of $\backslash$cite\{Seese-96\} on the data complexity of the model-checking problem for bounded degree structures. Besides, the originality of our approach compared to that $\backslash$cite\{Seese-96\} and comparable results is that it does not rely on the Hanf's model-theoretic technic (see $\backslash$cite\{Hanf-65\}) and is completely effective.},
  archiveprefix = {arXiv},
  arxivid = {cs/0507020},
  author = {Durand, Arnaud and Grandjean, Etienne},
  doi = {10.1145/1276920.1276923},
  eprint = {0507020},
  file = {:Users/KunihiroWASA/Dropbox/paper/2005/Durand, Grandjean, First-order queries on structures of bounded degree are computable with constant delay, 2005.pdf:pdf},
  issn = {15293785},
  journal = {ACM Transactions on Computational Logic},
  keywords = {Computational complexity,enumeration problems,first-order logic},
  month = {August},
  number = {4},
  pages = {18},
  primaryclass = {cs},
  publisher = {ACM},
  title = {{First-order queries on structures of bounded degree are computable with constant delay}},
  url = {http://dl.acm.org/citation.cfm?id=1276920.1276923 http://arxiv.org/abs/cs/0507020},
  volume = {8},
  year = {2005}
}

Downloads: 0