Further Results on Colored Range Searching

03/25/2020
by   Timothy M. Chan, et al.
0

We present a number of new results about range searching for colored (or "categorical") data: 1. For a set of n colored points in three dimensions, we describe randomized data structures with O(n polylogn) space that can report the distinct colors in any query orthogonal range (axis-aligned box) in O(k polyloglog n) expected time, where k is the number of distinct colors in the range, assuming that coordinates are in {1,…,n}. Previous data structures require O(log n/loglog n + k) query time. Our result also implies improvements in higher constant dimensions. 2. Our data structures can be adapted to halfspace ranges in three dimensions (or circular ranges in two dimensions), achieving O(klog n) expected query time. Previous data structures require O(klog^2n) query time. 3. For a set of n colored points in two dimensions, we describe a data structure with O(n polylogn) space that can answer colored "type-2" range counting queries: report the number of occurrences of every distinct color in a query orthogonal range. The query time is O(log n/loglog n + kloglog n), where k is the number of distinct colors in the range. Naively performing k uncolored range counting queries would require O(klog n/loglog n) time. Our data structures are designed using a variety of techniques, including colored variants of randomized incremental construction (which may be of independent interest), colored variants of shallow cuttings, and bit-packing tricks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/18/2022

Simplex Range Searching Revisited: How to Shave Logs in Multi-Level Data Structures

We revisit the classic problem of simplex range searching and related pr...
research
10/11/2022

Hierarchical Categories in Colored Searching

In colored range counting (CRC), the input is a set of points where each...
research
03/11/2018

Approximate Range Queries for Clustering

We study the approximate range searching for three variants of the clust...
research
07/06/2021

Space Efficient Two-Dimensional Orthogonal Colored Range Counting

In the two-dimensional orthogonal colored range counting problem, we pre...
research
06/22/2020

Fast Preprocessing for Optimal Orthogonal Range Reporting and Range Successor with Applications to Text Indexing

Under the word RAM model, we design three data structures that can be co...
research
08/31/2023

UltraLogLog: A Practical and More Space-Efficient Alternative to HyperLogLog for Approximate Distinct Counting

Since its invention HyperLogLog has become the standard algorithm for ap...
research
05/03/2019

Range closest-pair search in higher dimensions

Range closest-pair (RCP) search is a range-search variant of the classic...

Please sign up or login with your details

Forgot password? Click here to reset