# Compressing and querying integer dictionaries under linearities and repetitions

### Abstract

We revisit the fundamental problem of compressing an integer dictionary that supports efficient $\mathsf{rank}$ and $\mathsf{select}$ operations by exploiting simultaneously two kinds of regularities arising in real data: repetitiveness and approximate linearity. We attack this problem by proposing two novel compressed indexing approaches that extend the classic Lempel-Ziv compression scheme and the more recent block tree data structure with new algorithms and data structures that allow them to also capture regularities in terms of the approximate linearity in the data. Finally, we corroborate these theoretical results with a {wide set of experiments on real and synthetic datasets, which allow us to show that our approaches achieve new interesting space-time trade-offs that characterise them as more robust in most practical scenarios compared to the known data structures that exploit only one of the two regularities.

Type
Publication
IEEE Access
##### Paolo Ferragina
###### Full professor

Professor of Algorithms and PI of the project

##### Giovanni Manzini
###### Full professor

Professor of Computer Science at the University of Eastern Piedmont

##### Giorgio Vinciguerra
###### Postdoc

Postdoc in Computer Science