Space Efficient Two-Dimensional Orthogonal Colored Range Counting

07/06/2021
by   Younan Gao, et al.
0

In the two-dimensional orthogonal colored range counting problem, we preprocess a set, P, of n colored points on the plane, such that given an orthogonal query rectangle, the number of distinct colors of the points contained in this rectangle can be computed efficiently. For this problem, we design three new solutions, and the bounds of each can be expressed in some form of time-space tradeoff. By setting appropriate parameter values for these solutions, we can achieve new specific results with (the space are in words and ϵ is an arbitrary constant in (0,1)): ** O(n^3 n) space and O(√(n)^5/2 n n) query time; ** O(n^2 n) space and O(√(n)^4+ϵ n) query time; ** O(n^2 n/ n) space and O(√(n)^5+ϵ n) query time; ** O(n n) space and O(n^1/2+ϵ) query time. A known conditional lower bound to this problem based on Boolean matrix multiplication gives some evidence on the difficulty of achieving near-linear space solutions with query time better than √(n) by more than a polylogarithmic factor using purely combinatorial approaches. Thus the time and space bounds in all these results are efficient. Previously, among solutions with similar query times, the most space-efficient solution uses O(n^4 n) space to answer queries in O(√(n)^8 n) time (SIAM. J. Comp. 2008). Thus the new results listed above all achieve improvements in space efficiency, while all but the last result achieve speed-up in query time as well.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/07/2021

Space-Efficient Fault-Tolerant Diameter Oracles

We design f-edge fault-tolerant diameter oracles (f-FDOs). We preprocess...
research
03/25/2020

Further Results on Colored Range Searching

We present a number of new results about range searching for colored (or...
research
10/02/2019

Path and Ancestor Queries on Trees with Multidimensional Weight Vectors

We consider an ordinal tree T on n nodes, with each node assigned a d-...
research
07/25/2019

Enumerating Range Modes

We consider the range mode problem where given a sequence and a query ra...
research
11/08/2021

Time- and Space-Efficient Regular Path Queries on Graphs

We introduce a time- and space-efficient technique to solve regularpath ...
research
02/03/2019

A Faster FPTAS for Knapsack Problem With Cardinality Constraint

We study the K-item knapsack problem (, 1.5-dimensional KP), which is a ...
research
10/10/2017

Improved Complexity Bounds for Counting Points on Hyperelliptic Curves

We present a probabilistic Las Vegas algorithm for computing the local z...

Please sign up or login with your details

Forgot password? Click here to reset