Copyright © 2003 Elsevier Science (USA). All rights reserved.
Robbers, marshals, and guards: game theoretic and logical characterizations of hypertree width*1
Received 24 September 2001;
References and further reading may be available for this article. To view references and further reading you must purchase this article.
Abstract
In a previous paper (J. Comput. System Sci. 64 (2002) 519), the authors introduced the notion of hypertree decomposition and the corresponding concept of hypertree width and showed that the conjunctive queries whose hypergraphs have bounded hypertree width can be evaluated in polynomial time. Bounded hypertree width generalizes the notions of acyclicity and bounded treewidth and corresponds to larger classes of tractable queries. In the present paper, we provide natural characterizations of hypergraphs and queries having bounded hypertree width in terms of game-theory and logic. First we define the Robber and Marshals game, and prove that a hypergraph H has hypertree width at most k if and only if k marshals have a winning strategy on H, allowing them to trap a robber who moves along the hyperedges. This game is akin the well-known Robber and Cops game (which characterizes bounded treewidth), except that marshals are more powerful than cops: They can control entire hyperedges instead of just vertices. Kolaitis and Vardi (J. Comput. System Sci. 61 (2000) 302) recently gave an elegant characterization of the conjunctive queries having treewidth <k in terms of the k-variable fragment of a certain logic L (=existential-conjunctive fragment of positive FO). We use the Robber and Marshals game to derive a surprisingly simple and equally elegant characterization of the class HW[k] of queries of hypertree width at most k in terms of guarded logic. In particular, we show that HW[k]=GFk(L), where GFk(L) denotes the k-guarded fragment of L. In this fragment, conjunctions of k atoms rather than just single atoms are allowed to act as guards. Note that, for the particular case k=1, our results provide new characterizations of the class of acyclic queries. We extend the notion of bounded hypertree width to nonrecursive stratified Datalog and show that the k-guarded fragment GFk(FO) of first-order logic has the same expressive power as nonrecursive stratified Datalog of hypertree width at most k.
Article Outline
- 1. Introduction and overview of results
- Game theoretic characterization of treewidth: the robber and cops game [28]
- Logical characterization of treewidth
- Game theoretic characterization of hypertree width: the robber and marshals game
- Logical characterization of hypertree width
- Generalization
- 2. Preliminaries and basic definitions
- 3. The robber and marshals game
- 4. Logical characterization
- 5. On K-guarded first-order queries and datalog
- 6. Conclusion and further research
- Acknowledgements
- Appendix. Compact vs general strategies
- References
- Further Reading







E-mail Article
Add to my Quick Links

Cited By in Scopus (14)






