Jump to content

Query (complexity)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Creidieki (talk | contribs) at 17:40, 1 November 2006 (fix formatting of citation tags). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In descriptive complexity, a query is a mapping from structures of one vocabulary to structures of another vocabulary. Neil Immerman, in his book "Descriptive Complexity", "use[s] the concept of query as the fundamental paradigm of computation"[1].

Given vocabularies and , we define the set of structures on each language, and . A query is then any mapping

Computational complexity theory can then be phrased in terms of the power of the mathematical logic necessary to express a given query.

Order-independent queries

A query is order-independent if the ordering of objects in the structure does not affect the results of the query. In databases, these queries correspond to generic queries[2] . A query is order-indpendent iff for any isomorphic structures and .


References

  1. ^ Immerman, Neil (1999). Descriptive Complexity. New York: Springer-Verlag. p. 17. ISBN 0-387-98600-6.
  2. ^ Immerman, Neil (1999). Descriptive Complexity. New York: Springer-Verlag. p. 18. ISBN 0-387-98600-6.