Dynamic and Multi-Functional Labeling Schemes
نویسندگان
چکیده
We investigate labeling schemes supporting adjacency, ancestry, sibling, and connectivity queries in forests. In the course of more than 20 years, the existence of logn + O(log log) labeling schemes supporting each of these functions was proven, with the most recent being ancestry [Fraigniaud and Korman, STOC ’10]. Several multi-functional labeling schemes also enjoy lower or upper bounds of logn+Ω(log logn) or logn + O(log log n) respectively. Notably an upper bound of logn + 5 log logn for adjacency+siblings and a lower bound of logn + log logn for each of the functions siblings, ancestry, and connectivity [Alstrup et al., SODA ’03]. We improve the constants hidden in the O-notation. In particular we show a logn + 2 log logn lower bound for connectivity+ancestry and connectivity+siblings, as well as an upper bound of logn+ 3 log logn+O(log log logn) for connectivity+adjacency+siblings by altering existing methods. In the context of dynamic labeling schemes it is known that ancestry requires Ω(n) bits [Cohen, et al. PODS ’02]. In contrast, we show upper and lower bounds on the label size for adjacency, siblings, and connectivity of 2 logn bits, and 3 logn to support all three functions. There exist efficient adjacency labeling schemes for planar, bounded treewidth, bounded arboricity and interval graphs. In a dynamic setting, we show a lower bound of Ω(n) for each of those families.
منابع مشابه
A Concise Labeling Scheme for XML Data
In this paper, we look at the problem of assigning labels to nodes of a dynamic XML tree such that the labels encode all ancestor-descendant relationships between the nodes and the document-order between the nodes. Such labeling facilitates efficient XML query processing. A number of labeling schemes have been designed for this task. These schemes can be broadly classified into (1) Static Label...
متن کاملAn Evaluation of Dynamic Labeling Schemes for Tree Networks
We present an implementation and evaluation based on simulation of dynamic labeling schemes for tree networks. Two algorithms are studied: a general scheme that converts static labeling schemes to dynamic, and a specialized dynamic distance labeling scheme. Our study shows that theoretical bounds only partially portray the performance of such dynamic labeling schemes in practice. First, we obse...
متن کاملEfficient Label Encoding for Range-Based Dynamic XML Labeling Schemes
Designing dynamic labeling schemes to support order-sensitive queries for XML documents has been recognized as an important research problem. In this work, we consider the problem of making range-based XML labeling schemes dynamic through the process of encoding. We point out the problems of existing encoding algorithms which include computational and memory inefficiencies. We introduce a novel...
متن کاملA Dynamic Labeling Scheme Using Vectors
The labeling problem of dynamic XML documents has received increasing research attention. When XML documents are subject to insertions and deletions of nodes, it is important to design a labeling scheme that efficiently facilitates updates as well as processing of XML queries. This paper proposes a novel encoding scheme, vector encoding which is orthogonal to existing labeling schemes and can c...
متن کاملDynamic Node Labeling Schemes for Xml Updates
Recent years have witnessed the rapid development of XML labeling schemes for the facilitation of XML query processing. Nonetheless, relabeling faces the daunting challenge due to space and time consumption whenever labels are inserted or deleted. In this paper, we review three XML labeling schemes that completely avoid relabeling and can re-use the deleted labels for encoding the new nodes. Af...
متن کامل