2000 · 157 citations · 5 references
Natural SciencesMathematicsDiscrete MathematicsSet TheoryAxiomatic Set TheoryCombinatorial Set TheoryDisjoint Set UnionIntersection DetectionSet OperationsSet SystemsDifference SetsIntersectionIntersection Theorems
Motivated by boolean queries in text database systems, we consider the problems of finding the intersection, union, or difference of a collection of sorted sets. While the worst-case complexity of these problems is straightforward, we consider a notion of complexity that depends on the particular instance. We develop the idea of a proof that a given set is indeed the correct answer. Proofs, and in particular shortest proofs, are characterized. We present adaptive algorithms that make no a priori assumptions about the problem instance, and show that their running times are within a constant factor of optimal with respect to a natural measure of the difficulty of an instance. In the process, we develop a framework for designing and evaluating adaptive algorithms in the comparison model. 1 Introduction and Overview Our work can be seen in the general context of performing searches quickly in a database or data warehousing environment. The broad issue is that of characterizing what type ...
5
Suffix Arrays: A New Method for On-Line String Searches
Udi Manber, Gene Myers · SIAM Journal on Computing · 1993 · 2K citations
Ricardo A. Ziviani Baeza-Yates · BMC Anesthesiology · 1989 · 46 citations
Alistair Moffat, Ola Petersson, Nicholas Wormald · Acta Informatica · 1998 · 11 citations