Paper record
W2053550438Adaptive set intersections, unions, and differences
Erik D. Demaine, Alejandro López-Ortíz, J. Ian Munro
- Year
- 2000
- Venue
- Symposium on Discrete Algorithms
- References
- 7
- Cited by
- 215
Details and counts from OpenAlex.
Abstract
Abstract 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.