On the competitive theory and practice of online list accessing algorithms

Citation
R. Bachrach et al., On the competitive theory and practice of online list accessing algorithms, ALGORITHMIC, 32(2), 2002, pp. 201-246
Citations number
25
Categorie Soggetti
Engineering Mathematics
Journal title
ALGORITHMICA
ISSN journal
01784617 → ACNP
Volume
32
Issue
2
Year of publication
2002
Pages
201 - 246
Database
ISI
SICI code
0178-4617(200202)32:2<201:OTCTAP>2.0.ZU;2-B
Abstract
This paper concerns the online list accessing problem. In the first part of the paper we present two new families of list accessing algorithms. The fi rst family is of optimal, 2-competitive, deterministic online algorithms. T his family, called the MRI (MOVE-TO-RECENT-ITEM) family, includes as member s the well-known MOVE-TO-FRONT (MTF) algorithm and the recent, more "conser vative" algorithm TIMESTAMP due to Albers. So far MOVE-TO-FRONT and TIMESTA MP were the only algorithms known to be optimal in terms of their competiti ve ratio. This new family contains a sequence of algorithms {A(i)}(i greate r than or equal to1) where A(1) is equivalent to TIMESTAMP and the limit el ement A (oo) is MTF. Further, in this class, for each i, the algorithm A (i ) is more conservative than algorithm A (i + 1) in the sense that it is mor e reluctant to move an accessed item to the front, thus giving a gradual tr ansition from the conservative TIMESTAMP to the "reckless" MTF. The second new family, called the PRI (PASS-RECENT-ITEM) family, is also infinite and contains TIMESTAMP. We show that most algorithms in this family attain a co mpetitive ratio of 3. In the second, experimental, part of the paper we report the results of an extensive empirical study of the performances of a large set of online list accessing algorithms (including members of our MRI and PPI families). The algorithms' access cost performances were tested with respect to a number o f different request sequences. These include sequences of independent reque sts generated by probability distributions and sequences generated by Marko v sources to examine the influence of locality. It turns out that the degre e of locality has a considerable influence on the algorithms' absolute and relative. costs, as well as on their rankings. In another experiment we tes ted the algorithms' performances as data compressors in two variants of the compression scheme of Bentley et al. In both experiments, members of the M RI and PRI families were found to be among the best performing algorithms.