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.
| Original language | English |
|---|---|
| Title of host publication | SOFSEM 2026 |
| Subtitle of host publication | Theory and Practice of Computer Science - 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026, Proceedings |
| Editors | Jakub Kozik, Alexander Wolff |
| Publisher | Springer |
| Pages | 246-259 |
| Number of pages | 14 |
| ISBN (Print) | 9783032178008 |
| DOIs | |
| Publication status | Published - 13 Feb 2026 |
| Event | 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026 - Krakow, Poland Duration: 9 Feb 2026 → 13 Feb 2026 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Volume | 16448 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026 |
|---|---|
| Country/Territory | Poland |
| City | Krakow |
| Period | 9/02/26 → 13/02/26 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Keywords
- Data structure
- Lower bound
- Range Searching
Fingerprint
Dive into the research topics of 'On Strictly Output-Sensitive Color Frequency Reporting'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver