Encoding two-dimensional range top-k queries revisited

09/19/2018
by   Seungbum Jo, et al.
0

We consider the problem of encoding two-dimensional arrays, whose elements come from a total order, for answering top-k queries. The aim is to obtain encodings that use space close to the information-theoretic lower bound, which can be constructed efficiently. For 2 × n arrays, we first give upper and lower bounds on space for answering sorted and unsorted 3-sided top-k queries. For m × n arrays, with m < n and k < mn, we obtain (m(k+1)n n+4nm(m-1)+o(n))-bit encoding for answering sorted 4-sided top-k queries. This improves the (O(mnn),m^2(k+1)n n +mm+o(n))-bit encoding of Jo et al. [CPM, 2016] when m = o(n). This is a consequence of a new encoding that encodes a 2 × n array to support sorted 4-sided top-k queries on it using an additional 4n bits, in addition to the encodings to support the top-k queries on individual rows. This new encoding is a non-trivial generalization of the encoding of Jo et al. [CPM, 2016] that supports sorted 4-sided top-2 queries on it using an additional 3n bits. We also give almost optimal space encodings for 3-sided top-k queries, and show lower bounds on encodings for 3-sided and 4-sided top-k queries.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/29/2017

Improved Bounds for Testing Forbidden Order Patterns

A sequence f{1,...,n}→R contains a permutation π of length k if there ex...
research
08/31/2022

Space-efficient data structure for next/previous larger/smaller value queries

Given an array of size n from a total order, we consider the problem of ...
research
05/04/2023

Testing Convexity of Discrete Sets in High Dimensions

We study the problem of testing whether an unknown set S in n dimensions...
research
03/05/2018

Optimal Substring-Equality Queries with Applications to Sparse Text Indexing

We consider the problem of encoding a string of length n from an alphabe...
research
06/08/2020

An Optimal Tester for k-Linear

A Boolean function f:{0,1}^n→{0,1} is k-linear if it returns the sum (ov...
research
09/12/2017

Skyline Queries in O(1) time?

The skyline of a set P of points (SKY(P)) consists of the "best" points ...
research
04/08/2022

Testing Positive Semidefiniteness Using Linear Measurements

We study the problem of testing whether a symmetric d × d input matrix A...

Please sign up or login with your details

Forgot password? Click here to reset