Skip to main navigation Skip to search Skip to main content

The range 1 query (R1Q) problem

  • Stony Brook University
  • Fudan University

Research output: Contribution to journalArticlepeer-review

Abstract

We define the range 1 query (R1Q) problem as follows. Given a d-dimensional (d≥1) input bit matrix A (consisting of 0's and 1's), preprocess A so that for any given region R of A, efficiently answer queries asking if R contains a 1 or not. We consider both orthogonal and non-orthogonal shapes for R including rectangles, axis-parallel right-triangles, certain types of polygons, axis-parallel right simplices and spheres. We provide space-efficient deterministic and randomized algorithms with constant query times (in constant dimensions) for solving the problem in the word-RAM model. The space usage in bits is sublinear, linear, or near linear in the size of A, depending on the algorithm.

Original languageEnglish
Pages (from-to)130-147
Number of pages18
JournalTheoretical Computer Science
Volume743
DOIs
StatePublished - Sep 26 2018

Keywords

  • Bit matrix
  • Circular
  • Emptiness query
  • Existential query
  • Non-orthogonal
  • Orthogonal
  • Polygonal
  • R1Q
  • Randomized
  • Range 1 query
  • Range emptiness
  • Range query
  • Rectangular
  • Simplicial
  • Spherical
  • Triangular

Fingerprint

Dive into the research topics of 'The range 1 query (R1Q) problem'. Together they form a unique fingerprint.

Cite this