PhD Seminar • Algorithms and Complexity: Succinct Color Searching in One Dimension Wednesday, April 4, 2018 — 1:30 PM EDT

Hicham El-Zein, PhD candidate
David R. Cheriton School of Computer Science

We present succinct data structures for one-dimensional color reporting and color counting problems. We are given a set of $n$ points with integer coordinates in the range $[1,m]$ and every point is assigned a color from the set $\{\,1,\ldots,\sigma\,\}$. A color reporting query asks for the list of distinct colors that occur in a query interval $[a,b]$ and a color counting query asks for the number of distinct colors in $[a,b]$.

We describe a succinct data structure that answers approximate color counting queries in $O(1)$ time and uses $\mathcal{B}(n,m) + O(n) + o(\mathcal{B}(n,m))$ bits, where $\mathcal{B}(n,m)$ is the minimum number of bits required to represent an arbitrary set of size $n$ from a universe of $m$ elements. Thus we show, somewhat counterintuitively, that it is not necessary to store colors of points in order to answer approximate color counting queries. In the special case when points are in the rank space (i.e., when $n=m$), our data structure needs only $O(n)$ bits. Also, we show that $\Omega(n)$ bits are necessary in that case.

Then we turn to succinct data structures for color reporting. We describe a data structure that uses $\mathcal{B}(n,m) + nH_d(S) + o(\mathcal{B}(n,m)) + o(n\lg\sigma)$ bits and answers queries in $O(k+1)$ time, where $k$ is the number of colors in the answer, and $nH_d(S)$ ($d=\log_{\sigma} n$) is the $d$-th order empirical entropy of the color sequence. Finally, we consider succinct color reporting under restricted updates.

Our dynamic data structure uses $nH_d(S)+o(n\lg\sigma)$ bits and supports queries in $O(k+1)$ time.

Location
DC - William G. Davis Computer Research Centre
1304
200 University Avenue West

Waterloo, ON N2L 3G1

December 2021

S M T W T F S
28
29
30
1
2
4
5
8
11
12
14
15
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
1. 2022 (21)
1. February (2)
2. January (19)
2. 2021 (210)
1. December (21)
2. November (13)
3. October (12)
4. September (21)
5. August (20)
6. July (17)
7. June (11)
8. May (16)
9. April (27)
10. March (20)
11. February (13)
12. January (19)
3. 2020 (217)
4. 2019 (255)
5. 2018 (217)
6. 2017 (36)
7. 2016 (21)
8. 2015 (36)
9. 2014 (33)
10. 2013 (23)
11. 2012 (4)
12. 2011 (1)
13. 2010 (1)
14. 2009 (1)
15. 2008 (1)