Lecture Notes in Computer Science, 2009, Volume 5642/2009, 94-104, DOI: 10.1007/978-3-642-02979-0_13

Compact Representation for Answer Sets of n-ary Regular Queries

Kazuhiro Inaba and Haruo Hosoya

View Related Documents

Abstract

An n-ary query over trees takes an input tree t and returns a set of n-tuples of the nodes of t. In this paper, a compact data structure is introduced for representing the answer sets of n-ary queries defined by tree automata. Despite that the number of the elements of the answer set can be as large as |t| n , our representation allows to store the set using only O(3 n |t|) space. Several basic operations on the sets are shown to be efficiently executable on the representation.

Fulltext Preview

Image of the first page of the fulltext document