4 years ago

Further Results on Colored Range Searching. (arXiv:2003.11604v1 [cs.DS])

Timothy M. Chan, Qizheng He, Yakov Nekrich

We present a number of new results about range searching for colored (or "categorical") data:

1. For a set of colored points in three dimensions, we describe randomized data structures with space that can report the distinct colors in any query orthogonal range (axis-aligned box) in expected time, where is the number of distinct colors in the range, assuming that coordinates are in . Previous data structures require 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 expected query time. Previous data structures require query time.

3. For a set of colored points in two dimensions, we describe a data structure with 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 , where is the number of distinct colors in the range. Naively performing uncolored range counting queries would require 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.

Publisher URL: http://arxiv.org/abs/2003.11604

DOI: arXiv:2003.11604v1

You might also like
Discover & Discuss Important Research

Keeping up-to-date with research can feel impossible, with papers being published faster than you'll ever be able to read them. That's where Researcher comes in: we're simplifying discovery and making important discussions happen. With over 19,000 sources, including peer-reviewed journals, preprints, blogs, universities, podcasts and Live events across 10 research areas, you'll never miss what's important to you. It's like social media, but better. Oh, and we should mention - it's free.

  • Download from Google Play
  • Download from App Store
  • Download from AppInChina

Researcher displays publicly available abstracts and doesn’t host any full article content. If the content is open access, we will direct clicks from the abstracts to the publisher website and display the PDF copy on our platform. Clicks to view the full text will be directed to the publisher website, where only users with subscriptions or access through their institution are able to view the full article.