English

Compressed Representation of Dynamic Binary Relations with Applications

Data Structures and Algorithms 2017-07-11 v1

Abstract

We introduce a dynamic data structure for the compact representation of binary relations RA×B\mathcal{R} \subseteq A \times B. The data structure is a dynamic variant of the k2^2-tree, a static compact representation that takes advantage of clustering in the binary relation to achieve compression. Our structure can efficiently check whether two objects (a,b)A×B(a,b) \in A \times B are related, and list the objects of BB related to some aAa \in A and vice versa. Additionally, our structure allows inserting and deleting pairs (a,b)(a,b) in the relation, as well as modifying the base sets AA and BB. We test our dynamic data structure in different contexts, including the representation of Web graphs and RDF databases. Our experiments show that our dynamic data structure achieves good compression ratios and fast query times, close to those of a static representation, while also providing efficient support for updates in the represented binary relation.

Keywords

Cite

@article{arxiv.1707.02769,
  title  = {Compressed Representation of Dynamic Binary Relations with Applications},
  author = {Nieves R. Brisaboa and Ana Cerdeira-Pena and Guillermo de Bernardo and Gonzalo Navarro},
  journal= {arXiv preprint arXiv:1707.02769},
  year   = {2017}
}

Comments

This research has received funding from the European Union's Horizon 2020 research and innovation programme under the Marie Sk{\l}odowska-Curie Actions H2020-MSCA-RISE-2015 BIRDS GA No. 690941, Information Systems (2017)

R2 v1 2026-06-22T20:42:14.880Z