On Strictly Output-Sensitive Color Frequency Reporting

Files

Access status: Embargo until 2026-08-13 , 978-3-032-17801-5_18.pdf (497.51 KB)

Publication date

2026-02-13

Authors

Glazenburg, Erwin
Staals, F.ISNI 0000000393123300

Editors

Kozik, Jakub
Wolff, Alexander

Advisors

Supervisors

Document Type

Part of book

License

taverne

Abstract

Given a set of n colored points P⊂Rd we wish to store P such that, given some query region Q, we can efficiently report the colors of the points appearing in the query region, along with their frequencies. This is the color frequency reporting problem. We study the case where query regions Q are axis-aligned boxes or dominance ranges. If Q contains k colors, the main goal is to achieve “strictly output-sensitive” query time O(f(n)+k). We show that, for every s∈{2,⋯,n}, there exists a simple O(nslogsn)-size data structure for points in R2 that allows frequency reporting queries in O(logn+klogsn) time. Furthermore, we give a lower bound for the weighted version of the problem in the arithmetic model, proving that with O(m) space one can not achieve query times better than Ωϕlog(n/ϕ)log(2m/n), where ϕ is the number of possible colors. This means that our data structure is near-optimal. We extend these results to higher dimensions as well. Finally, we give an O(n1+ε+mlogn+K)-time algorithm that can answer m dominance queries R2 with total output complexity K, while using only linear working space.

Keywords

Data structure, Lower bound, Range Searching, Taverne, Theoretical Computer Science, General Computer Science

Citation

Glazenburg, E & Staals, F 2026, On Strictly Output-Sensitive Color Frequency Reporting. in J Kozik & A Wolff (eds), SOFSEM 2026 : Theory and Practice of Computer Science - 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026, Proceedings. Lecture Notes in Computer Science, vol. 16448 LNCS, Springer, pp. 246-259, 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026, Krakow, Poland, 9/02/26. https://doi.org/10.1007/978-3-032-17801-5_18, conference