pith. sign in

arxiv: 1209.5441 · v1 · pith:FU3WYA2Inew · submitted 2012-09-24 · 💻 cs.DS

Predecessor search with distance-sensitive query time

classification 💻 cs.DS
keywords timedistancedependselementinputpredecessorresultelements
0
0 comments X
read the original abstract

A predecessor (successor) search finds the largest element $x^-$ smaller than the input string $x$ (the smallest element $x^+$ larger than or equal to $x$, respectively) out of a given set $S$; in this paper, we consider the static case (i.e., $S$ is fixed and does not change over time) and assume that the $n$ elements of $S$ are available for inspection. We present a number of algorithms that, with a small additional index (usually of O(n log w) bits, where $w$ is the string length), can answer predecessor/successor queries quickly and with time bounds that depend on different kinds of distance, improving significantly several results that appeared in the recent literature. Intuitively, our first result has a running time that depends on the distance between $x$ and $x^\pm$: it is especially efficient when the input $x$ is either very close to or very far from $x^-$ or $x^+$; our second result depends on some global notion of distance in the set $S$, and is fast when the elements of $S$ are more or less equally spaced in the universe; finally, for our third result we rely on a finger (i.e., an element of $S$) to improve upon the first one; its running time depends on the distance between the input and the finger.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Random Access in Grammar-Compressed Strings: Optimal Trade-Offs in Almost All Parameter Regimes

    cs.DS 2026-02 accept novelty 8.0

    A general space-query time trade-off for random access on grammar-compressed strings that is tight in almost all regimes, with an unconditional matching lower bound.