Computer Science > Data Structures and Algorithms
[Submitted on 18 Jul 2012 (v1), revised 25 Sep 2012 (this version, v2), latest version 23 May 2016 (v3)]
Title:The Space Complexity of 2-Dimensional Approximate Range Counting
View PDFAbstract:We study the problem of 2-dimensional orthogonal range counting with additive error. Given a set $P$ of $n$ points drawn from an $n\times n$ grid and an error parameter $\eps$, the goal is to build a data structure, such that for any orthogonal range $R$, the data structure can return the number of points in $P\cap R$ with additive error $\eps n$. A well-known solution for this problem is the {\em $\eps$-approximation}. Informally speaking, an $\eps$-approximation of $P$ is a subset $A\subseteq P$ that allows us to estimate the number of points in $P\cap R$ by counting the number of points in $A\cap R$. It is known that an $\eps$-approximation of size $O(\frac{1}{\eps} \log^{2.5} \frac{1}{\eps})$ exists for any $P$ with respect to orthogonal ranges, and the best lower bound is $\Omega(\frac{1}{\eps} \log \frac{1}{\eps})$.
The $\eps$-approximation is a rather restricted data structure, as we are not allowed to store any information other than the coordinates of a subset of points in $P$. In this paper, we explore what can be achieved without any restriction on the data structure. We first describe a data structure that uses $O(\frac{1}{\eps} \log \frac{1} {\eps} \log\log \frac{1}{\eps} \log n)$ bits that answers queries with error $\eps n$. We then prove a lower bound that any data structure that answers queries with error $O(\log n)$ must use $\Omega(n\log n)$ bits. This lower bound has two consequences: 1) answering queries with error $O(\log n)$ is as hard as answering the queries exactly; and 2) our upper bound cannot be improved in general by more than an $O(\log \log \frac{1}{\eps})$ factor.
Submission history
From: Zhewei Wei [view email][v1] Wed, 18 Jul 2012 14:25:56 UTC (224 KB)
[v2] Tue, 25 Sep 2012 12:13:49 UTC (220 KB)
[v3] Mon, 23 May 2016 02:38:05 UTC (246 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.