Abstract

A predecessor (successor) search finds the largest element x−x^- smaller than the input string xx (the smallest element x+x^+ larger than or equal to xx, respectively) out of a given set SS; in this paper, we consider the static case (i.e., SS is fixed and does not change over time) and assume that the nn elements of SS are available for inspection. We present a number of algorithms that, with a small additional index (usually of O(n log w) bits, where ww 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 xx and x±x^\pm: it is especially efficient when the input xx is either very close to or very far from x−x^- or x+x^+; our second result depends on some global notion of distance in the set SS, and is fast when the elements of SS are more or less equally spaced in the universe; finally, for our third result we rely on a finger (i.e., an element of SS) to improve upon the first one; its running time depends on the distance between the input and the finger.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.